Package org.ehrbase.aql.dto.condition
Class SimpleValue
- java.lang.Object
-
- org.ehrbase.aql.dto.condition.SimpleValue
-
- All Implemented Interfaces:
Serializable,Value
public final class SimpleValue extends Object implements Value, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static SimpleValueNULL_VALUE
-
Constructor Summary
Constructors Constructor Description SimpleValue()SimpleValue(Boolean value)SimpleValue(Number value)SimpleValue(String value)SimpleValue(TemporalAccessor value)SimpleValue(SimpleValue other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)static SimpleValueforImmutableObject(Object immutableObject)ObjectgetValue()inthashCode()StringtoString()
-
-
-
Field Detail
-
NULL_VALUE
public static final SimpleValue NULL_VALUE
-
-
Constructor Detail
-
SimpleValue
public SimpleValue()
-
SimpleValue
public SimpleValue(String value)
-
SimpleValue
public SimpleValue(Number value)
-
SimpleValue
public SimpleValue(Boolean value)
-
SimpleValue
public SimpleValue(SimpleValue other)
-
SimpleValue
public SimpleValue(TemporalAccessor value)
-
-
Method Detail
-
getValue
public Object getValue()
-
forImmutableObject
public static SimpleValue forImmutableObject(Object immutableObject)
-
canEqual
protected boolean canEqual(Object other)
-
-