|
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 PatternMetatypepublic int hashCode()
hashCode in class PatternMetatypepublic String getDescription()
ITransformationItem
getDescription in interface ITransformationItemgetDescription in class PatternMetatypepublic EClass getEClass()
IPatternMetatype
getEClass in interface IPatternMetatypegetEClass in class PatternMetatypepublic IEnumerationLiteral[] getEnumerationLiterals()
IPatternMetatype
getEnumerationLiterals in interface IPatternMetatypegetEnumerationLiterals in class PatternMetatypepublic String getId()
ITransformationItem
getId in interface ITransformationItemgetId in class PatternMetatypepublic String getMetamodelName()
IPatternMetatype
getMetamodelName in interface IPatternMetatypegetMetamodelName in class PatternMetatypepublic String getName()
ITransformationItem
getName in interface ITransformationItemgetName in class PatternMetatypepublic boolean isEnumeration()
IPatternMetatypeThe 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 IPatternMetatypeisEnumeration in class PatternMetatypepublic boolean isValidValue(Object object)
IPatternMetatype
isValidValue in interface IPatternMetatypeisValidValue in class PatternMetatypepublic 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.