biz.c24.io.api.presentation.hibernate
Class SimpleTypeSubstitutionAccessor

java.lang.Object
  extended by org.hibernate.property.BasicPropertyAccessor
      extended by biz.c24.io.api.presentation.hibernate.SimpleTypeSubstitutionAccessor
All Implemented Interfaces:
org.hibernate.property.PropertyAccessor

public class SimpleTypeSubstitutionAccessor
extends org.hibernate.property.BasicPropertyAccessor

A Hibernate property accessor. Use this Accessor for persisting SimpleDataType's that was substituted.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.property.BasicPropertyAccessor
org.hibernate.property.BasicPropertyAccessor.BasicGetter, org.hibernate.property.BasicPropertyAccessor.BasicSetter
 
Field Summary
static String SIMPLE_SUBSTITUTION_CLASS
          The column containing the Java Class name of the substitution.
 
Constructor Summary
SimpleTypeSubstitutionAccessor()
           
 
Method Summary
 org.hibernate.property.Getter getGetter(Class theClass, String propertyName)
           
 org.hibernate.property.Setter getSetter(Class theClass, String propertyName)
           
 
Methods inherited from class org.hibernate.property.BasicPropertyAccessor
createGetter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMPLE_SUBSTITUTION_CLASS

public static final String SIMPLE_SUBSTITUTION_CLASS
The column containing the Java Class name of the substitution.

See Also:
Constant Field Values
Constructor Detail

SimpleTypeSubstitutionAccessor

public SimpleTypeSubstitutionAccessor()
Method Detail

getGetter

public org.hibernate.property.Getter getGetter(Class theClass,
                                               String propertyName)
                                        throws org.hibernate.PropertyNotFoundException
Specified by:
getGetter in interface org.hibernate.property.PropertyAccessor
Overrides:
getGetter in class org.hibernate.property.BasicPropertyAccessor
Throws:
org.hibernate.PropertyNotFoundException

getSetter

public org.hibernate.property.Setter getSetter(Class theClass,
                                               String propertyName)
                                        throws org.hibernate.PropertyNotFoundException
Specified by:
getSetter in interface org.hibernate.property.PropertyAccessor
Overrides:
getSetter in class org.hibernate.property.BasicPropertyAccessor
Throws:
org.hibernate.PropertyNotFoundException


Copyright © 2002-2007 IONA Technologies. All Rights Reserved.