public interface PropertySerializabilityEvaluator
Modifier and Type | Method and Description |
---|---|
PropertyType |
determinePropertyType(Object object)
Determines the type of a object
|
void |
initializeEvaluatorForDataObject(Object businessObject) |
void |
initializeEvaluatorForDocument(Document document)
Initializes the evaluator so that calls to
isPropertySerializable(SerializationState, Object, String, Object) and
determinePropertyType(Object) will function properly |
boolean |
isPropertySerializable(SerializationState state,
Object containingObject,
String childPropertyName,
Object childPropertyValue)
Determines whether a child property of an object is serializable.
|
void initializeEvaluatorForDocument(Document document)
isPropertySerializable(SerializationState, Object, String, Object)
and
determinePropertyType(Object)
will function properlydocument
- the document instancevoid initializeEvaluatorForDataObject(Object businessObject)
boolean isPropertySerializable(SerializationState state, Object containingObject, String childPropertyName, Object childPropertyValue)
state
- Information about the properties that have been serialized so farcontainingObject
- The object containing the reference to childPropertyValuechildPropertyName
- The name property to determine whether to serialize, relative to containingObject (i.e. not a nested attribute)childPropertyValue
- If serializable, this property would be serialized by the serializer service.PropertyType determinePropertyType(Object object)
object
- Copyright © 2005–2015 The Kuali Foundation. All rights reserved.