Generators

org.topcased.modeler.diagramconfigurator
Enum RouterType

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

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

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

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

Enum Constant Summary
OBLIQUE_ROUTER_LITERAL
          The 'Oblique Router' literal object.
RECTILINEAR_ROUTER_LITERAL
          The 'Rectilinear Router' literal object.
TREE_ROUTER_LITERAL
          The 'Tree Router' literal object.
 
Field Summary
static int OBLIQUE_ROUTER
          The 'Oblique Router' literal value.
static int RECTILINEAR_ROUTER
          The 'Rectilinear Router' literal value.
static int TREE_ROUTER
          The 'Tree Router' literal value.
static java.util.List<RouterType> VALUES
          A public read-only list of all the 'Router Type' enumerators.
 
Method Summary
static RouterType get(int value)
          Returns the 'Router Type' literal with the specified integer value.
static RouterType get(java.lang.String literal)
          Returns the 'Router Type' literal with the specified literal value.
static RouterType getByName(java.lang.String name)
          Returns the 'Router 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 RouterType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RouterType[] 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

OBLIQUE_ROUTER_LITERAL

public static final RouterType OBLIQUE_ROUTER_LITERAL
The 'Oblique Router' literal object.

See Also:
OBLIQUE_ROUTER
** Generated **
Ordered:

RECTILINEAR_ROUTER_LITERAL

public static final RouterType RECTILINEAR_ROUTER_LITERAL
The 'Rectilinear Router' literal object.

See Also:
RECTILINEAR_ROUTER
** Generated **
Ordered:

TREE_ROUTER_LITERAL

public static final RouterType TREE_ROUTER_LITERAL
The 'Tree Router' literal object.

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

OBLIQUE_ROUTER

public static final int OBLIQUE_ROUTER
The 'Oblique Router' literal value.

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

See Also:
OBLIQUE_ROUTER_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="ObliqueRouter"

RECTILINEAR_ROUTER

public static final int RECTILINEAR_ROUTER
The 'Rectilinear Router' literal value.

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

See Also:
RECTILINEAR_ROUTER_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="RectilinearRouter"

TREE_ROUTER

public static final int TREE_ROUTER
The 'Tree Router' literal value.

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

See Also:
TREE_ROUTER_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="TreeRouter"

VALUES

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

** Generated **
Method Detail

values

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

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

valueOf

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

** Generated **

getByName

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

** Generated **

get

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

Generators

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