Enum Class IStorage.StructureFlag
java.lang.Object
java.lang.Enum<IStorage.StructureFlag>
nl.pim16aap2.animatedarchitecture.core.storage.IStorage.StructureFlag
- All Implemented Interfaces:
Serializable,Comparable<IStorage.StructureFlag>,Constable,IBitFlag
- Enclosing interface:
IStorage
Set of bit flags to represent various properties of structures.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic longGets the flag value of aIStorage.StructureFlag.static IStorage.StructureFlagReturns the enum constant of this class with the specified name.static IStorage.StructureFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IS_LOCKED
Consider a structure to be locked if this flag is enabled.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getFlagValue
Gets the flag value of aIStorage.StructureFlag.- Parameters:
flag- TheIStorage.StructureFlag.- Returns:
- The flag value of a
IStorage.StructureFlag.
-