Generators

org.topcased.modeler.diagramconfigurator
Enum DecorationType

java.lang.Object
  extended by java.lang.Enum<DecorationType>
      extended by org.topcased.modeler.diagramconfigurator.DecorationType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DecorationType>, Enumerator

public enum DecorationType
extends java.lang.Enum<DecorationType>
implements Enumerator

A representation of the literals of the enumeration 'Decoration Type', and utility methods for working with them.

See Also:
DiagramconfiguratorPackage.getDecorationType()
** Generated **
Model:

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

NONE_LITERAL

public static final DecorationType NONE_LITERAL
The 'NONE' literal object.

See Also:
NONE
** Generated **
Ordered:

ARROW_LITERAL

public static final DecorationType ARROW_LITERAL
The 'ARROW' literal object.

See Also:
ARROW
** Generated **
Ordered:

TRIANGLE_LITERAL

public static final DecorationType TRIANGLE_LITERAL
The 'TRIANGLE' literal object.

See Also:
TRIANGLE
** Generated **
Ordered:

DIAMOND_LITERAL

public static final DecorationType DIAMOND_LITERAL
The 'DIAMOND' literal object.

See Also:
DIAMOND
** Generated **
Ordered:
Field Detail

NONE

public static final int NONE
The 'NONE' literal value.

If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...

See Also:
NONE_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:

ARROW

public static final int ARROW
The 'ARROW' literal value.

If the meaning of 'ARROW' literal object isn't clear, there really should be more of a description here...

See Also:
ARROW_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:

TRIANGLE

public static final int TRIANGLE
The 'TRIANGLE' literal value.

If the meaning of 'TRIANGLE' literal object isn't clear, there really should be more of a description here...

See Also:
TRIANGLE_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:

DIAMOND

public static final int DIAMOND
The 'DIAMOND' literal value.

If the meaning of 'DIAMOND' literal object isn't clear, there really should be more of a description here...

See Also:
DIAMOND_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:

VALUES

public static final java.util.List<DecorationType> VALUES
A public read-only list of all the 'Decoration Type' enumerators.

** Generated **
Method Detail

values

public static final DecorationType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DecorationType c : DecorationType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static DecorationType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static DecorationType get(java.lang.String literal)
Returns the 'Decoration Type' literal with the specified literal value.

** Generated **

getByName

public static DecorationType getByName(java.lang.String name)
Returns the 'Decoration Type' literal with the specified name.

** Generated **

get

public static DecorationType get(int value)
Returns the 'Decoration Type' literal with the specified integer value.

** Generated **

getValue

public int getValue()

Specified by:
getValue in interface Enumerator
** Generated **

getName

public java.lang.String getName()

Specified by:
getName in interface Enumerator
** Generated **

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface Enumerator
** Generated **

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<DecorationType>
** Generated **

Generators

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.