Class LongValue
- java.lang.Object
-
- no.priv.bang.modeling.modelstore.value.ValueBase
-
- no.priv.bang.modeling.modelstore.value.LongValue
-
- All Implemented Interfaces:
Value
class LongValue extends ValueBase
Wraps aLong
value in aPropertyset
. Will return well defined values if asked to return a different property type.
-
-
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
isLong()
String
toString()
-
Methods inherited from class no.priv.bang.modeling.modelstore.value.ValueBase
asId, isBoolean, isComplexProperty, isDouble, isId, isList, isReference, isString
-
-
-
-
Field Detail
-
value
private Long value
-
-
Constructor Detail
-
LongValue
LongValue(Long value)
-
-
Method Detail
-
isLong
public boolean isLong()
-
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()
-
-