Class PartialValue

java.lang.Object
com.appiancorp.suiteapi.process.history.PartialValue

public final class PartialValue extends Object
PartialValue A PartialValue contains instructions to modify another value, such as changing particular fields or array elements, done in this way to save storage space. It is not meaningful by itself. Apply this PartialValue onto an existing CompleteValue, yielding another CompleteValue. Some AuditHistoryRows will have PartialValues, others will have CompleteValues. The first row of a given value for a domain!key in a process context will always be a CompleteValue, but subsequent rows may be PartialValues, which may then be applied _in order_ to the previous CompleteValue to yield another CompleteValue.
See Also:
  • Method Details

    • apply

      public CompleteValue apply(CompleteValue completeValue)
      apply this PartialValue to a previous CompleteValue, yielding the previous CompleteValue with the differences implied by this PartialValue applied.
      Parameters:
      completeValue -
      Returns:
    • apply

      public CompleteValue apply(ServiceContext serviceContext, CompleteValue completeValue)
      apply this PartialValue to a previous CompleteValue, yielding the previous CompleteValue with the differences implied by this PartialValue applied.
      Parameters:
      serviceContext - (could be used for Locale in casting dates and times to String)
      completeValue -
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      this result String is subject to change