Enum ACObject
- java.lang.Object
-
- java.lang.Enum<ACObject>
-
- edu.kit.kastel.dsis.fluidtrust.casestudy.pcs.application.query.ACObject
-
- All Implemented Interfaces:
Named
,Serializable
,Comparable<ACObject>
public enum ACObject extends Enum<ACObject> implements Named
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINER_ATTRIBUTES
DANGEROUS_GOODS
DECLARATION
DESTINATION_KIND_AMOUNT
ORDER
VALUE_DESCRIPTION
VGM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
static ACObject
valueOf(String name)
Returns the enum constant of this type with the specified name.static ACObject[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE_DESCRIPTION
public static final ACObject VALUE_DESCRIPTION
-
DESTINATION_KIND_AMOUNT
public static final ACObject DESTINATION_KIND_AMOUNT
-
DANGEROUS_GOODS
public static final ACObject DANGEROUS_GOODS
-
CONTAINER_ATTRIBUTES
public static final ACObject CONTAINER_ATTRIBUTES
-
VGM
public static final ACObject VGM
-
DECLARATION
public static final ACObject DECLARATION
-
ORDER
public static final ACObject ORDER
-
-
Method Detail
-
values
public static ACObject[] 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 (ACObject c : ACObject.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ACObject 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
-
-