public class PropertyInfo extends Object implements SpacePropertyDescriptor, Externalizable
Constructor and Description |
---|
PropertyInfo()
Default constructor for Externalizable.
|
PropertyInfo(String name,
Class<?> type,
SpaceDocumentSupport documentSupport,
StorageType storageType) |
PropertyInfo(String name,
String typeName,
Class<?> type,
SpaceDocumentSupport documentSupport,
StorageType storageType,
byte dotNetStorageType) |
PropertyInfo(String name,
String typeName,
SpaceDocumentSupport documentSupport,
StorageType storageType) |
Modifier and Type | Method and Description |
---|---|
Object |
afterDeserialize(Object value) |
Object |
beforeSerialize(Object value) |
SpaceDocumentSupport |
getDocumentSupport()
Gets the document support setting of this property.
|
byte |
getDotnetStorageType() |
String |
getName()
Gets the property name.
|
StorageType |
getStorageType() |
Class<?> |
getType()
Gets the property type.
|
String |
getTypeDisplayName()
Gets the property display type name.
|
String |
getTypeName()
Gets the property type name.
|
boolean |
isCommonJavaType() |
boolean |
isPrimitive() |
boolean |
isSpacePrimitive() |
void |
readExternal(ObjectInput in) |
void |
setDefaultStorageType(StorageType defaultStorageType) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public PropertyInfo()
public PropertyInfo(String name, String typeName, SpaceDocumentSupport documentSupport, StorageType storageType)
public PropertyInfo(String name, Class<?> type, SpaceDocumentSupport documentSupport, StorageType storageType)
public PropertyInfo(String name, String typeName, Class<?> type, SpaceDocumentSupport documentSupport, StorageType storageType, byte dotNetStorageType)
public String getName()
SpacePropertyDescriptor
getName
in interface SpacePropertyDescriptor
public String getTypeName()
SpacePropertyDescriptor
getTypeName
in interface SpacePropertyDescriptor
public String getTypeDisplayName()
SpacePropertyDescriptor
getTypeDisplayName
in interface SpacePropertyDescriptor
public Class<?> getType()
SpacePropertyDescriptor
getType
in interface SpacePropertyDescriptor
public SpaceDocumentSupport getDocumentSupport()
SpacePropertyDescriptor
getDocumentSupport
in interface SpacePropertyDescriptor
public StorageType getStorageType()
getStorageType
in interface SpacePropertyDescriptor
public void setDefaultStorageType(StorageType defaultStorageType)
public byte getDotnetStorageType()
public boolean isPrimitive()
public boolean isSpacePrimitive()
public Object beforeSerialize(Object value) throws IOException
IOException
public Object afterDeserialize(Object value) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public boolean isCommonJavaType()
Copyright © GigaSpaces.