org.mod4j.dsl.service.mm.ServiceDsl
Interface ServiceMethod

All Superinterfaces:
org.eclipse.emf.ecore.EObject, ModelElement, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
AssociationMethod, CustomMethod, SpecialMethod
All Known Implementing Classes:
AssociationMethodImpl, CustomMethodImpl, ServiceMethodImpl, SpecialMethodImpl

public interface ServiceMethod
extends ModelElement

A representation of the model object 'Service Method'.

The following features are supported:

See Also:
ServiceDslPackage.getServiceMethod()

Method Summary
 ServiceModel getModel()
          Returns the value of the 'Model' container reference.
 MethodType getType()
          Returns the value of the 'Type' attribute.
 void setModel(ServiceModel value)
          Sets the value of the 'Model' container reference.
 void setType(MethodType value)
          Sets the value of the 'Type' attribute.
 
Methods inherited from interface org.mod4j.dsl.service.mm.ServiceDsl.ModelElement
getDescription, getName, setDescription, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getType

MethodType getType()
Returns the value of the 'Type' attribute. The default value is "Custom". The literals are from the enumeration MethodType.

If the meaning of the 'Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Type' attribute.
See Also:
MethodType, setType(MethodType), ServiceDslPackage.getServiceMethod_Type()

setType

void setType(MethodType value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
MethodType, getType()

getModel

ServiceModel getModel()
Returns the value of the 'Model' container reference. It is bidirectional and its opposite is 'Methods'.

If the meaning of the 'Model' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Model' container reference.
See Also:
setModel(ServiceModel), ServiceDslPackage.getServiceMethod_Model(), ServiceModel.getMethods()

setModel

void setModel(ServiceModel value)
Sets the value of the 'Model' container reference.

Parameters:
value - the new value of the 'Model' container reference.
See Also:
getModel()


Copyright © 2010 Mod4j. All Rights Reserved.