public enum OriginTypeEnum extends Enum<OriginTypeEnum>
| Enum Constant and Description |
|---|
EGRESS
Represents egress.
|
INGRESS
Represents ingress.
|
TRANSIT
Represents transit.
|
| Modifier and Type | Method and Description |
|---|---|
static OriginTypeEnum |
of(int value)
Returns the object of originTypeEnum for.
|
static OriginTypeEnum |
of(String value)
Returns the object of originTypeEnum for.
|
int |
originTypeEnum()
Returns the attribute originTypeEnum.
|
String |
toString() |
static OriginTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OriginTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OriginTypeEnum INGRESS
public static final OriginTypeEnum EGRESS
public static final OriginTypeEnum TRANSIT
public static OriginTypeEnum[] values()
for (OriginTypeEnum c : OriginTypeEnum.values()) System.out.println(c);
public static OriginTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static OriginTypeEnum of(int value)
value - value of originTypeEnum forpublic static OriginTypeEnum of(String value)
value - value of originTypeEnum forpublic int originTypeEnum()
public String toString()
toString in class Enum<OriginTypeEnum>Copyright © 2018. All rights reserved.