|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.henshin.model.impl.ModelElementImpl org.eclipse.emf.henshin.model.impl.NamedElementImpl org.eclipse.emf.henshin.model.impl.UnitImpl org.eclipse.emf.henshin.model.impl.RuleImpl
public class RuleImpl
An implementation of the model object 'Rule'.
The following features are implemented:
Lhs
Rhs
Attribute Conditions
Mappings
Check Dangling
Injective Matching
Multi Rules
Multi Mappings
Java Imports
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected EList<AttributeCondition> |
attributeConditions
The cached value of the ' Attribute Conditions ' containment reference list. |
protected static boolean |
CHECK_DANGLING_EDEFAULT
The default value of the ' Check Dangling ' attribute. |
protected boolean |
checkDangling
The cached value of the ' Check Dangling ' attribute. |
protected static boolean |
INJECTIVE_MATCHING_EDEFAULT
The default value of the ' Injective Matching ' attribute. |
protected boolean |
injectiveMatching
The cached value of the ' Injective Matching ' attribute. |
protected EList<String> |
javaImports
The cached value of the ' Java Imports ' attribute list. |
protected Graph |
lhs
The cached value of the ' Lhs ' containment reference. |
protected EList<Mapping> |
mappings
The cached value of the ' Mappings ' containment reference list. |
protected EList<Mapping> |
multiMappings
The cached value of the ' Multi Mappings ' containment reference list. |
protected EList<Rule> |
multiRules
The cached value of the ' Multi Rules ' containment reference list. |
protected Graph |
rhs
The cached value of the ' Rhs ' containment reference. |
Fields inherited from class org.eclipse.emf.henshin.model.impl.UnitImpl |
---|
activated, ACTIVATED_EDEFAULT, parameterMappings, parameters |
Fields inherited from class org.eclipse.emf.henshin.model.impl.NamedElementImpl |
---|
description, DESCRIPTION_EDEFAULT, name, NAME_EDEFAULT |
Fields inherited from class org.eclipse.emf.henshin.model.impl.ModelElementImpl |
---|
annotations |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
RuleImpl()
|
|
RuleImpl(String name)
|
Methods inherited from class org.eclipse.emf.henshin.model.impl.UnitImpl |
---|
getModule, getParameter, getParameterByName, getParameterMappings, getParameters, getSubUnits, isActivated, setActivated |
Methods inherited from class org.eclipse.emf.henshin.model.impl.NamedElementImpl |
---|
getDescription, getName, setDescription, setName |
Methods inherited from class org.eclipse.emf.henshin.model.impl.ModelElementImpl |
---|
getAnnotations |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.henshin.model.Unit |
---|
getModule, getParameter, getParameterMappings, getParameters, getSubUnits, isActivated, setActivated |
Methods inherited from interface org.eclipse.emf.henshin.model.NamedElement |
---|
getDescription, getName, setDescription, setName |
Methods inherited from interface org.eclipse.emf.henshin.model.ModelElement |
---|
getAnnotations |
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.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected Graph lhs
Lhs
' containment reference.
getLhs()
protected Graph rhs
Rhs
' containment reference.
getRhs()
protected EList<AttributeCondition> attributeConditions
Attribute Conditions
' containment reference list.
getAttributeConditions()
protected EList<Mapping> mappings
Mappings
' containment reference list.
getMappings()
protected static final boolean CHECK_DANGLING_EDEFAULT
Check Dangling
' attribute.
isCheckDangling()
,
Constant Field Valuesprotected boolean checkDangling
Check Dangling
' attribute.
isCheckDangling()
protected static final boolean INJECTIVE_MATCHING_EDEFAULT
Injective Matching
' attribute.
isInjectiveMatching()
,
Constant Field Valuesprotected boolean injectiveMatching
Injective Matching
' attribute.
isInjectiveMatching()
protected EList<Rule> multiRules
Multi Rules
' containment reference list.
getMultiRules()
protected EList<Mapping> multiMappings
Multi Mappings
' containment reference list.
getMultiMappings()
protected EList<String> javaImports
Java Imports
' attribute list.
getJavaImports()
Constructor Detail |
---|
public RuleImpl()
public RuleImpl(String name)
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class UnitImpl
public Graph getLhs()
getLhs
in interface Rule
Rule.setLhs(Graph)
,
HenshinPackage.getRule_Lhs()
public NotificationChain basicSetLhs(Graph newLhs, NotificationChain msgs)
public void setLhs(Graph newLhs)
setLhs
in interface Rule
newLhs
- the new value of the 'Lhs' containment reference.Rule.getLhs()
public Graph getRhs()
getRhs
in interface Rule
Rule.setRhs(Graph)
,
HenshinPackage.getRule_Rhs()
public NotificationChain basicSetRhs(Graph newRhs, NotificationChain msgs)
public void setRhs(Graph newRhs)
setRhs
in interface Rule
newRhs
- the new value of the 'Rhs' containment reference.Rule.getRhs()
public EList<AttributeCondition> getAttributeConditions()
getAttributeConditions
in interface Rule
HenshinPackage.getRule_AttributeConditions()
,
AttributeCondition.getRule()
public MappingList getMappings()
getMappings
in interface Rule
HenshinPackage.getRule_Mappings()
public Rule getKernelRule()
getKernelRule
in interface Rule
public Rule getRootRule()
getRootRule
in interface Rule
public Rule getMultiRule(String name)
getMultiRule
in interface Rule
public EList<Rule> getMultiRulePath(Rule multiRule)
getMultiRulePath
in interface Rule
multiRule
- a direct or indirect multi-rule of this rule.
public EList<Rule> getAllMultiRules()
getAllMultiRules
in interface Rule
public MappingList getAllMappings()
getAllMappings
in interface Rule
public EList<Node> getActionNodes(Action action)
getActionNodes
in interface Rule
public EList<Edge> getActionEdges(Action action)
getActionEdges
in interface Rule
public EList<Node> getParameterNodes()
getParameterNodes
in interface Rule
public boolean isMultiRule()
isMultiRule
in interface Rule
public Node createNode(EClass type)
createNode
in interface Rule
public boolean removeNode(Node node, boolean removeMapped)
removeNode
in interface Rule
public Edge createEdge(Node source, Node target, EReference type)
createEdge
in interface Rule
public boolean canCreateEdge(Node source, Node target, EReference type)
canCreateEdge
in interface Rule
public boolean removeEdge(Edge edge, boolean removeMapped)
removeEdge
in interface Rule
public boolean removeAttribute(Attribute attribute, boolean removeMapped)
removeAttribute
in interface Rule
public boolean isCheckDangling()
isCheckDangling
in interface Rule
Rule.setCheckDangling(boolean)
,
HenshinPackage.getRule_CheckDangling()
public void setCheckDangling(boolean newCheckDangling)
setCheckDangling
in interface Rule
newCheckDangling
- the new value of the 'Check Dangling' attribute.Rule.isCheckDangling()
public boolean isInjectiveMatching()
isInjectiveMatching
in interface Rule
Rule.setInjectiveMatching(boolean)
,
HenshinPackage.getRule_InjectiveMatching()
public void setInjectiveMatching(boolean newInjectiveMatching)
setInjectiveMatching
in interface Rule
newInjectiveMatching
- the new value of the 'Injective Matching' attribute.Rule.isInjectiveMatching()
public EList<Rule> getMultiRules()
getMultiRules
in interface Rule
HenshinPackage.getRule_MultiRules()
public MappingList getMultiMappings()
getMultiMappings
in interface Rule
HenshinPackage.getRule_MultiMappings()
public EList<String> getJavaImports()
getJavaImports
in interface Rule
HenshinPackage.getRule_JavaImports()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class UnitImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class UnitImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class UnitImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class UnitImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class UnitImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class UnitImpl
public String toString()
toString
in class UnitImpl
public EList<Unit> getSubUnits()
UnitImpl
getSubUnits
in class UnitImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |