public enum Orientation extends java.lang.Enum<Orientation>
| Enum Constant and Description |
|---|
EAST
The 'EAST' literal object.
|
NORTH
The 'NORTH' literal object.
|
SOUTH
The 'SOUTH' literal object.
|
WEST
The 'WEST' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
EAST_VALUE
The 'EAST' literal value.
|
static int |
NORTH_VALUE
The 'NORTH' literal value.
|
static int |
SOUTH_VALUE
The 'SOUTH' literal value.
|
static java.util.List<Orientation> |
VALUES
A public read-only list of all the 'Orientation' enumerators.
|
static int |
WEST_VALUE
The 'WEST' literal value.
|
| Modifier and Type | Method and Description |
|---|---|
static Orientation |
get(int value)
Returns the 'Orientation' literal with the specified integer value.
|
static Orientation |
get(java.lang.String literal)
Returns the 'Orientation' literal with the specified literal value.
|
static Orientation |
getByName(java.lang.String name)
Returns the 'Orientation' 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 Orientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Orientation NORTH
NORTH_VALUEpublic static final Orientation SOUTH
SOUTH_VALUEpublic static final Orientation EAST
EAST_VALUEpublic static final Orientation WEST
WEST_VALUEpublic static final int NORTH_VALUE
If the meaning of 'NORTH' literal object isn't clear, there really should be more of a description here...
NORTH,
Constant Field Valuespublic static final int SOUTH_VALUE
If the meaning of 'SOUTH' literal object isn't clear, there really should be more of a description here...
SOUTH,
Constant Field Valuespublic static final int EAST_VALUE
If the meaning of 'EAST' literal object isn't clear, there really should be more of a description here...
EAST,
Constant Field Valuespublic static final int WEST_VALUE
If the meaning of 'WEST' literal object isn't clear, there really should be more of a description here...
WEST,
Constant Field Valuespublic static final java.util.List<Orientation> VALUES
public static Orientation[] values()
for (Orientation c : Orientation.values()) System.out.println(c);
public static Orientation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Orientation get(java.lang.String literal)
public static Orientation getByName(java.lang.String name)
public static Orientation get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<Orientation>
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0