Class NilValue
- java.lang.Object
-
- no.priv.bang.modeling.modelstore.value.NilValue
-
-
Field Summary
Fields Modifier and Type Field Description private static String
EMPTY_STRING_VALUE
private ValueList
emptyValueList
private UUID
nilId
private Boolean
nullBooleanValue
private Double
nullDoubleValue
private Long
nullLongValue
private static Value
singleton
-
Constructor Summary
Constructors Modifier Constructor Description private
NilValue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
asBoolean()
Propertyset
asComplexProperty()
Double
asDouble()
UUID
asId()
ValueList
asList()
Long
asLong()
Propertyset
asReference()
String
asString()
boolean
equals(Object obj)
(package private) static Value
getNil()
int
hashCode()
boolean
isBoolean()
boolean
isComplexProperty()
boolean
isDouble()
boolean
isId()
boolean
isList()
boolean
isLong()
boolean
isReference()
boolean
isString()
String
toString()
-
-
-
Field Detail
-
singleton
private static final Value singleton
-
nilId
private final UUID nilId
-
nullBooleanValue
private final Boolean nullBooleanValue
-
nullLongValue
private final Long nullLongValue
-
nullDoubleValue
private final Double nullDoubleValue
-
EMPTY_STRING_VALUE
private static final String EMPTY_STRING_VALUE
- See Also:
- Constant Field Values
-
emptyValueList
private final ValueList emptyValueList
-
-
Method Detail
-
getNil
static Value getNil()
-
isComplexProperty
public boolean isComplexProperty()
- Specified by:
isComplexProperty
in interfaceValue
-
asComplexProperty
public Propertyset asComplexProperty()
- Specified by:
asComplexProperty
in interfaceValue
-
isReference
public boolean isReference()
- Specified by:
isReference
in interfaceValue
-
asReference
public Propertyset asReference()
- Specified by:
asReference
in interfaceValue
-
-