Class EmptyValue
- java.lang.Object
-
- de.tudresden.inf.lat.tabulas.datatype.EmptyValue
-
- All Implemented Interfaces:
PrimitiveTypeValue
,Serializable
,Comparable<PrimitiveTypeValue>
,scala.Equals
,scala.Product
public class EmptyValue extends Object implements PrimitiveTypeValue, scala.Product, Serializable
This models a empty value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyValue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmptyValue
apply()
int
compareTo(PrimitiveTypeValue other)
PrimitiveType
getType()
Returns the primitive typeboolean
isEmpty()
Tell whether this value represents an empty value.String
render()
Returns a string representing this value.scala.collection.immutable.Seq<String>
renderAsList()
Returns a list of strings representing this value.String
toString()
-
-
-
Method Detail
-
apply
public static EmptyValue apply()
-
getType
public PrimitiveType getType()
Description copied from interface:PrimitiveTypeValue
Returns the primitive type- Specified by:
getType
in interfacePrimitiveTypeValue
- Returns:
- the primitive type
-
isEmpty
public boolean isEmpty()
Description copied from interface:PrimitiveTypeValue
Tell whether this value represents an empty value.- Specified by:
isEmpty
in interfacePrimitiveTypeValue
- Returns:
true
if and only if this value represents an empty value
-
render
public String render()
Description copied from interface:PrimitiveTypeValue
Returns a string representing this value.- Specified by:
render
in interfacePrimitiveTypeValue
- Returns:
- a string representing this value
-
renderAsList
public scala.collection.immutable.Seq<String> renderAsList()
Description copied from interface:PrimitiveTypeValue
Returns a list of strings representing this value.- Specified by:
renderAsList
in interfacePrimitiveTypeValue
- Returns:
- a list of strings representing this value
-
compareTo
public int compareTo(PrimitiveTypeValue other)
- Specified by:
compareTo
in interfaceComparable<PrimitiveTypeValue>
-
-