Modifier and Type | Method and Description |
---|---|
BinaryReference |
asBinaryReference()
Attempts to return value as Reference, using best effort converting if value is not of type Reference.
|
Boolean |
asBoolean()
Attempts to return value as Boolean, using best effort converting if value is not of type Boolean.
|
PropertySet |
asData()
Attempts to return value as RootDataSet, using best effort converting if value is not of type RootDataSet.
|
Double |
asDouble()
Attempts to return value as Double, using best effort converting if value is not of type Double.
|
GeoPoint |
asGeoPoint() |
Instant |
asInstant()
Attempts to return value as java.time.Instant, using best effort converting if value is not of type java.time.Instant.
|
Link |
asLink()
Attempts to return value as Reference, using best effort converting if value is not of type Reference.
|
LocalDate |
asLocalDate()
Attempts to return value as LocalDate, using best effort converting if value is not of type LocalDate.
|
LocalDateTime |
asLocalDateTime() |
LocalTime |
asLocalTime() |
Long |
asLong()
Attempts to return value as Long, using best effort converting if value is not of type Long.
|
Reference |
asReference()
Attempts to return value as Reference, using best effort converting if value is not of type Reference.
|
String |
asString()
Attempts to return value as String, using best effort converting if value is not of type String.
|
boolean |
equals(Object o) |
Object |
getObject()
Returns value as Object.
|
ValueType |
getType() |
int |
hashCode() |
boolean |
isDateType() |
boolean |
isGeoPoint() |
boolean |
isJavaType(Class javaType) |
boolean |
isNull() |
boolean |
isNumericType() |
boolean |
isPropertySet() |
boolean |
isSet() |
boolean |
isString() |
static Value |
newBinary(BinaryReference value) |
static Value |
newBoolean(Boolean value) |
static Value |
newData(PropertySet value) |
static Value |
newDouble(Double value) |
static Value |
newGeoPoint(GeoPoint value) |
static Value |
newHtmlPart(String value) |
static Value |
newInstant(Instant value) |
static Value |
newLink(Link value) |
static Value |
newLocalDate(LocalDate value) |
static Value |
newLocalDateTime(LocalDateTime value) |
static Value |
newLocalTime(LocalTime value) |
static Value |
newLong(Long value) |
static Value |
newReference(Reference value) |
static Value |
newString(String value) |
static Value |
newXml(String value) |
String |
toString() |
public boolean isSet()
public boolean isString()
public boolean isDateType()
public boolean isNumericType()
public boolean isGeoPoint()
public boolean isJavaType(Class javaType)
public ValueType getType()
public Object getObject()
public PropertySet asData() throws ClassCastException
ClassCastException
public String asString()
public Long asLong()
public Boolean asBoolean()
public Double asDouble()
public LocalDate asLocalDate()
public LocalTime asLocalTime()
public LocalDateTime asLocalDateTime()
public Instant asInstant()
public GeoPoint asGeoPoint()
public Reference asReference()
public BinaryReference asBinaryReference()
public Link asLink()
public static Value newLocalDateTime(LocalDateTime value)
public static Value newBinary(BinaryReference value)
public static Value newData(PropertySet value)
public boolean isNull()
public boolean isPropertySet()