com.agfa.hap.sdo.mapper
Class AbstractPropertyAccessor

java.lang.Object
  extended by com.agfa.hap.sdo.mapper.AbstractPropertyAccessor
All Implemented Interfaces:
PropertyAccessor
Direct Known Subclasses:
FalsePropertyAccessor, NullPropertyAccessor, TruePropertyAccessor

public abstract class AbstractPropertyAccessor
extends java.lang.Object
implements PropertyAccessor

Abstract shell implementation for PropertyAccessor.

Author:
AMOCZ

Constructor Summary
AbstractPropertyAccessor()
           
 
Method Summary
 java.lang.Object getValue(java.lang.Object instance, Property property, DataMapper dataMapper)
           
 java.util.Collection<?> getValues(java.util.Collection<?> instances, Property property, SnapshotDefinition def, DataMapper dataMapper)
           
 boolean isBulkAccessor()
           
 void setValue(java.lang.Object instance, Property property, java.lang.Object value, DataMapper dataMapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPropertyAccessor

public AbstractPropertyAccessor()
Method Detail

getValue

public java.lang.Object getValue(java.lang.Object instance,
                                 Property property,
                                 DataMapper dataMapper)
Specified by:
getValue in interface PropertyAccessor

getValues

public java.util.Collection<?> getValues(java.util.Collection<?> instances,
                                         Property property,
                                         SnapshotDefinition def,
                                         DataMapper dataMapper)
Specified by:
getValues in interface PropertyAccessor

isBulkAccessor

public boolean isBulkAccessor()
Specified by:
isBulkAccessor in interface PropertyAccessor

setValue

public void setValue(java.lang.Object instance,
                     Property property,
                     java.lang.Object value,
                     DataMapper dataMapper)
Specified by:
setValue in interface PropertyAccessor


Copyright © 2007. All Rights Reserved.