Generators

org.topcased.modeler.diagramconfigurator
Enum ResizableType

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

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

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

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

Enum Constant Summary
ALL_LITERAL
          The 'ALL' literal object.
HEIGHT_LITERAL
          The 'HEIGHT' literal object.
NONE_LITERAL
          The 'NONE' literal object.
WIDTH_LITERAL
          The 'WIDTH' literal object.
 
Field Summary
static int ALL
          The 'ALL' literal value.
static int HEIGHT
          The 'HEIGHT' literal value.
static int NONE
          The 'NONE' literal value.
static java.util.List<ResizableType> VALUES
          A public read-only list of all the 'Resizable Type' enumerators.
static int WIDTH
          The 'WIDTH' literal value.
 
Method Summary
static ResizableType get(int value)
          Returns the 'Resizable Type' literal with the specified integer value.
static ResizableType get(java.lang.String literal)
          Returns the 'Resizable Type' literal with the specified literal value.
static ResizableType getByName(java.lang.String name)
          Returns the 'Resizable 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 ResizableType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ResizableType[] 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 ResizableType NONE_LITERAL
The 'NONE' literal object.

See Also:
NONE
** Generated **
Ordered:

WIDTH_LITERAL

public static final ResizableType WIDTH_LITERAL
The 'WIDTH' literal object.

See Also:
WIDTH
** Generated **
Ordered:

HEIGHT_LITERAL

public static final ResizableType HEIGHT_LITERAL
The 'HEIGHT' literal object.

See Also:
HEIGHT
** Generated **
Ordered:

ALL_LITERAL

public static final ResizableType ALL_LITERAL
The 'ALL' literal object.

See Also:
ALL
** 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:

WIDTH

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

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

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

HEIGHT

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

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

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

ALL

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

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

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

VALUES

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

** Generated **
Method Detail

values

public static final ResizableType[] 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(ResizableType c : ResizableType.values())
        System.out.println(c);

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

valueOf

public static ResizableType 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 ResizableType get(java.lang.String literal)
Returns the 'Resizable Type' literal with the specified literal value.

** Generated **

getByName

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

** Generated **

get

public static ResizableType get(int value)
Returns the 'Resizable 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<ResizableType>
** Generated **

Generators

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