Enum LoDType
- java.lang.Object
-
- java.lang.Enum<LoDType>
-
- org.citygml4j.binding.cityjson.metadata.LoDType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoDType
fromLoD(java.lang.Number lod)
static LoDType
fromValue(java.lang.String value)
java.lang.String
getValue()
java.lang.String
toString()
static LoDType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LoDType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOD_0_0
@SerializedName("0.0") public static final LoDType LOD_0_0
-
LOD_0_1
@SerializedName("0.1") public static final LoDType LOD_0_1
-
LOD_0_2
@SerializedName("0.2") public static final LoDType LOD_0_2
-
LOD_0_3
@SerializedName("0.3") public static final LoDType LOD_0_3
-
LOD_1_0
@SerializedName("1.0") public static final LoDType LOD_1_0
-
LOD_1_1
@SerializedName("1.1") public static final LoDType LOD_1_1
-
LOD_1_2
@SerializedName("1.2") public static final LoDType LOD_1_2
-
LOD_1_3
@SerializedName("1.3") public static final LoDType LOD_1_3
-
LOD_2_0
@SerializedName("2.0") public static final LoDType LOD_2_0
-
LOD_2_1
@SerializedName("2.1") public static final LoDType LOD_2_1
-
LOD_2_2
@SerializedName("2.2") public static final LoDType LOD_2_2
-
LOD_2_3
@SerializedName("2.3") public static final LoDType LOD_2_3
-
LOD_3_0
@SerializedName("3.0") public static final LoDType LOD_3_0
-
LOD_3_1
@SerializedName("3.1") public static final LoDType LOD_3_1
-
LOD_3_2
@SerializedName("3.2") public static final LoDType LOD_3_2
-
LOD_3_3
@SerializedName("3.3") public static final LoDType LOD_3_3
-
-
Method Detail
-
values
public static LoDType[] 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 (LoDType c : LoDType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoDType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<LoDType>
-
fromValue
public static LoDType fromValue(java.lang.String value)
-
fromLoD
public static LoDType fromLoD(java.lang.Number lod)
-
-