org.kuali.rice.krad.util.documentserializer
Class BusinessObjectPropertySerializibilityEvaluator
java.lang.Object
org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluatorBase
org.kuali.rice.krad.util.documentserializer.BusinessObjectPropertySerializibilityEvaluator
- All Implemented Interfaces:
- PropertySerializabilityEvaluator
public class BusinessObjectPropertySerializibilityEvaluator
- extends PropertySerializabilityEvaluatorBase
- implements PropertySerializabilityEvaluator
This implementation of PropertySerializabilityEvaluator
uses the <workflowProperties> defined within the data dictionary
for a document. If the property being serialized corresponds to one of the properties in the data dictionary, then it will be serialized.
If a property specified in the data dictionary corresponds to a business object, then all primitives will be serialized of the business object.
All primitives of a primitive that has already been serialized will be serialized as well. If a property specified in the data dictionary corresponds
to a collection, then all primitives of all collection elements will be serialized.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BusinessObjectPropertySerializibilityEvaluator
public BusinessObjectPropertySerializibilityEvaluator()
initializeEvaluatorForDocument
public void initializeEvaluatorForDocument(Document document)
- Reads the data dictionary to determine which properties of the document should be serialized.
- Specified by:
initializeEvaluatorForDocument
in interface PropertySerializabilityEvaluator
- Overrides:
initializeEvaluatorForDocument
in class PropertySerializabilityEvaluatorBase
- Parameters:
document
- the document instance- See Also:
org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluator#initializeEvaluator(org.kuali.rice.krad.document.Document)
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.