Interface PropertySerializabilityEvaluator

All Known Implementing Classes:
AlwaysFalsePropertySerializabilityEvaluator, AlwaysTruePropertySerializibilityEvaluator, BusinessObjectPropertySerializibilityEvaluator, MetadataPropertySerializabilityEvaluator, PropertySerializabilityEvaluatorBase

public interface PropertySerializabilityEvaluator
Specifies an implementation used during document workflow XML serialization that will be able to determine whether a specific property is serializable
  • Method Details

    • initializeEvaluatorForDocument

      void initializeEvaluatorForDocument(Document document)
      Initializes the evaluator so that calls to isPropertySerializable(SerializationState, Object, String, Object) and determinePropertyType(Object) will function properly
      Parameters:
      document - the document instance
    • initializeEvaluatorForDataObject

      void initializeEvaluatorForDataObject(Object businessObject)
    • isPropertySerializable

      boolean isPropertySerializable(SerializationState state, Object containingObject, String childPropertyName, Object childPropertyValue)
      Determines whether a child property of an object is serializable.
      Parameters:
      state - Information about the properties that have been serialized so far
      containingObject - The object containing the reference to childPropertyValue
      childPropertyName - 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.
      Returns:
    • determinePropertyType

      PropertyType determinePropertyType(Object object)
      Determines the type of a object
      Parameters:
      object -
      Returns: