|
|||||||||||
| 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.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
| 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 interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
protected |
ETypeImpl()
|
| Method Summary | |
protected EList |
adaptProperties(List eStructuralFeatures)
|
Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
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, eIsProxy, eResource |
| 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 Typepublic String getURI()
getURI in interface Typepublic Class getInstanceClass()
getInstanceClass in interface Typepublic EList getPropertiesGen()
protected EList adaptProperties(List eStructuralFeatures)
public List 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(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(String propertyName)
getProperty in interface TypeType.getProperties()public EProperty getEProperty(String propertyName)
getEProperty in interface ETypepublic boolean isAdapterForType(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 NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
eInverseRemove in interface InternalEObject
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
eGet in interface EObject
public void eSet(EStructuralFeature eFeature,
Object newValue)
eSet in interface EObjectpublic void eUnset(EStructuralFeature eFeature)
eUnset in interface EObjectpublic boolean eIsSet(EStructuralFeature eFeature)
eIsSet in interface EObject
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||