EntityProperty Class

Definition

A class which represents a single typed property value in a table entity. An EntityProperty stores the data type as an EdmType. The value, which may be for object types, but not for primitive types, is serialized and stored as a .

EntityProperty provides overloaded constructors and overloads of the method for supported value types. Each overloaded constructor or method sets the EdmType and serializes the value appropriately based on the parameter type.

Use one of the Type methods to deserialize an EntityProperty as the appropriate Java type. The method will throw a ParseException or IllegalArgumentException if the EntityProperty cannot be deserialized as the Java type.

public class EntityProperty
Inheritance
java.lang.Object
EntityProperty

Constructors

EntityProperty(final boolean value)

Constructs an EntityProperty instance from a value.

EntityProperty(final Boolean value)

Constructs an EntityProperty instance from a value.

EntityProperty(final byte[] value)

Constructs an EntityProperty instance from a value.

EntityProperty(final Byte[] value)

Constructs an EntityProperty instance from a .

EntityProperty(final Date value)

Constructs an EntityProperty instance from a value.

EntityProperty(final double value)

Constructs an EntityProperty instance from a value.

EntityProperty(final Double value)

Constructs an EntityProperty instance from a value.

EntityProperty(final int value)

Constructs an EntityProperty instance from an value.

EntityProperty(final Integer value)

Constructs an EntityProperty instance from an value.

EntityProperty(final long value)

Constructs an EntityProperty instance from a value.

EntityProperty(final Long value)

Constructs an EntityProperty instance from a value.

EntityProperty(final Object value, final Class<?> type)

Reserved for internal use. Constructs an EntityProperty instance from a value and a data type, and verifies that the value can be interpreted as the specified data type.

EntityProperty(final String value)

Constructs an EntityProperty instance from a value.

EntityProperty(final String value, final Class<?> type)

Reserved for internal use. Constructs an EntityProperty instance from a value type, and verifies that the value can be interpreted as the specified data type.

EntityProperty(final String value, final EdmType edmType)

Reserved for internal use. Constructs an EntityProperty instance from a value and a data type, and verifies that the value can be interpreted as the specified data type.

EntityProperty(final UUID value)

Constructs an EntityProperty instance from a value.

Methods

getEdmType()

Gets the EdmType storage data type for the EntityProperty.

getIsNull()

Gets a flag indicating that the EntityProperty value is .

getType()

Gets the class type of the EntityProperty.

getValueAsBoolean()

Gets the value of this EntityProperty as a .

getValueAsBooleanObject()

Gets the value of this EntityProperty as a .

getValueAsByteArray()

Gets the value of this EntityProperty as a array.

getValueAsByteObjectArray()

Gets the value of this EntityProperty as a array.

getValueAsDate()

Gets the value of this EntityProperty as a .

getValueAsDouble()

Gets the value of this EntityProperty as a .

getValueAsDoubleObject()

Gets the value of this EntityProperty as a .

getValueAsInteger()

Gets the value of this EntityProperty as an .

getValueAsIntegerObject()

Gets the value of this EntityProperty as an .

getValueAsLong()

Gets the value of this EntityProperty as a .

getValueAsLongObject()

Gets the value of this EntityProperty as a .

getValueAsString()

Gets the value of this EntityProperty as a .

getValueAsUUID()

Gets the value of this EntityProperty as a .

isEncrypted()

Gets a flag indicating whether the EntityProperty value is encrypted.

setIsEncrypted(boolean isEncrypted)

Sets a flag indicating whether the EntityProperty value is encrypted.

setValue(final boolean value)

Sets this EntityProperty using the serialized value.

setValue(final Boolean value)

Sets this EntityProperty using the serialized value.

setValue(final byte[] value)

Sets this EntityProperty using the serialized value.

setValue(final Byte[] value)

Sets this EntityProperty using the serialized value.

setValue(final Date value)

Sets this EntityProperty using the serialized value.

setValue(final double value)

Sets this EntityProperty using the serialized value.

setValue(final Double value)

Sets this EntityProperty using the serialized value.

setValue(final int value)

Sets this EntityProperty using the serialized value.

setValue(final Integer value)

Sets this EntityProperty using the serialized value.

setValue(final long value)

Sets this EntityProperty using the serialized value.

setValue(final Long value)

Sets this EntityProperty using the serialized value.

setValue(final String value)

Sets this EntityProperty using the value.

setValue(final UUID value)

Sets this EntityProperty using the serialized value.

Applies to