Enum SpaceShipValidationComplaint.Complaints
- java.lang.Object
-
- java.lang.Enum<SpaceShipValidationComplaint.Complaints>
-
- de.extio.spacecraft.shared.model.bo.SpaceShipValidationComplaint.Complaints
-
- All Implemented Interfaces:
Serializable
,Comparable<SpaceShipValidationComplaint.Complaints>
- Enclosing class:
- SpaceShipValidationComplaint
public static enum SpaceShipValidationComplaint.Complaints extends Enum<SpaceShipValidationComplaint.Complaints>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getI18n()
boolean
isOfflineOnly()
boolean
isWarning()
void
setI18n(String i18n)
void
setOfflineOnly(boolean offlineOnly)
void
setWarning(boolean warning)
static SpaceShipValidationComplaint.Complaints
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpaceShipValidationComplaint.Complaints[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERAL_ERROR
public static final SpaceShipValidationComplaint.Complaints GENERAL_ERROR
-
EMPTY
public static final SpaceShipValidationComplaint.Complaints EMPTY
-
TOO_MANY_ENTITIES
public static final SpaceShipValidationComplaint.Complaints TOO_MANY_ENTITIES
-
MULTIPLE_ENTITY_GROUPS
public static final SpaceShipValidationComplaint.Complaints MULTIPLE_ENTITY_GROUPS
-
STATION_MULTIPLE_ENTITY_GROUPS
public static final SpaceShipValidationComplaint.Complaints STATION_MULTIPLE_ENTITY_GROUPS
-
ENTITY_IN_FREE_SPACE
public static final SpaceShipValidationComplaint.Complaints ENTITY_IN_FREE_SPACE
-
ENTITY_NOT_AT_HULL
public static final SpaceShipValidationComplaint.Complaints ENTITY_NOT_AT_HULL
-
ENTITY_NOT_PLACEABLE
public static final SpaceShipValidationComplaint.Complaints ENTITY_NOT_PLACEABLE
-
ENTITY_MULTIPLE_AT_SAME_LAYER
public static final SpaceShipValidationComplaint.Complaints ENTITY_MULTIPLE_AT_SAME_LAYER
-
ENTITY_MESHWORKER_NO_LANE
public static final SpaceShipValidationComplaint.Complaints ENTITY_MESHWORKER_NO_LANE
-
ENTITY_MESHCONSUMER_NO_PRODUCER
public static final SpaceShipValidationComplaint.Complaints ENTITY_MESHCONSUMER_NO_PRODUCER
-
ENTITY_MESHENTITY_DUPLICATE
public static final SpaceShipValidationComplaint.Complaints ENTITY_MESHENTITY_DUPLICATE
-
ENTITY_NOT_ALLOWED
public static final SpaceShipValidationComplaint.Complaints ENTITY_NOT_ALLOWED
-
MULTIPLE_SPAWN_ENTITY_TYPES
public static final SpaceShipValidationComplaint.Complaints MULTIPLE_SPAWN_ENTITY_TYPES
-
SHIPCLASS_MASS
public static final SpaceShipValidationComplaint.Complaints SHIPCLASS_MASS
-
SHIPCLASS_SIZE_CATEGORY
public static final SpaceShipValidationComplaint.Complaints SHIPCLASS_SIZE_CATEGORY
-
SHIPCLASS_HULL_SLOTS
public static final SpaceShipValidationComplaint.Complaints SHIPCLASS_HULL_SLOTS
-
SHIPCLASS_ENTITYCATEGORY_CONSTRAINT
public static final SpaceShipValidationComplaint.Complaints SHIPCLASS_ENTITYCATEGORY_CONSTRAINT
-
SHIPCLASS_MESH_PRODUCER_CONSTRAINT
public static final SpaceShipValidationComplaint.Complaints SHIPCLASS_MESH_PRODUCER_CONSTRAINT
-
SHIPCLASS_ENTITY_CONSTRAINT_MISSING
public static final SpaceShipValidationComplaint.Complaints SHIPCLASS_ENTITY_CONSTRAINT_MISSING
-
SHIPCLASS_ENTITY_CONSTRAINT_EXCEEDED
public static final SpaceShipValidationComplaint.Complaints SHIPCLASS_ENTITY_CONSTRAINT_EXCEEDED
-
-
Method Detail
-
values
public static SpaceShipValidationComplaint.Complaints[] 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 (SpaceShipValidationComplaint.Complaints c : SpaceShipValidationComplaint.Complaints.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpaceShipValidationComplaint.Complaints 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
-
getI18n
public String getI18n()
-
setI18n
public void setI18n(String i18n)
-
isWarning
public boolean isWarning()
-
setWarning
public void setWarning(boolean warning)
-
isOfflineOnly
public boolean isOfflineOnly()
-
setOfflineOnly
public void setOfflineOnly(boolean offlineOnly)
-
-