com.amazon.carbonado.raw
Interface GenericPropertyInfo

All Known Implementing Classes:
StorablePropertyInfo

public interface GenericPropertyInfo

Minimal information required by GenericEncodingStrategy to encode and decode a storable property.

Author:
Brian S O'Neill

Method Summary
 Method getFromStorageAdapter()
          Returns the optional method used to adapt the property from the storage supported type to the user visible type.
 String getPropertyName()
           
 TypeDesc getPropertyType()
          Returns the user specified property type.
 TypeDesc getStorageType()
          Returns the storage supported type.
 Method getToStorageAdapter()
          Returns the optional method used to adapt the property from the user visible type to the storage supported type.
 boolean isDerived()
           
 boolean isLob()
           
 boolean isNullable()
           
 

Method Detail

getPropertyName

String getPropertyName()

getPropertyType

TypeDesc getPropertyType()
Returns the user specified property type.


getStorageType

TypeDesc getStorageType()
Returns the storage supported type. If it differs from the property type, then adapter methods must also exist.


isNullable

boolean isNullable()

isLob

boolean isLob()

isDerived

boolean isDerived()

getFromStorageAdapter

Method getFromStorageAdapter()
Returns the optional method used to adapt the property from the storage supported type to the user visible type.


getToStorageAdapter

Method getToStorageAdapter()
Returns the optional method used to adapt the property from the user visible type to the storage supported type.



Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.