Package com.enonic.xp.data
Class Value
- java.lang.Object
-
- com.enonic.xp.data.Value
-
@Beta public abstract class Value extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryReference
asBinaryReference()
java.lang.Boolean
asBoolean()
PropertySet
asData()
java.lang.Double
asDouble()
GeoPoint
asGeoPoint()
java.time.Instant
asInstant()
Link
asLink()
java.time.LocalDate
asLocalDate()
java.time.LocalDateTime
asLocalDateTime()
java.time.LocalTime
asLocalTime()
java.lang.Long
asLong()
Reference
asReference()
java.lang.String
asString()
boolean
equals(java.lang.Object o)
java.lang.Object
getObject()
ValueType
getType()
int
hashCode()
boolean
isBoolean()
boolean
isDateType()
boolean
isGeoPoint()
boolean
isJavaType(java.lang.Class javaType)
boolean
isNull()
boolean
isNumericType()
boolean
isPropertySet()
boolean
isSet()
boolean
isString()
boolean
isText()
java.lang.String
toString()
-
-
-
Method Detail
-
isSet
public boolean isSet()
-
isString
public boolean isString()
-
isDateType
public boolean isDateType()
-
isNumericType
public boolean isNumericType()
-
isGeoPoint
public boolean isGeoPoint()
-
isText
public boolean isText()
-
isBoolean
public boolean isBoolean()
-
isJavaType
public boolean isJavaType(java.lang.Class javaType)
-
getType
public ValueType getType()
-
getObject
public java.lang.Object getObject()
-
asData
public PropertySet asData()
-
asString
public java.lang.String asString()
-
asLong
public java.lang.Long asLong()
-
asBoolean
public java.lang.Boolean asBoolean()
-
asDouble
public java.lang.Double asDouble()
-
asLocalDate
public java.time.LocalDate asLocalDate()
-
asLocalTime
public java.time.LocalTime asLocalTime()
-
asLocalDateTime
public java.time.LocalDateTime asLocalDateTime()
-
asInstant
public java.time.Instant asInstant()
-
asGeoPoint
public GeoPoint asGeoPoint()
-
asReference
public Reference asReference()
-
asBinaryReference
public BinaryReference asBinaryReference()
-
asLink
public Link asLink()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isNull
public boolean isNull()
-
isPropertySet
public boolean isPropertySet()
-
-