public class EntryIntrospector<T extends Entry> extends AbstractTypeIntrospector<T>
| Modifier and Type | Field and Description |
|---|---|
static byte |
EXTERNALIZABLE_CODE |
_documentObjectConverter, _typeDesc| Constructor and Description |
|---|
EntryIntrospector()
Default constructor for Externalizable.
|
EntryIntrospector(ITypeDesc typeDesc) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getDynamicProperties(T target) |
protected Object |
getDynamicProperty(T target,
String name) |
protected EntryInfo |
getEntryInfo(T target) |
byte |
getExternalizableCode() |
Class<?> |
getPathType(String path) |
long |
getTimeToLive(T target) |
Class<T> |
getType() |
String |
getUID(T target,
boolean isTemplate,
boolean ignoreAutoGenerateUid) |
Object |
getValue(T target,
int index) |
Object[] |
getValues(T target) |
int |
getVersion(T target) |
boolean |
hasDynamicProperties() |
boolean |
hasTimeToLiveProperty(T target) |
boolean |
hasTransientProperty(T target) |
boolean |
hasUID(T target) |
boolean |
hasVersionProperty(T target) |
protected void |
init(Class<T> clz) |
boolean |
isTransient(T target) |
T |
newInstance() |
protected Object[] |
processDocumentObjectInterop(Object[] values,
EntryType entryType,
boolean cloneOnChange) |
void |
readExternal(ObjectInput in,
PlatformLogicalVersion version) |
void |
setDynamicProperties(T target,
Map<String,Object> dynamicProperties) |
void |
setDynamicProperty(T target,
String name,
Object value) |
void |
setEntryInfo(T target,
String uid,
int version,
long ttl) |
boolean |
setTimeToLive(T target,
long ttl) |
boolean |
setTransient(T target,
boolean isTransient) |
boolean |
setUID(T target,
String uid) |
void |
setValue(T target,
Object value,
int index) |
void |
setValues(T target,
Object[] values) |
boolean |
setVersion(T target,
int version) |
boolean |
supportsNestedOperations() |
void |
unsetDynamicProperty(T target,
String name) |
void |
writeExternal(ObjectOutput out,
PlatformLogicalVersion version)
NOTE: if you change this method, you need to make this class ISwapExternalizable
|
fromDocumentIfNeeded, getNestedValue, getPathValue, getPathValue, getRouting, getSerializedValues, getTypeDesc, getUID, getValue, hasConstructorProperties, initialize, instantiateObject, propertyHasNullValue, readExternal, setValue, toDocumentIfNeeded, toObject, toObject, toObject, writeExternalpublic static final byte EXTERNALIZABLE_CODE
public EntryIntrospector()
public EntryIntrospector(ITypeDesc typeDesc) throws NoSuchMethodException
NoSuchMethodExceptionprotected void init(Class<T> clz) throws NoSuchMethodException
NoSuchMethodExceptionpublic T newInstance() throws InstantiationException, IllegalAccessException, InvocationTargetException
newInstance in class AbstractTypeIntrospector<T extends Entry>InstantiationExceptionIllegalAccessExceptionInvocationTargetExceptionprotected Object[] processDocumentObjectInterop(Object[] values, EntryType entryType, boolean cloneOnChange)
processDocumentObjectInterop in class AbstractTypeIntrospector<T extends Entry>public int getVersion(T target)
public boolean setVersion(T target, int version)
public boolean isTransient(T target)
public boolean setTransient(T target, boolean isTransient)
public boolean hasDynamicProperties()
public void setDynamicProperties(T target, Map<String,Object> dynamicProperties)
protected Object getDynamicProperty(T target, String name)
getDynamicProperty in class AbstractTypeIntrospector<T extends Entry>public long getTimeToLive(T target)
public boolean setTimeToLive(T target, long ttl)
public boolean hasTimeToLiveProperty(T target)
public boolean hasTransientProperty(T target)
public boolean hasUID(T target)
public boolean hasVersionProperty(T target)
public boolean supportsNestedOperations()
supportsNestedOperations in interface ITypeIntrospector<T extends Entry>supportsNestedOperations in class AbstractTypeIntrospector<T extends Entry>public Class<?> getPathType(String path)
getPathType in interface ITypeIntrospector<T extends Entry>getPathType in class AbstractTypeIntrospector<T extends Entry>public byte getExternalizableCode()
public void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException
readExternal in interface ITypeIntrospector<T extends Entry>readExternal in class AbstractTypeIntrospector<T extends Entry>IOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out, PlatformLogicalVersion version) throws IOException
AbstractTypeIntrospectorwriteExternal in interface ITypeIntrospector<T extends Entry>writeExternal in class AbstractTypeIntrospector<T extends Entry>IOExceptionCopyright © GigaSpaces.