|
||||||||||
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
de.cau.cs.kieler.core.kgraph.impl.EMapPropertyHolderImpl
public abstract class EMapPropertyHolderImpl
An implementation of the model object 'EMap Property Holder'.
The following features are implemented:
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<PersistentEntry> |
persistentEntries
The cached value of the ' Persistent Entries ' containment reference list. |
protected EMap<IProperty<?>,Object> |
properties
The cached value of the ' Properties ' map. |
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 | |
---|---|
protected |
EMapPropertyHolderImpl()
|
Method Summary | ||
---|---|---|
void |
copyProperties(IPropertyHolder holder)
Copy all properties from another property holder to this one. |
|
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)
|
|
Map<IProperty<?>,Object> |
getAllProperties()
Returns a map of all assigned properties with associated values. |
|
EList<PersistentEntry> |
getPersistentEntries()
|
|
EMap<IProperty<?>,Object> |
getProperties()
|
|
|
getProperty(IProperty<T> property)
Retrieves a property value. |
|
void |
makePersistent()
Serialize all entries of the properties map using Object.toString()
and write them into the list of persistent entries. |
|
void |
setProperty(IProperty<?> property,
Object value)
Sets a property value. |
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.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 EMap<IProperty<?>,Object> properties
Properties
' map.
getProperties()
protected EList<PersistentEntry> persistentEntries
Persistent Entries
' containment reference list.
getPersistentEntries()
Constructor Detail |
---|
protected EMapPropertyHolderImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public EMap<IProperty<?>,Object> getProperties()
getProperties
in interface EMapPropertyHolder
KGraphPackage.getEMapPropertyHolder_Properties()
public EList<PersistentEntry> getPersistentEntries()
getPersistentEntries
in interface EMapPropertyHolder
KGraphPackage.getEMapPropertyHolder_PersistentEntries()
public void makePersistent()
Object.toString()
and write them into the list of persistent entries. The previous content is cleared.
makePersistent
in interface EMapPropertyHolder
public void setProperty(IProperty<?> property, Object value)
setProperty
in interface IPropertyHolder
property
- the property to setvalue
- the new valuepublic <T> T getProperty(IProperty<T> property)
getProperty
in interface IPropertyHolder
T
- type of propertyproperty
- the property to get
public void copyProperties(IPropertyHolder holder)
copyProperties
in interface IPropertyHolder
holder
- another property holderpublic Map<IProperty<?>,Object> getAllProperties()
getAllProperties
in interface IPropertyHolder
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 InternalEObject
eGet
in class BasicEObjectImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |