net.ogdf.ogml
Enum PatternType

java.lang.Object
  extended by java.lang.Enum<PatternType>
      extended by net.ogdf.ogml.PatternType
All Implemented Interfaces:
Comparable<PatternType>, Enumerator

public enum PatternType
extends Enum<PatternType>
implements Enumerator

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

See Also:
OgmlPackage.getPatternType()
Rating red
Generated:
This code was automatically generated.
Model element:
extendedMetaData=name='pattern.type'

Enum Constant Summary
CHECKED
          The 'Checked' literal object.
DOTTED
          The 'Dotted' literal object.
NONE
          The 'None' literal object.
SOLID
          The 'Solid' literal object.
STRIPED
          The 'Striped' literal object.
 
Field Summary
static int CHECKED_VALUE
          The 'Checked' literal value.
static int DOTTED_VALUE
          The 'Dotted' literal value.
static int NONE_VALUE
          The 'None' literal value.
static int SOLID_VALUE
          The 'Solid' literal value.
static int STRIPED_VALUE
          The 'Striped' literal value.
static List<PatternType> VALUES
          A public read-only list of all the 'Pattern Type' enumerators.
 
Method Summary
static PatternType get(int value)
          Returns the 'Pattern Type' literal with the specified integer value.
static PatternType get(String literal)
          Returns the 'Pattern Type' literal with the specified literal value.
static PatternType getByName(String name)
          Returns the 'Pattern Type' literal with the specified name.
 String getLiteral()
           
 String getName()
           
 int getValue()
           
 String toString()
          Returns the literal value of the enumerator, which is its string representation.
static PatternType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PatternType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SOLID

public static final PatternType SOLID
The 'Solid' literal object.

See Also:
SOLID_VALUE
Generated:
This code was automatically generated.
Ordered

STRIPED

public static final PatternType STRIPED
The 'Striped' literal object.

See Also:
STRIPED_VALUE
Generated:
This code was automatically generated.
Ordered

CHECKED

public static final PatternType CHECKED
The 'Checked' literal object.

See Also:
CHECKED_VALUE
Generated:
This code was automatically generated.
Ordered

DOTTED

public static final PatternType DOTTED
The 'Dotted' literal object.

See Also:
DOTTED_VALUE
Generated:
This code was automatically generated.
Ordered

NONE

public static final PatternType NONE
The 'None' literal object.

See Also:
NONE_VALUE
Generated:
This code was automatically generated.
Ordered
Field Detail

SOLID_VALUE

public static final int SOLID_VALUE
The 'Solid' literal value.

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

See Also:
SOLID, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=solid
Ordered

STRIPED_VALUE

public static final int STRIPED_VALUE
The 'Striped' literal value.

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

See Also:
STRIPED, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=striped
Ordered

CHECKED_VALUE

public static final int CHECKED_VALUE
The 'Checked' literal value.

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

See Also:
CHECKED, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=checked
Ordered

DOTTED_VALUE

public static final int DOTTED_VALUE
The 'Dotted' literal value.

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

See Also:
DOTTED, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=dotted
Ordered

NONE_VALUE

public static final int NONE_VALUE
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, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=none
Ordered

VALUES

public static final List<PatternType> VALUES
A public read-only list of all the 'Pattern Type' enumerators.

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

public static PatternType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

get

public static PatternType get(String literal)
Returns the 'Pattern Type' literal with the specified literal value.

Generated:
This code was automatically generated.

getByName

public static PatternType getByName(String name)
Returns the 'Pattern Type' literal with the specified name.

Generated:
This code was automatically generated.

get

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

Generated:
This code was automatically generated.

getValue

public int getValue()

Specified by:
getValue in interface Enumerator
Generated:
This code was automatically generated.

getName

public String getName()

Specified by:
getName in interface Enumerator
Generated:
This code was automatically generated.

getLiteral

public String getLiteral()

Specified by:
getLiteral in interface Enumerator
Generated:
This code was automatically generated.

toString

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

Overrides:
toString in class Enum<PatternType>
Generated:
This code was automatically generated.