|
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.core.PatternApplicationRole
Represents a typesafe enumeration of constants representing the roles played by objects participating in pattern applications.
Use the getName
method to retrieve the list of constants for an enumerated type.
Field Summary | |
static PatternApplicationRole |
BOUND_ELEMENT_ROLE
A constant for the bound element role. |
static PatternApplicationRole |
MODIFIED_ELEMENT_ROLE
A constant for the modified element role. |
static PatternApplicationRole |
NO_ROLE
A constant for no role. |
static PatternApplicationRole |
PARAMETER_ARGUMENT_ROLE
A constant for the parameter argument role. |
Constructor Summary | |
protected |
PatternApplicationRole(String name)
Constructs a new pattern instance option with the specified name and ordinal. |
Method Summary | |
String |
getName()
Retrieves the value of the name instance variable. |
int |
getOrdinal()
Retrieves the value of the ordinal instance variable. |
static List |
getValues()
Retrieves the list of constants for this enumerated type. |
String |
toString()
Retrieves a textual representation of this pattern instance option. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final PatternApplicationRole NO_ROLE
public static final PatternApplicationRole BOUND_ELEMENT_ROLE
public static final PatternApplicationRole PARAMETER_ARGUMENT_ROLE
public static final PatternApplicationRole MODIFIED_ELEMENT_ROLE
Constructor Detail |
protected PatternApplicationRole(String name)
name
- The name of the new pattern instance option.Method Detail |
public String getName()
name
instance variable.
name
instance variable.public final int getOrdinal()
ordinal
instance variable.
ordinal
instance variable.public String toString()
Object.toString()
public static List getValues()
|
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.