|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xtools.patterns.framework.PatternMetatype
com.ibm.xtools.patterns.framework.uml2.PatternMetatype
com.ibm.xtools.patterns.framework.uml2.PatternMetatype.Enumeration
An enumeration metatype, defines enumeration literals as potential values.
Nested Class Summary |
Nested classes inherited from class com.ibm.xtools.patterns.framework.uml2.PatternMetatype |
PatternMetatype.Enumeration |
Field Summary |
Fields inherited from class com.ibm.xtools.patterns.framework.uml2.PatternMetatype |
BOOLEAN_METATYPE, INTEGER_METATYPE, STRING_METATYPE |
Fields inherited from class com.ibm.xtools.patterns.framework.PatternMetatype |
metaClass |
Method Summary | |
boolean |
equals(Object object)
|
String |
getDescription()
Retrieve the localized description of the transformation item. |
EClass |
getEClass()
Returns the EClass representing the metatype, if the associated metamodel is an EMF metamodel. |
IEnumerationLiteral[] |
getEnumerationLiterals()
Returns the array of enumeration literals for an enumeration metatype. |
String |
getId()
Retrieve the unique id of the transformation item. |
String |
getMetamodelName()
Returns the name of the metamodel of the metatype. |
String |
getName()
Retrieve the localized name of the transformation item. |
int |
hashCode()
|
boolean |
isEnumeration()
Indicates whether the metatype is an enumeration. |
boolean |
isValidValue(Object object)
Indicates whether the given object is a valid value of the metatype. |
String |
toString()
|
Methods inherited from class com.ibm.xtools.patterns.framework.uml2.PatternMetatype |
getImage |
Methods inherited from class com.ibm.xtools.patterns.framework.PatternMetatype |
getMetamodel, isAssignableFrom |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public boolean equals(Object object)
equals
in class PatternMetatype
public int hashCode()
hashCode
in class PatternMetatype
public String getDescription()
ITransformationItem
getDescription
in interface ITransformationItem
getDescription
in class PatternMetatype
public EClass getEClass()
IPatternMetatype
getEClass
in interface IPatternMetatype
getEClass
in class PatternMetatype
public IEnumerationLiteral[] getEnumerationLiterals()
IPatternMetatype
getEnumerationLiterals
in interface IPatternMetatype
getEnumerationLiterals
in class PatternMetatype
public String getId()
ITransformationItem
getId
in interface ITransformationItem
getId
in class PatternMetatype
public String getMetamodelName()
IPatternMetatype
getMetamodelName
in interface IPatternMetatype
getMetamodelName
in class PatternMetatype
public String getName()
ITransformationItem
getName
in interface ITransformationItem
getName
in class PatternMetatype
public boolean isEnumeration()
IPatternMetatype
The metatype is an enumeration if the values of the type are a fixed set
of enumeration literals. Use the getEnumerationLiterals
method to retrieve the array of enumeration literals.
isEnumeration
in interface IPatternMetatype
isEnumeration
in class PatternMetatype
public boolean isValidValue(Object object)
IPatternMetatype
isValidValue
in interface IPatternMetatype
isValidValue
in class PatternMetatype
public String toString()
toString
in class PatternMetatype
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.