|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
org.eclipse.emf.ecore.sdo.impl.ETypeImpl
An implementation of the model object 'EType'.
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 |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 boolean isAdapterForType(Object type)
public void notifyChanged(Notification msg)
public Notifier getTarget()
public void setTarget(Notifier newTarget)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
public Object eGet(EStructuralFeature eFeature, boolean resolve)
public void eSet(EStructuralFeature eFeature, Object newValue)
public void eUnset(EStructuralFeature eFeature)
public boolean eIsSet(EStructuralFeature eFeature)
|
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 |