com.agfa.hap.sdo.mapper
Interface PropertyAccessor
- All Known Implementing Classes:
- AbstractPropertyAccessor, BeanPropertyAccessor, FalsePropertyAccessor, ManyValuedBeanPropertyAccessor, ManyValuedNullPropertyAccessor, NullPropertyAccessor, TruePropertyAccessor
public interface PropertyAccessor
Interface that allows property values to be accessed in a generic way from any instance.
Typically propertyaccessors will be registered in a sdo-propertyaccessors.properties file which is read by ExtendablePropertyAccessorBuilder
To allow for efficient retrieval, some properties are always accessed in bulk. A typical
example is a property for which a query needs to be made.
- Author:
- AMOCZ
getValue
java.lang.Object getValue(java.lang.Object instance,
Property property,
DataMapper dataMapper)
setValue
void setValue(java.lang.Object instance,
Property property,
java.lang.Object value,
DataMapper dataMapper)
isBulkAccessor
boolean isBulkAccessor()
getValues
java.util.Collection<?> getValues(java.util.Collection<?> instances,
Property property,
SnapshotDefinition def,
DataMapper dataMapper)
Copyright © 2007. All Rights Reserved.