public enum PropertyType extends java.lang.Enum<PropertyType>
Based on PropertyType.
| Enum Constant and Description |
|---|
Boolean |
Byte |
ByteArray |
Char |
CharArray |
Date |
DateNano |
Double |
DoubleArray |
Flex
Property containing flexible data, e.g.
|
Float |
FloatArray |
Int |
IntArray |
Long |
LongArray |
RelationId
A long representing a ObjectBox to-one relation.
|
Short |
ShortArray |
String |
StringArray |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isScalar()
True if the type can be represented using a scalar (primitive type).
|
static PropertyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType Boolean
public static final PropertyType Byte
public static final PropertyType Short
public static final PropertyType Char
public static final PropertyType Int
public static final PropertyType Long
public static final PropertyType Float
public static final PropertyType Double
public static final PropertyType String
public static final PropertyType Date
public static final PropertyType RelationId
public static final PropertyType DateNano
public static final PropertyType Flex
public static final PropertyType ByteArray
public static final PropertyType ShortArray
public static final PropertyType CharArray
public static final PropertyType IntArray
public static final PropertyType LongArray
public static final PropertyType FloatArray
public static final PropertyType DoubleArray
public static final PropertyType StringArray
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isScalar()