|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'EClassifier'.
The following features are supported:
EcorePackage.getEClassifier()
Method Summary | |
int |
getClassifierID()
Returns the ID relative to the containing package. |
Object |
getDefaultValue()
Returns the value of the 'Default Value' attribute |
EPackage |
getEPackage()
Returns the value of the 'EPackage' container reference. |
Class |
getInstanceClass()
Returns the value of the 'Instance Class' attribute |
String |
getInstanceClassName()
Returns the value of the 'Instance Class Name' attribute |
boolean |
isInstance(Object object)
Returns whether the object is an instance of this classifier. |
void |
setInstanceClass(Class value)
Sets the value of the ' Instance Class ' attribute. |
void |
setInstanceClassName(String value)
Sets the value of the ' Instance Class Name ' attribute |
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
getName, setName |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
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 |
Method Detail |
public String getInstanceClassName()
It represents the name of the Java instance class that this meta object represents.
getInstanceClass()
,
setInstanceClassName(String)
,
EcorePackage.getEClassifier_InstanceClassName()
public void setInstanceClassName(String value)
Instance Class Name
' attribute.
value
- the new value of the 'Instance Class Name' attribute.getInstanceClassName()
public Class getInstanceClass()
It represents the actual Java instance class that this meta object represents.
setInstanceClass(Class)
,
EcorePackage.getEClassifier_InstanceClass()
public void setInstanceClass(Class value)
Instance Class
' attribute.
value
- the new value of the 'Instance Class' attribute.getInstanceClass()
public Object getDefaultValue()
The default value for the type, in the Java sense.
For primitive types, it will be the Java primitive default wrapped appropriately.
For enums
, it will be the first enumerator.
And for all other types derived from java.lang.Object
, it will be null.
EcorePackage.getEClassifier_DefaultValue()
public EPackage getEPackage()
EClassifiers
'.
EcorePackage.getEClassifier_EPackage()
,
EPackage.getEClassifiers()
public boolean isInstance(Object object)
object
- the object in question.
Class.isInstance(java.lang.Object)
public int getClassifierID()
containing
package.
|
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 |