|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.common.spi.UniqueSetting
public class UniqueSetting
Convenience class for managing settings.
Provides an equals method that returns true if the EObject and the
EStructuralFeature are the same.
| Method Summary | |
|---|---|
static UniqueSetting |
createSetting(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature attribute)
Convenience method for creating a setting. |
static UniqueSetting |
createSetting(org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
Convenience method for creating a setting. |
boolean |
equals(Object obj)
|
org.eclipse.emf.ecore.EObject |
getEObject()
Returns the EObject. |
org.eclipse.emf.ecore.EStructuralFeature |
getEStructuralFeature()
Returns the EAttribute of the EObject. |
org.eclipse.emf.ecore.EStructuralFeature.Setting |
getSetting()
Return the EStructuralFeature.Setting wrapped in this UniqueSetting. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static UniqueSetting createSetting(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature attribute)
eObject - an EObjectattribute - an EAttribute of the given eObject
public static UniqueSetting createSetting(org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
setting - the EStructuralFeature.Setting to wrap
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public org.eclipse.emf.ecore.EObject getEObject()
EObject.
EObjectpublic org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()
EObject.
public org.eclipse.emf.ecore.EStructuralFeature.Setting getSetting()
EStructuralFeature.Setting wrapped in this UniqueSetting.
EStructuralFeature.Setting
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||