public enum DslPropertyType extends Enum<DslPropertyType> implements DslEntityFieldType
| Type | Property and Description |
|---|---|
boolean |
is
Gets the value of the property property.
|
| Enum Constant and Description |
|---|
Boolean
Boolean.
|
Double
Double.
|
Integer
Integer.
|
String
String.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
cast(String stringValue)
Convert a read string value, to this DSL type.
|
void |
checkValue(Object value)
Check value against this type.
|
boolean |
isEntity() |
boolean |
isEntityLink() |
boolean |
isProperty()
Gets the value of the property property.
|
static DslPropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DslPropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DslPropertyType Integer
public static final DslPropertyType Double
public static final DslPropertyType Boolean
public static final DslPropertyType String
public boolean isProperty
isProperty in interface DslEntityFieldTypepublic static DslPropertyType[] values()
for (DslPropertyType c : DslPropertyType.values()) System.out.println(c);
public static DslPropertyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void checkValue(Object value)
value - Value to check (nullable)public Object cast(String stringValue)
stringValue - string inputpublic boolean isProperty()
isProperty in interface DslEntityFieldTypepublic boolean isEntityLink()
isEntityLink in interface DslEntityFieldTypepublic boolean isEntity()
isEntity in interface DslEntityFieldTypeCopyright © 2019. All Rights Reserved.