Class PersonOrPlaceAlternatedIdentifierRuleAlgorithm

java.lang.Object
com.ptc.qualitymanagement.masterdata.entity.util.PersonOrPlaceAlternatedIdentifierRuleAlgorithm
All Implemented Interfaces:
RuleAlgorithm

public class PersonOrPlaceAlternatedIdentifierRuleAlgorithm extends Object implements RuleAlgorithm
Rule algorithm to default a reference to a Person or Place.

Supported API: true

Extendable: false
  • Method Details

    • calculate

      public Object calculate(Object[] args, WTContainerRef container) throws WTException
      Return the first Person or Place with the Alternate Identifier provided as the first argument. Optional second parameter is the path of the Quality.
      Example: /wt.inf.container.OrgContainer=Demo Organization/wt.inf.library.WTLibrary=DivA
      Specified by:
      calculate in interface RuleAlgorithm
      Parameters:
      args - the arguments for the algorithm
      container - the container to use for object lookups
      Returns:
      Object
      Throws:
      WTException
      See Also: