Interface Operation
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IdentifiedElement
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
OperationImpl
public interface Operation extends IdentifiedElement
A representation of the model object 'Operation'.- See Also:
DeclarationPackage.getOperation()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAfter()
Returns the value of the 'After' attribute.String
getBefore()
Returns the value of the 'Before' attribute.Constraint
getConstraint(String name)
org.eclipse.emf.common.util.EList<Constraint>
getConstraints()
Returns the value of the 'Constraints' containment reference list.Class
getImplementation()
Returns the value of the 'Implementation' attribute.String
getLabel()
Returns the value of the 'Label' attribute.Library
getLibrary()
Returns the value of the 'Library' container reference.Parameter
getMainParameter()
Helper method to determine the main parameter of the operation, i.e.Parameter
getParameter(String name)
Helper method to determine the parameter of the operation with a certain nameorg.eclipse.emf.common.util.EList<Parameter>
getParameters()
Returns the value of the 'Parameters' containment reference list.boolean
isBreaking()
Returns the value of the 'Breaking' attribute.boolean
isDeprecated()
Returns the value of the 'Deprecated' attribute.boolean
refines()
void
setAfter(String value)
Sets the value of the 'After
' attribute.void
setBefore(String value)
Sets the value of the 'Before
' attribute.void
setBreaking(boolean value)
Sets the value of the 'Breaking
' attribute.void
setDeprecated(boolean value)
Sets the value of the 'Deprecated
' attribute.void
setImplementation(Class value)
Sets the value of the 'Implementation
' attribute.void
setLabel(String value)
Sets the value of the 'Label
' attribute.void
setLibrary(Library value)
Sets the value of the 'Library
' container reference.-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.edapt.declaration.IdentifiedElement
getDescription, getName, setDescription, setName
-
-
-
-
Method Detail
-
getLibrary
Library getLibrary()
Returns the value of the 'Library' container reference. It is bidirectional and its opposite is 'Operations
'.If the meaning of the 'Library' container reference isn't clear, there really should be more of a description here...
Library to which the operation belongs- Returns:
- the value of the 'Library' container reference.
- See Also:
setLibrary(Library)
,DeclarationPackage.getOperation_Library()
,Library.getOperations()
-
setLibrary
void setLibrary(Library value)
Sets the value of the 'Library
' container reference.- Parameters:
value
- the new value of the 'Library' container reference.- See Also:
getLibrary()
-
getParameters
org.eclipse.emf.common.util.EList<Parameter> getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of typeParameter
. It is bidirectional and its opposite is 'Operation
'. A list of parameters of the coupled evolution operations- Returns:
- the value of the 'Parameters' containment reference list.
- See Also:
DeclarationPackage.getOperation_Parameters()
,Parameter.getOperation()
-
getConstraints
org.eclipse.emf.common.util.EList<Constraint> getConstraints()
Returns the value of the 'Constraints' containment reference list. The list contents are of typeConstraint
. It is bidirectional and its opposite is 'Operation
'. A list of constraints restricting the executability of the coupled evolution operation- Returns:
- the value of the 'Constraints' containment reference list.
- See Also:
DeclarationPackage.getOperation_Constraints()
,Constraint.getOperation()
-
isDeprecated
boolean isDeprecated()
Returns the value of the 'Deprecated' attribute. The default value is"false"
.If the meaning of the 'Deprecated' attribute isn't clear, there really should be more of a description here...
Whether this operation should no longer be used- Returns:
- the value of the 'Deprecated' attribute.
- See Also:
setDeprecated(boolean)
,DeclarationPackage.getOperation_Deprecated()
-
setDeprecated
void setDeprecated(boolean value)
Sets the value of the 'Deprecated
' attribute.- Parameters:
value
- the new value of the 'Deprecated' attribute.- See Also:
isDeprecated()
-
getBefore
String getBefore()
Returns the value of the 'Before' attribute.If the meaning of the 'Before' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Before' attribute.
- See Also:
setBefore(String)
,DeclarationPackage.getOperation_Before()
-
setBefore
void setBefore(String value)
Sets the value of the 'Before
' attribute.- Parameters:
value
- the new value of the 'Before' attribute.- See Also:
getBefore()
-
getAfter
String getAfter()
Returns the value of the 'After' attribute.If the meaning of the 'After' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'After' attribute.
- See Also:
setAfter(String)
,DeclarationPackage.getOperation_After()
-
setAfter
void setAfter(String value)
Sets the value of the 'After
' attribute.- Parameters:
value
- the new value of the 'After' attribute.- See Also:
getAfter()
-
getImplementation
Class getImplementation()
Returns the value of the 'Implementation' attribute.If the meaning of the 'Implementation' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Implementation' attribute.
- See Also:
setImplementation(Class)
,DeclarationPackage.getOperation_Implementation()
-
setImplementation
void setImplementation(Class value)
Sets the value of the 'Implementation
' attribute.- Parameters:
value
- the new value of the 'Implementation' attribute.- See Also:
getImplementation()
-
getLabel
String getLabel()
Returns the value of the 'Label' attribute. Label for an element- Returns:
- the value of the 'Label' attribute.
- See Also:
setLabel(String)
,DeclarationPackage.getOperation_Label()
-
setLabel
void setLabel(String value)
Sets the value of the 'Label
' attribute.- Parameters:
value
- the new value of the 'Label' attribute.- See Also:
getLabel()
-
isBreaking
boolean isBreaking()
Returns the value of the 'Breaking' attribute.- Returns:
- the value of the 'Breaking' attribute.
- Since:
- 1.3 Whether this operation may cause existing models to need migration.
- See Also:
setBreaking(boolean)
,DeclarationPackage.getOperation_Breaking()
-
setBreaking
void setBreaking(boolean value)
Sets the value of the 'Breaking
' attribute.- Parameters:
value
- the new value of the 'Breaking' attribute.- Since:
- 1.3
- See Also:
isBreaking()
-
getParameter
Parameter getParameter(String name)
Helper method to determine the parameter of the operation with a certain name
-
getMainParameter
Parameter getMainParameter()
Helper method to determine the main parameter of the operation, i.e. the parameter with main set to true
-
refines
boolean refines()
-
getConstraint
Constraint getConstraint(String name)
-
-