Package net.anotheria.asg.generator.meta
Enum MetaProperty.Type
- java.lang.Object
-
- java.lang.Enum<MetaProperty.Type>
-
- net.anotheria.asg.generator.meta.MetaProperty.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MetaProperty.Type>
- Enclosing class:
- MetaProperty
public static enum MetaProperty.Type extends java.lang.Enum<MetaProperty.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetaProperty.TypefindTypeByName(java.lang.String name)java.lang.StringgetName()java.lang.StringtoString()static MetaProperty.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MetaProperty.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final MetaProperty.Type STRING
-
PASSWORD
public static final MetaProperty.Type PASSWORD
-
TEXT
public static final MetaProperty.Type TEXT
-
BOOLEAN
public static final MetaProperty.Type BOOLEAN
-
INT
public static final MetaProperty.Type INT
-
LONG
public static final MetaProperty.Type LONG
-
DOUBLE
public static final MetaProperty.Type DOUBLE
-
FLOAT
public static final MetaProperty.Type FLOAT
-
LIST
public static final MetaProperty.Type LIST
-
IMAGE
public static final MetaProperty.Type IMAGE
-
-
Method Detail
-
values
public static MetaProperty.Type[] 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 (MetaProperty.Type c : MetaProperty.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetaProperty.Type 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
-
getName
public java.lang.String getName()
-
findTypeByName
public static MetaProperty.Type findTypeByName(java.lang.String name)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<MetaProperty.Type>
-
-