|
|||||||||
| 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.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.henshin.statespace.impl.ModelImpl
public class ModelImpl
Default implementation of Model.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
|---|
MinimalEObjectImpl.Container.Dynamic |
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl |
|---|
MinimalEObjectImpl.Container |
| 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 EGraph |
eGraph
The cached value of the ' EGraph' attribute. |
protected static EGraph |
EGRAPH_EDEFAULT
The default value of the ' EGraph' attribute. |
protected static int |
OBJECT_COUNT_EDEFAULT
The default value of the ' Object Count' attribute. |
protected static int[] |
OBJECT_KEYS_EDEFAULT
The default value of the ' Object Keys' attribute. |
protected EMap<EObject,Integer> |
objectHashCodes
The cached value of the ' Object Hash Codes' map. |
protected EMap<EObject,Integer> |
objectKeysMap
The cached value of the ' Object Keys Map' map. |
protected Resource |
resource
The cached value of the ' Resource'
attribute. |
protected static Resource |
RESOURCE_EDEFAULT
The default value of the ' Resource'
attribute. |
| Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
|---|
eContainer |
| 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.EStructuralFeature.Internal.DynamicValueHolder |
|---|
NIL |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
ModelImpl()
|
|
ModelImpl(Resource resource)
Constructor. |
|
ModelImpl(Resource resource,
EGraph eGraph)
Constructor. |
|
| Method Summary | |
|---|---|
void |
collectMissingRootObjects()
Collect missing root objects from the EGraphImpl of this model. |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
Model |
getCopy(Match match)
Get a copy of this model. |
EGraph |
getEGraph()
Get the associated EGraph instance for this model. |
int |
getObjectCount()
Get the number of objects in this model. |
EMap<EObject,Integer> |
getObjectHashCodes()
Get the object hash codes of this state model |
int[] |
getObjectKeys()
Get the object keys of this state model as an integer array. |
EMap<EObject,Integer> |
getObjectKeysMap()
Get the object keys map for this state model. |
Resource |
getResource()
Get the resource that contains the actual model elements. |
void |
setObjectKeys(int[] objectKeys)
Set the object keys of this state model as an integer array. |
String |
toString()
|
boolean |
updateObjectKeys(EList<EClass> identityTypes)
|
| 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, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, 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.common.notify.impl.BasicNotifierImpl |
|---|
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.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 static final Resource RESOURCE_EDEFAULT
Resource'
attribute.
getResource()protected Resource resource
Resource'
attribute.
getResource()protected static final EGraph EGRAPH_EDEFAULT
EGraph' attribute.
getEGraph()protected EGraph eGraph
EGraph' attribute.
getEGraph()protected EMap<EObject,Integer> objectHashCodes
Object Hash Codes' map.
getObjectHashCodes()protected EMap<EObject,Integer> objectKeysMap
Object Keys Map' map.
getObjectKeysMap()protected static final int[] OBJECT_KEYS_EDEFAULT
Object Keys' attribute.
getObjectKeys()protected static final int OBJECT_COUNT_EDEFAULT
Object Count' attribute.
getObjectCount(),
Constant Field Values| Constructor Detail |
|---|
public ModelImpl(Resource resource)
resource - Resource for this model.
public ModelImpl(Resource resource,
EGraph eGraph)
resource - Resource for this model.emfGraph - EmfGraph for this model.public ModelImpl()
| Method Detail |
|---|
public EGraph getEGraph()
ModelEGraph instance for this model.
getEGraph in interface Modelorg.eclipse.emf.henshin.statespace.StateSpacePackage#getModel_EmfGraph()public EMap<EObject,Integer> getObjectHashCodes()
Model
getObjectHashCodes in interface ModelStateSpacePackage.getModel_ObjectHashCodes()public EMap<EObject,Integer> getObjectKeysMap()
Model
getObjectKeysMap in interface Modelpublic Model getCopy(Match match)
getCopy in interface Modelpublic boolean updateObjectKeys(EList<EClass> identityTypes)
Model
updateObjectKeys in interface Modelpublic void collectMissingRootObjects()
ModelEGraphImpl of this model.
New root objects will be added to this objects resource.
collectMissingRootObjects in interface Modelpublic int[] getObjectKeys()
ModelModel.getObjectKeysMap().
getObjectKeys in interface Modelpublic void setObjectKeys(int[] objectKeys)
ModelModel.getObjectKeysMap().
setObjectKeys in interface ModelModel.getObjectKeys()public int getObjectCount()
Model#getEmfGraph().
getObjectCount in interface ModelStateSpacePackage.getModel_ObjectCount()protected EClass eStaticClass()
eStaticClass in class BasicEObjectImplpublic Resource getResource()
Model
getResource in interface Model#setResource(Resource),
StateSpacePackage.getModel_Resource()
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class BasicEObjectImpl
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class BasicEObjectImpl
public void eSet(int featureID,
Object newValue)
eSet in interface InternalEObjecteSet in class BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class BasicEObjectImplpublic String toString()
toString in class BasicEObjectImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||