|
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
A pattern metatype encapsulates the types used when defining patterns. The core metatypes are defined in the pattern service and are specialized here for use by framework-based patterns. This class defines a UML2-specific pattern metatype that extends the framework's base pattern metatype which in turn specializes the core pattern service's metatypes.
Nested Class Summary | |
static class |
PatternMetatype.Enumeration
An enumeration metatype, defines enumeration literals as potential values. |
Field Summary | |
static PatternMetatype |
BOOLEAN_METATYPE
An instance of a pattern metatype corresponding to a UML2 literal boolean |
static PatternMetatype |
INTEGER_METATYPE
An instance of a pattern metatype corresponding to a UML2 literal integer |
static PatternMetatype |
STRING_METATYPE
An instance of a pattern metatype corresponding to a UML2 literal string |
Fields inherited from class com.ibm.xtools.patterns.framework.PatternMetatype |
metaClass |
Constructor Summary | |
PatternMetatype(EClass type)
Constructs a pattern metatype given the EClass of the element from within the UML2 metamodel. |
Method Summary | |
String |
getImage(Object object)
Returns the human readable image of the given object. |
Methods inherited from class com.ibm.xtools.patterns.framework.PatternMetatype |
equals, getDescription, getEClass, getEnumerationLiterals, getId, getMetamodel, getMetamodelName, getName, hashCode, isAssignableFrom, isEnumeration, isValidValue, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static PatternMetatype BOOLEAN_METATYPE
public static PatternMetatype INTEGER_METATYPE
public static PatternMetatype STRING_METATYPE
Constructor Detail |
public PatternMetatype(EClass type)
type
- the element type within the UML2 metamodelMethod Detail |
public String getImage(Object object)
IPatternMetatype
If the object is not a valid value of the metatype the image will be empty.
getImage
in interface IPatternMetatype
getImage
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.