|
|||||||||||
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.ecore.sdo.impl.ETypeImpl
An implementation of the model object 'EType'.
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.common.notify.Adapter |
Adapter.Internal |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
Field Summary | |
protected EList |
eAllStructuralFeatures
|
protected EClassifier |
eClassifier
The cached value of the ' EClassifier ' reference |
protected static Class |
INSTANCE_CLASS_EDEFAULT
The default value of the ' Instance Class ' attribute |
protected static String |
NAME_EDEFAULT
The default value of the ' Name ' attribute |
protected EList |
properties
|
protected Map |
propertyNameToPropertyMap
|
protected static String |
URI_EDEFAULT
The default value of the ' URI ' attribute |
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 |
ETypeImpl()
|
Method Summary | |
protected EList |
adaptProperties(List eStructuralFeatures)
|
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)
|
EClassifier |
getEClassifier()
|
EProperty |
getEProperty(String propertyName)
|
Class |
getInstanceClass()
|
String |
getName()
|
List |
getProperties()
Returns the list of the properties of this type.
|
EList |
getPropertiesGen()
|
Property |
getProperty(String propertyName)
|
Notifier |
getTarget()
|
String |
getURI()
|
boolean |
isAdapterForType(Object type)
|
boolean |
isInstance(Object object)
|
void |
notifyChanged(Notification msg)
|
void |
setEClassifier(EClassifier newEClassifier)
|
void |
setTarget(Notifier newTarget)
|
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
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, 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 String NAME_EDEFAULT
Name
' attribute.
getName()
protected static final String URI_EDEFAULT
URI
' attribute.
getURI()
protected static final Class INSTANCE_CLASS_EDEFAULT
Instance Class
' attribute.
getInstanceClass()
protected EClassifier eClassifier
EClassifier
' reference.
getEClassifier()
protected EList properties
protected EList eAllStructuralFeatures
protected Map propertyNameToPropertyMap
Constructor Detail |
protected ETypeImpl()
Method Detail |
protected EClass eStaticClass()
public String getName()
getName
in interface Type
public String getURI()
getURI
in interface Type
public Class getInstanceClass()
getInstanceClass
in interface Type
public EList getPropertiesGen()
protected EList adaptProperties(List eStructuralFeatures)
public List getProperties()
Type
properties
of this type.
The expression
type.getProperties().indexOf(property)yields the property's index relative to this type. As such, these expressions are equivalent:
dataObject.get
(i) dataObject.get
((Property)dataObject.getType().getProperties().get(i));
getProperties
in interface Type
Property.getContainingType()
public EClassifier getEClassifier()
getEClassifier
in interface EType
EType.setEClassifier(EClassifier)
,
SDOPackage.getEType_EClassifier()
public void setEClassifier(EClassifier newEClassifier)
setEClassifier
in interface EType
newEClassifier
- the new value of the 'EClassifier' reference.EType.getEClassifier()
public boolean isInstance(Object object)
isInstance
in interface Type
object
- the object in question.
true
if the object is an instance.Class.isInstance(java.lang.Object)
public Property getProperty(String propertyName)
getProperty
in interface Type
Type.getProperties()
public EProperty getEProperty(String propertyName)
getEProperty
in interface EType
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public boolean isAdapterForType(Object type)
isAdapterForType
in interface Adapter
public void notifyChanged(Notification msg)
notifyChanged
in interface Adapter
public Notifier getTarget()
getTarget
in interface Adapter
public void setTarget(Notifier newTarget)
setTarget
in interface Adapter
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
public void eUnset(int featureID)
eUnset
in interface InternalEObject
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |