Package org.eclipse.m2m.atl.common.ATL
Class Rule
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.m2m.atl.common.ATL.LocatedElement
-
- org.eclipse.m2m.atl.common.ATL.ModuleElement
-
- org.eclipse.m2m.atl.common.ATL.Rule
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
CalledRule
,MatchedRule
public abstract class Rule extends ModuleElement
A representation of the model object 'Rule'.The following features are supported:
- See Also:
ATLPackage.getRule()
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected ActionBlock
actionBlock
The cached value of the 'Action Block
' containment reference.protected java.lang.String
name
The cached value of the 'Name
' attribute.protected static java.lang.String
NAME_EDEFAULT
The default value of the 'Name
' attribute.protected OutPattern
outPattern
The cached value of the 'Out Pattern
' containment reference.protected org.eclipse.emf.common.util.EList<RuleVariableDeclaration>
variables
The cached value of the 'Variables
' containment reference list.-
Fields inherited from class org.eclipse.m2m.atl.common.ATL.LocatedElement
commentsAfter, commentsBefore, location, LOCATION_EDEFAULT
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Rule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetActionBlock(ActionBlock newActionBlock, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
basicSetOutPattern(OutPattern newOutPattern, org.eclipse.emf.common.notify.NotificationChain msgs)
java.lang.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, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
ActionBlock
getActionBlock()
Returns the value of the 'Action Block' containment reference.java.lang.String
getName()
Returns the value of the 'Name' attribute.OutPattern
getOutPattern()
Returns the value of the 'Out Pattern' containment reference.org.eclipse.emf.common.util.EList<RuleVariableDeclaration>
getVariables()
Returns the value of the 'Variables' containment reference list.void
setActionBlock(ActionBlock newActionBlock)
Sets the value of the 'Action Block
' containment reference.void
setName(java.lang.String newName)
Sets the value of the 'Name
' attribute.void
setOutPattern(OutPattern newOutPattern)
Sets the value of the 'Out Pattern
' containment reference.java.lang.String
toString()
-
Methods inherited from class org.eclipse.m2m.atl.common.ATL.ModuleElement
basicSetModule, eBasicRemoveFromContainerFeature, getModule, setModule
-
Methods inherited from class org.eclipse.m2m.atl.common.ATL.LocatedElement
getCommentsAfter, getCommentsBefore, getLocation, setLocation
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
outPattern
protected OutPattern outPattern
The cached value of the 'Out Pattern
' containment reference.- See Also:
getOutPattern()
-
actionBlock
protected ActionBlock actionBlock
The cached value of the 'Action Block
' containment reference.- See Also:
getActionBlock()
-
variables
protected org.eclipse.emf.common.util.EList<RuleVariableDeclaration> variables
The cached value of the 'Variables
' containment reference list.- See Also:
getVariables()
-
NAME_EDEFAULT
protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name
' attribute.- See Also:
getName()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classModuleElement
-
getOutPattern
public OutPattern getOutPattern()
Returns the value of the 'Out Pattern' containment reference. It is bidirectional and its opposite is 'Rule
'.If the meaning of the 'Out Pattern' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Out Pattern' containment reference.
- See Also:
setOutPattern(OutPattern)
,ATLPackage.getRule_OutPattern()
,OutPattern.getRule()
-
basicSetOutPattern
public org.eclipse.emf.common.notify.NotificationChain basicSetOutPattern(OutPattern newOutPattern, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setOutPattern
public void setOutPattern(OutPattern newOutPattern)
Sets the value of the 'Out Pattern
' containment reference.- Parameters:
value
- the new value of the 'Out Pattern' containment reference.- See Also:
getOutPattern()
-
getActionBlock
public ActionBlock getActionBlock()
Returns the value of the 'Action Block' containment reference. It is bidirectional and its opposite is 'Rule
'.If the meaning of the 'Action Block' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Action Block' containment reference.
- See Also:
setActionBlock(ActionBlock)
,ATLPackage.getRule_ActionBlock()
,ActionBlock.getRule()
-
basicSetActionBlock
public org.eclipse.emf.common.notify.NotificationChain basicSetActionBlock(ActionBlock newActionBlock, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setActionBlock
public void setActionBlock(ActionBlock newActionBlock)
Sets the value of the 'Action Block
' containment reference.- Parameters:
value
- the new value of the 'Action Block' containment reference.- See Also:
getActionBlock()
-
getVariables
public org.eclipse.emf.common.util.EList<RuleVariableDeclaration> getVariables()
Returns the value of the 'Variables' containment reference list. The list contents are of typeRuleVariableDeclaration
. It is bidirectional and its opposite is 'Rule
'.If the meaning of the 'Variables' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Variables' containment reference list.
- See Also:
ATLPackage.getRule_Variables()
,RuleVariableDeclaration.getRule()
-
getName
public java.lang.String getName()
Returns the value of the 'Name' attribute.If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String)
,ATLPackage.getRule_Name()
-
setName
public void setName(java.lang.String newName)
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
getName()
-
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 classModuleElement
-
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 classModuleElement
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classModuleElement
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classModuleElement
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classModuleElement
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classModuleElement
-
toString
public java.lang.String toString()
- Overrides:
toString
in classLocatedElement
-
-