public interface VirtualEntry
Modifier and Type | Method and Description |
---|---|
VirtualEntry |
addProperties(Map<String,Object> properties)
Adds the specified properties to the document's current properties.
|
boolean |
containsProperty(String name)
Returns true if this document contains the specified property.
|
Map<String,Object> |
getProperties()
Returns an unmodifiable view of the document's properties.
|
<T> T |
getProperty(String name)
Gets a property's value by its name.
|
String |
getTypeName() |
int |
getVersion()
Returns the entry's version.
|
boolean |
isTransient() |
<T> T |
removeProperty(String name)
Removes the property from the document (if it exists).
|
VirtualEntry |
setProperty(String name,
Object value)
Sets a property's value by its name.
|
VirtualEntry |
setTransient(boolean isTransient)
Sets whether or not the entry is transient.
|
VirtualEntry |
setTypeName(String typeName)
Sets the document type name.
|
VirtualEntry |
setVersion(int version)
Sets the entry's version.
|
String getTypeName()
VirtualEntry setTypeName(String typeName)
typeName
- Type name to set.int getVersion()
VirtualEntry setVersion(int version)
boolean isTransient()
VirtualEntry setTransient(boolean isTransient)
boolean containsProperty(String name)
name
- Name of property to look for.<T> T getProperty(String name)
name
- Name of property.VirtualEntry setProperty(String name, Object value)
name
- Name of propertyvalue
- New value of property.<T> T removeProperty(String name)
name
- Name of property to remove.Map<String,Object> getProperties()
VirtualEntry addProperties(Map<String,Object> properties)
properties
- Properties to add.Copyright © GigaSpaces.