Class RuleValidationObject

java.lang.Object
com.ptc.core.businessRules.validation.RuleValidationObject

public class RuleValidationObject extends Object
The RuleValidationObject contains a specific target object and target object link.

Supported API: true

Extendable: false
  • Constructor Details

    • RuleValidationObject

      public RuleValidationObject(WTReference seedObject, RuleValidationCriteria criteria)
      Creates a new instance of a RuleValidationObject the seed object and criteria are used to populate the target object and the target object link if the seed object is link.

      Supported API: true
      Parameters:
      seedObject -
      criteria -
  • Method Details

    • getTargetObject

      public WTReference getTargetObject()


      Supported API: true
      Returns:
      The target object for validation.
    • getTargetObjectLink

      public WTReference getTargetObjectLink()


      Supported API: true
      Returns:
      The target link for validation.
    • getChildObjects

      public Set<RuleValidationObject> getChildObjects()


      Supported API: true
      Returns:
      the collected structure for the target object.
    • setChildObjects

      public void setChildObjects(Set<RuleValidationObject> childObjects)
      Contains the collected structure for the target object.

      Supported API: true
      Parameters:
      targetObjectStructure -
    • getChildToLinksMap

      public WTKeyedMap getChildToLinksMap()
      Get the map from child object to the set of links.

      Supported API: true
      Returns:
      the collected structure for the target object.
    • setChildToLinksMap

      public void setChildToLinksMap(WTKeyedMap childLinkObjects)
      Sets the map from child object to the set of links.

      Supported API: true
      Parameters:
      targetObjectStructure -