Enum Domain
- java.lang.Object
-
- java.lang.Enum<Domain>
-
- net.n2oapp.framework.api.metadata.domain.Domain
-
- All Implemented Interfaces:
Serializable,Comparable<Domain>
public enum Domain extends Enum<Domain>
Типы данных N2O
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetArray()static DomaingetByClass(Class clazz)static DomaingetByName(String name)Class<? extends N2oField>getControlClass()StringgetName()ClassgetTypeClass()static DomainvalueOf(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
-
integer
public static final Domain integer
-
string
public static final Domain string
-
numeric
public static final Domain numeric
-
bool
public static final Domain bool
-
date
public static final Domain date
-
localdate
public static final Domain localdate
-
localdatetime
public static final Domain localdatetime
-
object
public static final Domain object
-
long_
public static final Domain long_
-
byte_
public static final Domain byte_
-
short_
public static final Domain short_
-
-
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(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
-
getTypeClass
public Class getTypeClass()
-
getName
public String getName()
-
getArray
public String getArray()
-
-