|
Generators | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DecorationType>
org.topcased.modeler.diagramconfigurator.DecorationType
public enum DecorationType
A representation of the literals of the enumeration 'Decoration Type', and utility methods for working with them.
DiagramconfiguratorPackage.getDecorationType()
Enum Constant Summary | |
---|---|
ARROW_LITERAL
The 'ARROW' literal object. | |
DIAMOND_LITERAL
The 'DIAMOND' literal object. | |
NONE_LITERAL
The 'NONE' literal object. | |
TRIANGLE_LITERAL
The 'TRIANGLE' literal object. |
Field Summary | |
---|---|
static int |
ARROW
The 'ARROW' literal value. |
static int |
DIAMOND
The 'DIAMOND' literal value. |
static int |
NONE
The 'NONE' literal value. |
static int |
TRIANGLE
The 'TRIANGLE' literal value. |
static java.util.List<DecorationType> |
VALUES
A public read-only list of all the 'Decoration Type' enumerators. |
Method Summary | |
---|---|
static DecorationType |
get(int value)
Returns the 'Decoration Type' literal with the specified integer value. |
static DecorationType |
get(java.lang.String literal)
Returns the 'Decoration Type' literal with the specified literal value. |
static DecorationType |
getByName(java.lang.String name)
Returns the 'Decoration Type' literal with the specified name. |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static DecorationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DecorationType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DecorationType NONE_LITERAL
NONE
public static final DecorationType ARROW_LITERAL
ARROW
public static final DecorationType TRIANGLE_LITERAL
TRIANGLE
public static final DecorationType DIAMOND_LITERAL
DIAMOND
Field Detail |
---|
public static final int NONE
If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...
NONE_LITERAL
,
Constant Field Valuespublic static final int ARROW
If the meaning of 'ARROW' literal object isn't clear, there really should be more of a description here...
ARROW_LITERAL
,
Constant Field Valuespublic static final int TRIANGLE
If the meaning of 'TRIANGLE' literal object isn't clear, there really should be more of a description here...
TRIANGLE_LITERAL
,
Constant Field Valuespublic static final int DIAMOND
If the meaning of 'DIAMOND' literal object isn't clear, there really should be more of a description here...
DIAMOND_LITERAL
,
Constant Field Valuespublic static final java.util.List<DecorationType> VALUES
Method Detail |
---|
public static final DecorationType[] values()
for(DecorationType c : DecorationType.values()) System.out.println(c);
public static DecorationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static DecorationType get(java.lang.String literal)
public static DecorationType getByName(java.lang.String name)
public static DecorationType get(int value)
public int getValue()
getValue
in interface Enumerator
public java.lang.String getName()
getName
in interface Enumerator
public java.lang.String getLiteral()
getLiteral
in interface Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<DecorationType>
|
Generators | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.