|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EClassifier
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. |
java.lang.Object |
getDefaultValue()
Returns the value of the 'Default Value' attribute |
EPackage |
getEPackage()
Returns the value of the 'EPackage' container reference. |
EList<ETypeParameter> |
getETypeParameters()
Returns the value of the 'EType Parameters' containment reference list. |
java.lang.Class<?> |
getInstanceClass()
Returns the value of the 'Instance Class' attribute |
java.lang.String |
getInstanceClassName()
Returns the value of the 'Instance Class Name' attribute |
java.lang.String |
getInstanceTypeName()
Returns the value of the 'Instance Type Name' attribute |
boolean |
isInstance(java.lang.Object object)
Returns whether the object is an instance of this classifier. |
void |
setInstanceClass(java.lang.Class<?> value)
Sets the value of the ' Instance Class ' attribute. |
void |
setInstanceClassName(java.lang.String value)
Sets the value of the ' Instance Class Name ' attribute |
void |
setInstanceTypeName(java.lang.String value)
Sets the value of the ' Instance Type 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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
java.lang.String getInstanceClassName()
It represents the name of the Java instance class that this meta object represents.
getInstanceClass()
,
setInstanceClassName(String)
,
EcorePackage.getEClassifier_InstanceClassName()
void setInstanceClassName(java.lang.String value)
Instance Class Name
' attribute.
value
- the new value of the 'Instance Class Name' attribute.getInstanceClassName()
java.lang.Class<?> getInstanceClass()
It represents the actual Java instance class that this meta object represents.
setInstanceClass(Class)
,
EcorePackage.getEClassifier_InstanceClass()
void setInstanceClass(java.lang.Class<?> value)
Instance Class
' attribute.
value
- the new value of the 'Instance Class' attribute.getInstanceClass()
java.lang.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()
java.lang.String getInstanceTypeName()
It represents the parameterized Java type that this meta object represents.
setInstanceTypeName(String)
,
EcorePackage.getEClassifier_InstanceTypeName()
void setInstanceTypeName(java.lang.String value)
Instance Type Name
' attribute.
value
- the new value of the 'Instance Type Name' attribute.getInstanceTypeName()
EPackage getEPackage()
EClassifiers
'.
EcorePackage.getEClassifier_EPackage()
,
EPackage.getEClassifiers()
EList<ETypeParameter> getETypeParameters()
ETypeParameter
.
A classifier can optionally introduce type parameters.
EcorePackage.getEClassifier_ETypeParameters()
boolean isInstance(java.lang.Object object)
object
- the object in question.
Class.isInstance(java.lang.Object)
int getClassifierID()
containing
package.
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |