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

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

public class RestrictedTypeClassAccessor
extends org.hibernate.property.BasicPropertyAccessor

This Accessor is responsible for the persistance, of a restricted type, to a Database. The actual Class name will be saved to the Database.


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 RESTRICTED_TYPE_CLASS
          The Column that contains the Java Class name of the restricted Type.
 
Constructor Summary
RestrictedTypeClassAccessor()
           
 
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

RESTRICTED_TYPE_CLASS

public static final String RESTRICTED_TYPE_CLASS
The Column that contains the Java Class name of the restricted Type.

See Also:
Constant Field Values
Constructor Detail

RestrictedTypeClassAccessor

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