Class ValueBase
- java.lang.Object
-
- no.priv.bang.modeling.modelstore.value.ValueBase
-
- All Implemented Interfaces:
Value
- Direct Known Subclasses:
BooleanValue
,DoubleValue
,ListValue
,LongValue
,PropertysetValueBase
,StringValue
public abstract class ValueBase extends Object implements Value
Abstract class containing implementations of the type query methods all returning false. This leaves classes actually wrapping a type with only having to override the actual method that will return true.
-
-
Constructor Summary
Constructors Constructor Description ValueBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
asId()
boolean
isBoolean()
boolean
isComplexProperty()
boolean
isDouble()
boolean
isId()
boolean
isList()
boolean
isLong()
boolean
isReference()
boolean
isString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface no.priv.bang.modeling.modelstore.services.Value
asBoolean, asComplexProperty, asDouble, asList, asLong, asReference, asString
-
-
-
-
Method Detail
-
isComplexProperty
public boolean isComplexProperty()
- Specified by:
isComplexProperty
in interfaceValue
-
isReference
public boolean isReference()
- Specified by:
isReference
in interfaceValue
-
-