public interface ObjectValue extends SerializableValue
A typed value representing a Java Object.
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getObjectType()
Returns the Class this object is an instance of.
|
String |
getObjectTypeName()
A String representation of the Object's type name.
|
Object |
getValue()
Returns the Object or null in case the value is null.
|
<T> T |
getValue(Class<T> type)
Returns the object provided by this VariableValue.
|
boolean |
isDeserialized()
Returns true in case the object is deserialized.
|
getSerializationDataFormat, getType, getValueSerializedisTransientboolean isDeserialized()
isDeserialized in interface SerializableValueObject getValue()
getValue in interface SerializableValuegetValue in interface TypedValueIllegalStateException - in case the object is not deserialized. See isDeserialized().<T> T getValue(Class<T> type)
type - the java class the value should be cast toIllegalStateException - in case the object is not deserialized. See isDeserialized().Class<?> getObjectType()
IllegalStateException - in case the object is not deserialized. See isDeserialized().String getObjectTypeName()
Copyright © 2019. All rights reserved.