Package net.opengis.gml311
Enum GraphTypeType
- Object
-
- Enum<GraphTypeType>
-
- GraphTypeType
-
- All Implemented Interfaces:
Serializable,Comparable<GraphTypeType>,Enumerator
public enum GraphTypeType extends Enum<GraphTypeType> implements Enumerator
A representation of the literals of the enumeration 'Graph Type Type', and utility methods for working with them. Graph-specific styling property.- See Also:
Gml311Package.getGraphTypeType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BICONNECTEDThe 'BICONNECTED' literal object.TREEThe 'TREE' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intBICONNECTED_VALUEThe 'BICONNECTED' literal value.static intTREE_VALUEThe 'TREE' literal value.static List<GraphTypeType>VALUESA public read-only list of all the 'Graph Type Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GraphTypeTypeget(int value)Returns the 'Graph Type Type' literal with the specified integer value.static GraphTypeTypeget(String literal)Returns the 'Graph Type Type' literal with the specified literal value.static GraphTypeTypegetByName(String name)Returns the 'Graph Type Type' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static GraphTypeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GraphTypeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TREE
public static final GraphTypeType TREE
The 'TREE' literal object.- See Also:
TREE_VALUE
-
BICONNECTED
public static final GraphTypeType BICONNECTED
The 'BICONNECTED' literal object.- See Also:
BICONNECTED_VALUE
-
-
Field Detail
-
TREE_VALUE
public static final int TREE_VALUE
The 'TREE' literal value.If the meaning of 'TREE' literal object isn't clear, there really should be more of a description here...
- See Also:
TREE, Constant Field Values
-
BICONNECTED_VALUE
public static final int BICONNECTED_VALUE
The 'BICONNECTED' literal value.If the meaning of 'BICONNECTED' literal object isn't clear, there really should be more of a description here...
- See Also:
BICONNECTED, Constant Field Values
-
VALUES
public static final List<GraphTypeType> VALUES
A public read-only list of all the 'Graph Type Type' enumerators.
-
-
Method Detail
-
values
public static GraphTypeType[] 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 (GraphTypeType c : GraphTypeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphTypeType 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 nameNullPointerException- if the argument is null
-
get
public static GraphTypeType get(String literal)
Returns the 'Graph Type Type' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static GraphTypeType getByName(String name)
Returns the 'Graph Type Type' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static GraphTypeType get(int value)
Returns the 'Graph Type Type' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()
- Specified by:
getValuein interfaceEnumerator
-
getName
public String getName()
- Specified by:
getNamein interfaceEnumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteralin interfaceEnumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<GraphTypeType>
-
-