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

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

public class SubstitutionAccessor
extends org.hibernate.property.BasicPropertyAccessor

A Hibernate property accessor. Used to persist ComplexDataObject's that can have substitutions.


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 SUBSTITUTION_CLASS
          The column containing the Java Class name of the substitution.
 
Constructor Summary
SubstitutionAccessor()
           
 
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

SUBSTITUTION_CLASS

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

See Also:
Constant Field Values
Constructor Detail

SubstitutionAccessor

public SubstitutionAccessor()
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.