com.agfa.hap.sdo
Interface ObjectPropertyVisitor

All Known Implementing Classes:
DataObjectConverter

public interface ObjectPropertyVisitor

Visitor interface for visiting all properties belong to a snapshot.

Author:
AMOCZ
See Also:
SnapshotDefinition

Method Summary
 void endDataObject(java.lang.Object instance, Type type)
           
 void startDataObject(java.lang.Object instance, Type type)
           
 void visitBulkProperty(java.lang.Object instance, Property property, SnapshotDefinition subselect)
          Bulk properties are properties that are heavy to retrieve and as such should be visited in bulk.
 boolean visitProperty(java.lang.Object instance, Property property, java.lang.Object value)
           
 void visitProxyProperty(java.lang.Object instance, Property property, java.lang.Object identity)
           
 

Method Detail

startDataObject

void startDataObject(java.lang.Object instance,
                     Type type)
                     throws java.lang.Exception
Throws:
java.lang.Exception

visitProperty

boolean visitProperty(java.lang.Object instance,
                      Property property,
                      java.lang.Object value)
                      throws java.lang.Exception
Parameters:
instance -
property -
value -
Returns:
true if value can be further visited recursively
Throws:
java.lang.Exception

visitProxyProperty

void visitProxyProperty(java.lang.Object instance,
                        Property property,
                        java.lang.Object identity)
                        throws java.lang.Exception
Throws:
java.lang.Exception

endDataObject

void endDataObject(java.lang.Object instance,
                   Type type)
                   throws java.lang.Exception
Throws:
java.lang.Exception

visitBulkProperty

void visitBulkProperty(java.lang.Object instance,
                       Property property,
                       SnapshotDefinition subselect)
Bulk properties are properties that are heavy to retrieve and as such should be visited in bulk. A typical example is a property that can only be filled in by doing a query. Bulk properties are visited after all other objects have been visited.



Copyright © 2007. All Rights Reserved.