Class BooleanValue
- java.lang.Object
-
- no.priv.bang.modeling.modelstore.value.ValueBase
-
- no.priv.bang.modeling.modelstore.value.BooleanValue
-
- All Implemented Interfaces:
Value
class BooleanValue extends ValueBase
Wraps aBoolean
value in aPropertyset
. Will return well defined values if asked to return a different property type.
-
-
Constructor Summary
Constructors Constructor Description BooleanValue(Boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
asBoolean()
Propertyset
asComplexProperty()
Double
asDouble()
ValueList
asList()
Long
asLong()
Propertyset
asReference()
String
asString()
boolean
equals(Object obj)
int
hashCode()
boolean
isBoolean()
boolean
isList()
String
toString()
-
Methods inherited from class no.priv.bang.modeling.modelstore.value.ValueBase
asId, isComplexProperty, isDouble, isId, isLong, isReference, isString
-
-
-
-
Field Detail
-
value
private Boolean value
-
-
Constructor Detail
-
BooleanValue
BooleanValue(Boolean value)
-
-
Method Detail
-
isBoolean
public boolean isBoolean()
-
asBoolean
public Boolean asBoolean()
-
asLong
public Long asLong()
-
asDouble
public Double asDouble()
-
asString
public String asString()
-
asComplexProperty
public Propertyset asComplexProperty()
-
asReference
public Propertyset asReference()
-
isList
public boolean isList()
-
asList
public ValueList asList()
-
-