Class DoubleValue
- java.lang.Object
-
- no.priv.bang.modeling.modelstore.value.ValueBase
-
- no.priv.bang.modeling.modelstore.value.DoubleValue
-
- All Implemented Interfaces:
Value
class DoubleValue extends ValueBase
Wraps aDouble
value in aPropertyset
. Will return well defined values if asked to return a different property type.
-
-
Constructor Summary
Constructors Constructor Description DoubleValue(Double 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
isDouble()
String
toString()
-
Methods inherited from class no.priv.bang.modeling.modelstore.value.ValueBase
asId, isBoolean, isComplexProperty, isId, isList, isLong, isReference, isString
-
-
-
-
Field Detail
-
value
private Double value
-
-
Constructor Detail
-
DoubleValue
DoubleValue(Double value)
-
-
Method Detail
-
isDouble
public boolean isDouble()
-
asBoolean
public Boolean asBoolean()
-
asLong
public Long asLong()
-
asDouble
public Double asDouble()
-
asString
public String asString()
-
asComplexProperty
public Propertyset asComplexProperty()
-
asReference
public Propertyset asReference()
-
asList
public ValueList asList()
-
-