Class OperationImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- org.eclipse.emf.edapt.declaration.impl.IdentifiedElementImpl
-
- org.eclipse.emf.edapt.declaration.impl.OperationImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
,IdentifiedElement
,Operation
public class OperationImpl extends IdentifiedElementImpl implements Operation
An implementation of the model object 'Operation'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetLibrary(Library newLibrary, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
Object
eGet(int featureID, boolean resolve, boolean coreType)
org.eclipse.emf.common.notify.NotificationChain
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
void
eUnset(int featureID)
String
getAfter()
String
getBefore()
Constraint
getConstraint(String name)
org.eclipse.emf.common.util.EList<Constraint>
getConstraints()
Class
getImplementation()
String
getLabel()
Library
getLibrary()
Parameter
getMainParameter()
Parameter
getParameter(String name)
org.eclipse.emf.common.util.EList<Parameter>
getParameters()
boolean
isBreaking()
boolean
isDeprecated()
boolean
refines()
void
setAfter(String newAfter)
void
setBefore(String newBefore)
void
setBreaking(boolean newBreaking)
void
setDeprecated(boolean newDeprecated)
void
setImplementation(Class newImplementation)
void
setLabel(String newLabel)
void
setLibrary(Library newLibrary)
String
toString()
-
Methods inherited from class org.eclipse.emf.edapt.declaration.impl.IdentifiedElementImpl
getDescription, getName, setDescription, setName
-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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
-
getLabel
public String getLabel()
- Specified by:
getLabel
in interfaceOperation
- Returns:
- the value of the 'Label' attribute.
- See Also:
Operation.setLabel(String)
,DeclarationPackage.getOperation_Label()
-
setLabel
public void setLabel(String newLabel)
- Specified by:
setLabel
in interfaceOperation
- Parameters:
newLabel
- the new value of the 'Label' attribute.- See Also:
Operation.getLabel()
-
isBreaking
public boolean isBreaking()
- Specified by:
isBreaking
in interfaceOperation
- Returns:
- the value of the 'Breaking' attribute.
- See Also:
Operation.setBreaking(boolean)
,DeclarationPackage.getOperation_Breaking()
-
setBreaking
public void setBreaking(boolean newBreaking)
- Specified by:
setBreaking
in interfaceOperation
- Parameters:
newBreaking
- the new value of the 'Breaking' attribute.- See Also:
Operation.isBreaking()
-
getLibrary
public Library getLibrary()
- Specified by:
getLibrary
in interfaceOperation
- Returns:
- the value of the 'Library' container reference.
- See Also:
Operation.setLibrary(Library)
,DeclarationPackage.getOperation_Library()
,Library.getOperations()
-
basicSetLibrary
public org.eclipse.emf.common.notify.NotificationChain basicSetLibrary(Library newLibrary, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setLibrary
public void setLibrary(Library newLibrary)
- Specified by:
setLibrary
in interfaceOperation
- Parameters:
newLibrary
- the new value of the 'Library' container reference.- See Also:
Operation.getLibrary()
-
getParameters
public org.eclipse.emf.common.util.EList<Parameter> getParameters()
- Specified by:
getParameters
in interfaceOperation
- Returns:
- the value of the 'Parameters' containment reference list.
- See Also:
DeclarationPackage.getOperation_Parameters()
,Parameter.getOperation()
-
getConstraints
public org.eclipse.emf.common.util.EList<Constraint> getConstraints()
- Specified by:
getConstraints
in interfaceOperation
- Returns:
- the value of the 'Constraints' containment reference list.
- See Also:
DeclarationPackage.getOperation_Constraints()
,Constraint.getOperation()
-
isDeprecated
public boolean isDeprecated()
- Specified by:
isDeprecated
in interfaceOperation
- Returns:
- the value of the 'Deprecated' attribute.
- See Also:
Operation.setDeprecated(boolean)
,DeclarationPackage.getOperation_Deprecated()
-
setDeprecated
public void setDeprecated(boolean newDeprecated)
- Specified by:
setDeprecated
in interfaceOperation
- Parameters:
newDeprecated
- the new value of the 'Deprecated' attribute.- See Also:
Operation.isDeprecated()
-
getBefore
public String getBefore()
- Specified by:
getBefore
in interfaceOperation
- Returns:
- the value of the 'Before' attribute.
- See Also:
Operation.setBefore(String)
,DeclarationPackage.getOperation_Before()
-
setBefore
public void setBefore(String newBefore)
- Specified by:
setBefore
in interfaceOperation
- Parameters:
newBefore
- the new value of the 'Before' attribute.- See Also:
Operation.getBefore()
-
getAfter
public String getAfter()
- Specified by:
getAfter
in interfaceOperation
- Returns:
- the value of the 'After' attribute.
- See Also:
Operation.setAfter(String)
,DeclarationPackage.getOperation_After()
-
setAfter
public void setAfter(String newAfter)
- Specified by:
setAfter
in interfaceOperation
- Parameters:
newAfter
- the new value of the 'After' attribute.- See Also:
Operation.getAfter()
-
getImplementation
public Class getImplementation()
- Specified by:
getImplementation
in interfaceOperation
- Returns:
- the value of the 'Implementation' attribute.
- See Also:
Operation.setImplementation(Class)
,DeclarationPackage.getOperation_Implementation()
-
setImplementation
public void setImplementation(Class newImplementation)
- Specified by:
setImplementation
in interfaceOperation
- Parameters:
newImplementation
- the new value of the 'Implementation' attribute.- See Also:
Operation.getImplementation()
-
getParameter
public Parameter getParameter(String name)
- Specified by:
getParameter
in interfaceOperation
-
getMainParameter
public Parameter getMainParameter()
- Specified by:
getMainParameter
in interfaceOperation
-
getConstraint
public Constraint getConstraint(String name)
- Specified by:
getConstraint
in interfaceOperation
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseAdd
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeature
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classIdentifiedElementImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classIdentifiedElementImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classIdentifiedElementImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classIdentifiedElementImpl
-
toString
public String toString()
- Overrides:
toString
in classIdentifiedElementImpl
-
-