|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.agfa.hap.sdo.mapper.PartialDataObjectMapper
public class PartialDataObjectMapper
Default implementation that only support object that are instances
of PartialDataObject
.
Constructor Summary | |
---|---|
PartialDataObjectMapper()
|
Method Summary | |
---|---|
PartialDataObject |
create(Type type)
|
Type |
getCorrespondingType(java.lang.Class clazz)
|
java.util.Iterator<PartialDataObject> |
getObjects(PartialDataObject object,
Property property)
|
java.util.Collection<PartialDataObject> |
getProperties(java.util.Collection<PartialDataObject> object,
Property bulkProperty,
SnapshotDefinition def)
Return the corresponding values for this bulk property for the given object. |
java.lang.Object |
getProperty(PartialDataObject object,
Property property)
|
Type |
getType(PartialDataObject object)
|
boolean |
isBulkProperty(java.lang.Class clazz,
Property property)
|
boolean |
isProxy(PartialDataObject object)
|
PartialDataObject |
newProxy(Type type,
java.lang.Object identity)
Create a new proxy. |
void |
setProperty(PartialDataObject object,
Property property,
java.lang.Object value)
Assigns the given value to the property of the object. |
void |
setUnavailable(PartialDataObject 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 PartialDataObjectMapper()
Method Detail |
---|
public java.util.Iterator<PartialDataObject> getObjects(PartialDataObject object, Property property)
getObjects
in interface DataMapper<PartialDataObject>
public java.lang.Object getProperty(PartialDataObject object, Property property)
getProperty
in interface DataMapper<PartialDataObject>
public Type getType(PartialDataObject object)
getType
in interface DataMapper<PartialDataObject>
public Type getCorrespondingType(java.lang.Class clazz)
getCorrespondingType
in interface DataMapper<PartialDataObject>
public void setProperty(PartialDataObject object, Property property, java.lang.Object value)
DataMapper
setProperty
in interface DataMapper<PartialDataObject>
public void setUnavailable(PartialDataObject object, Property property)
DataMapper
PartialDataObject#isAvailable(Property)}
.
setUnavailable
in interface DataMapper<PartialDataObject>
public PartialDataObject create(Type type)
create
in interface DataMapper<PartialDataObject>
DataMapper.getCorrespondingType(Class)
public PartialDataObject newProxy(Type type, java.lang.Object identity)
DataMapper
newProxy
in interface DataMapper<PartialDataObject>
public boolean isProxy(PartialDataObject object)
isProxy
in interface DataMapper<PartialDataObject>
public java.util.Collection<PartialDataObject> getProperties(java.util.Collection<PartialDataObject> object, Property bulkProperty, SnapshotDefinition def)
DataMapper
getProperties
in interface DataMapper<PartialDataObject>
public boolean isBulkProperty(java.lang.Class clazz, Property property)
isBulkProperty
in interface DataMapper<PartialDataObject>
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 |