|
||||||||||
| 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
public class ETypeImpl
An implementation of the model object 'EType'.
| 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 java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
|---|
Adapter.Internal |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected EList<EStructuralFeature> |
eAllStructuralFeatures
|
protected EClassifier |
eClassifier
The cached value of the ' EClassifier' reference |
protected static java.lang.String |
NAME_EDEFAULT
The default value of the ' Name' attribute |
protected EList<EProperty> |
properties
|
protected java.util.Map<java.lang.String,EProperty> |
propertyNameToPropertyMap
|
protected static java.lang.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<EProperty> |
adaptProperties(java.util.List<? extends EStructuralFeature> eStructuralFeatures)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
EClassifier |
getEClassifier()
|
EProperty |
getEProperty(java.lang.String propertyName)
|
java.lang.Class<?> |
getInstanceClass()
|
java.lang.String |
getName()
|
java.util.List<EProperty> |
getProperties()
Returns the list of the properties of this type. |
EList<EProperty> |
getPropertiesGen()
|
Property |
getProperty(java.lang.String propertyName)
|
Notifier |
getTarget()
|
java.lang.String |
getURI()
|
boolean |
isAdapterForType(java.lang.Object type)
|
boolean |
isInstance(java.lang.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 java.lang.String NAME_EDEFAULT
Name' attribute.
getName()protected static final java.lang.String URI_EDEFAULT
URI' attribute.
getURI()protected EClassifier eClassifier
EClassifier' reference.
getEClassifier()protected EList<EProperty> properties
protected EList<EStructuralFeature> eAllStructuralFeatures
protected java.util.Map<java.lang.String,EProperty> propertyNameToPropertyMap
| Constructor Detail |
|---|
protected ETypeImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class EObjectImplpublic java.lang.String getName()
getName in interface Typepublic java.lang.String getURI()
getURI in interface Typepublic java.lang.Class<?> getInstanceClass()
getInstanceClass in interface Typepublic EList<EProperty> getPropertiesGen()
protected EList<EProperty> adaptProperties(java.util.List<? extends EStructuralFeature> eStructuralFeatures)
public java.util.List<EProperty> getProperties()
Typeproperties 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 TypeProperty.getContainingType()public EClassifier getEClassifier()
getEClassifier in interface ETypeEType.setEClassifier(EClassifier),
SDOPackage.getEType_EClassifier()public void setEClassifier(EClassifier newEClassifier)
setEClassifier in interface ETypenewEClassifier - the new value of the 'EClassifier' reference.EType.getEClassifier()public boolean isInstance(java.lang.Object object)
isInstance in interface Typeobject - the object in question.
true if the object is an instance.Class.isInstance(java.lang.Object)public Property getProperty(java.lang.String propertyName)
getProperty in interface TypeType.getProperties()public EProperty getEProperty(java.lang.String propertyName)
getEProperty in interface EType
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class BasicEObjectImplpublic boolean isAdapterForType(java.lang.Object type)
isAdapterForType in interface Adapterpublic void notifyChanged(Notification msg)
notifyChanged in interface Adapterpublic Notifier getTarget()
getTarget in interface Adapterpublic void setTarget(Notifier newTarget)
setTarget in interface Adapter
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class BasicEObjectImpl
public void eSet(int featureID,
java.lang.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 BasicEObjectImpl
|
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 | |||||||||