com.amazon.carbonado.raw
Class StorablePropertyInfo

java.lang.Object
  extended by com.amazon.carbonado.raw.StorablePropertyInfo
All Implemented Interfaces:
GenericPropertyInfo

public class StorablePropertyInfo
extends Object
implements GenericPropertyInfo

Author:
Brian S O'Neill

Method Summary
 void addInvokeReadMethod(CodeAssembler a)
           
 void addInvokeReadMethod(CodeAssembler a, TypeDesc instanceType)
           
 void addInvokeWriteMethod(CodeAssembler a)
           
 void addInvokeWriteMethod(CodeAssembler a, TypeDesc instanceType)
           
 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.
 String getReadMethodName()
           
 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.
 String getWriteMethodName()
           
 boolean isDerived()
           
 boolean isLob()
           
 boolean isNullable()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPropertyName

public String getPropertyName()
Specified by:
getPropertyName in interface GenericPropertyInfo

getPropertyType

public TypeDesc getPropertyType()
Description copied from interface: GenericPropertyInfo
Returns the user specified property type.

Specified by:
getPropertyType in interface GenericPropertyInfo

getStorageType

public TypeDesc getStorageType()
Description copied from interface: GenericPropertyInfo
Returns the storage supported type. If it differs from the property type, then adapter methods must also exist.

Specified by:
getStorageType in interface GenericPropertyInfo

isNullable

public boolean isNullable()
Specified by:
isNullable in interface GenericPropertyInfo

isLob

public boolean isLob()
Specified by:
isLob in interface GenericPropertyInfo

isDerived

public boolean isDerived()
Specified by:
isDerived in interface GenericPropertyInfo

getFromStorageAdapter

public Method getFromStorageAdapter()
Description copied from interface: GenericPropertyInfo
Returns the optional method used to adapt the property from the storage supported type to the user visible type.

Specified by:
getFromStorageAdapter in interface GenericPropertyInfo

getToStorageAdapter

public Method getToStorageAdapter()
Description copied from interface: GenericPropertyInfo
Returns the optional method used to adapt the property from the user visible type to the storage supported type.

Specified by:
getToStorageAdapter in interface GenericPropertyInfo

getReadMethodName

public String getReadMethodName()

addInvokeReadMethod

public void addInvokeReadMethod(CodeAssembler a)

addInvokeReadMethod

public void addInvokeReadMethod(CodeAssembler a,
                                TypeDesc instanceType)

getWriteMethodName

public String getWriteMethodName()

addInvokeWriteMethod

public void addInvokeWriteMethod(CodeAssembler a)

addInvokeWriteMethod

public void addInvokeWriteMethod(CodeAssembler a,
                                 TypeDesc instanceType)

toString

public String toString()
Overrides:
toString in class Object


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