Enum Domain
- java.lang.Object
-
- java.lang.Enum<Domain>
-
- net.n2oapp.framework.api.metadata.domain.Domain
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANBYTEDATEINTEGERLOCALDATELOCALDATETIMELONGNUMERICOBJECTOFFSETDATETIMESHORTSTRINGZONEDDATETIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArray()static DomaingetByClass(java.lang.Class<?> clazz)static DomaingetByName(java.lang.String name)java.lang.StringgetJsFormat()java.lang.StringgetName()java.lang.ClassgetType()static DomainvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Domain[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final Domain STRING
-
INTEGER
public static final Domain INTEGER
-
NUMERIC
public static final Domain NUMERIC
-
LONG
public static final Domain LONG
-
BYTE
public static final Domain BYTE
-
SHORT
public static final Domain SHORT
-
BOOLEAN
public static final Domain BOOLEAN
-
DATE
public static final Domain DATE
-
LOCALDATE
public static final Domain LOCALDATE
-
LOCALDATETIME
public static final Domain LOCALDATETIME
-
ZONEDDATETIME
public static final Domain ZONEDDATETIME
-
OFFSETDATETIME
public static final Domain OFFSETDATETIME
-
OBJECT
public static final Domain OBJECT
-
-
Method Detail
-
values
public static Domain[] 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 (Domain c : Domain.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Domain 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
-
getType
public java.lang.Class getType()
-
getName
public java.lang.String getName()
-
getJsFormat
public java.lang.String getJsFormat()
-
getArray
public java.lang.String getArray()
-
getByName
public static Domain getByName(java.lang.String name)
-
getByClass
public static Domain getByClass(java.lang.Class<?> clazz)
-
-