|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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:
LhsRhsAttribute ConditionsMappingsCheck DanglingInjective MatchingMulti RulesMulti MappingsJava 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 UnitImplpublic Graph getLhs()
getLhs in interface RuleRule.setLhs(Graph),
HenshinPackage.getRule_Lhs()
public NotificationChain basicSetLhs(Graph newLhs,
NotificationChain msgs)
public void setLhs(Graph newLhs)
setLhs in interface RulenewLhs - the new value of the 'Lhs' containment reference.Rule.getLhs()public Graph getRhs()
getRhs in interface RuleRule.setRhs(Graph),
HenshinPackage.getRule_Rhs()
public NotificationChain basicSetRhs(Graph newRhs,
NotificationChain msgs)
public void setRhs(Graph newRhs)
setRhs in interface RulenewRhs - the new value of the 'Rhs' containment reference.Rule.getRhs()public EList<AttributeCondition> getAttributeConditions()
getAttributeConditions in interface RuleHenshinPackage.getRule_AttributeConditions(),
AttributeCondition.getRule()public MappingList getMappings()
getMappings in interface RuleHenshinPackage.getRule_Mappings()public Rule getKernelRule()
getKernelRule in interface Rulepublic Rule getRootRule()
getRootRule in interface Rulepublic Rule getMultiRule(String name)
getMultiRule in interface Rulepublic EList<Rule> getMultiRulePath(Rule multiRule)
getMultiRulePath in interface RulemultiRule - a direct or indirect multi-rule of this rule.
public EList<Rule> getAllMultiRules()
getAllMultiRules in interface Rulepublic MappingList getAllMappings()
getAllMappings in interface Rulepublic EList<Node> getActionNodes(Action action)
getActionNodes in interface Rulepublic EList<Edge> getActionEdges(Action action)
getActionEdges in interface Rulepublic EList<Node> getParameterNodes()
getParameterNodes in interface Rulepublic boolean isMultiRule()
isMultiRule in interface Rulepublic 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 Rulepublic boolean isCheckDangling()
isCheckDangling in interface RuleRule.setCheckDangling(boolean),
HenshinPackage.getRule_CheckDangling()public void setCheckDangling(boolean newCheckDangling)
setCheckDangling in interface RulenewCheckDangling - the new value of the 'Check Dangling' attribute.Rule.isCheckDangling()public boolean isInjectiveMatching()
isInjectiveMatching in interface RuleRule.setInjectiveMatching(boolean),
HenshinPackage.getRule_InjectiveMatching()public void setInjectiveMatching(boolean newInjectiveMatching)
setInjectiveMatching in interface RulenewInjectiveMatching - the new value of the 'Injective Matching' attribute.Rule.isInjectiveMatching()public EList<Rule> getMultiRules()
getMultiRules in interface RuleHenshinPackage.getRule_MultiRules()public MappingList getMultiMappings()
getMultiMappings in interface RuleHenshinPackage.getRule_MultiMappings()public EList<String> getJavaImports()
getJavaImports in interface RuleHenshinPackage.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 InternalEObjecteGet in class UnitImpl
public void eSet(int featureID,
Object newValue)
eSet in interface InternalEObjecteSet in class UnitImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class UnitImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class UnitImplpublic String toString()
toString in class UnitImplpublic EList<Unit> getSubUnits()
UnitImpl
getSubUnits in class UnitImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||