001    package railo.runtime.orm.hibernate.tuplizer.accessors;
002    
003    import org.hibernate.PropertyNotFoundException;
004    import org.hibernate.property.Getter;
005    import org.hibernate.property.PropertyAccessor;
006    import org.hibernate.property.Setter;
007    
008    public class CFCAccessor implements PropertyAccessor {
009            
010            public CFCAccessor(){
011            }
012            
013            public Getter getGetter(Class clazz, String propertyName) throws PropertyNotFoundException {
014                    return new CFCGetter(propertyName);
015            }
016            
017            /**
018             * {@inheritDoc}
019             */
020            public Setter getSetter(Class clazz, String propertyName)       throws PropertyNotFoundException {
021                    return new CFCSetter(propertyName);
022            }
023    
024    }