|
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.PatternInstanceOption
Represents a typesafe enumeration of constants representing options for creating pattern instances.
Use the getValues
method to retrieve the list of constants for the enumerated type.
To retrieve the value of a name
instance variable, use the getName
method.
Field Summary | |
static PatternInstanceOption |
ENABLE_TRACE
A constant for enabling traceability. |
static PatternInstanceOption[] |
EnableTrace
|
static PatternInstanceOption |
NO_OPTIONS
A constant for no options. |
static PatternInstanceOption[] |
NoOptions
|
Constructor Summary | |
protected |
PatternInstanceOption(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 PatternInstanceOption NO_OPTIONS
public static final PatternInstanceOption[] NoOptions
public static final PatternInstanceOption ENABLE_TRACE
public static final PatternInstanceOption[] EnableTrace
Constructor Detail |
protected PatternInstanceOption(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.