|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.agfa.hap.sdo.mapper.DelegatingPartialDataObjectMapper<T>
public class DelegatingPartialDataObjectMapper<T>
Constructor Summary | |
---|---|
DelegatingPartialDataObjectMapper(DataMapper<T> delegateDataMapper)
|
Method Summary | |
---|---|
T |
create(Type type)
|
Type |
getCorrespondingType(java.lang.Class clazz)
|
java.util.Iterator<? extends T> |
getObjects(T object,
Property property)
|
java.util.Collection<T> |
getProperties(java.util.Collection<T> object,
Property bulkProperty,
SnapshotDefinition def)
Return the corresponding values for this bulk property for the given object. |
java.lang.Object |
getProperty(T object,
Property property)
|
Type |
getType(T object)
|
boolean |
isBulkProperty(java.lang.Class clazz,
Property property)
|
boolean |
isProxy(T object)
|
T |
newProxy(Type type,
java.lang.Object identity)
Create a new proxy. |
void |
setProperty(T object,
Property property,
java.lang.Object value)
Assigns the given value to the property of the object. |
void |
setUnavailable(T object,
Property property)
Marks a property as unavailable ( PartialDataObject#isAvailable(Property)} . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatingPartialDataObjectMapper(DataMapper<T> delegateDataMapper)
Method Detail |
---|
public T create(Type type)
create
in interface DataMapper<T>
DataMapper.getCorrespondingType(Class)
public Type getCorrespondingType(java.lang.Class clazz)
getCorrespondingType
in interface DataMapper<T>
public java.lang.Object getProperty(T object, Property property)
getProperty
in interface DataMapper<T>
public T newProxy(Type type, java.lang.Object identity)
DataMapper
newProxy
in interface DataMapper<T>
public java.util.Iterator<? extends T> getObjects(T object, Property property)
getObjects
in interface DataMapper<T>
public Type getType(T object)
getType
in interface DataMapper<T>
public boolean isProxy(T object)
isProxy
in interface DataMapper<T>
public void setProperty(T object, Property property, java.lang.Object value)
DataMapper
setProperty
in interface DataMapper<T>
public void setUnavailable(T object, Property property)
DataMapper
PartialDataObject#isAvailable(Property)}
.
setUnavailable
in interface DataMapper<T>
public java.util.Collection<T> getProperties(java.util.Collection<T> object, Property bulkProperty, SnapshotDefinition def)
DataMapper
getProperties
in interface DataMapper<T>
public boolean isBulkProperty(java.lang.Class clazz, Property property)
isBulkProperty
in interface DataMapper<T>
DataMapper.getProperties(Collection, Property, SnapshotDefinition)
to allow more efficient retrieval.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |