Class GetServerPreGeneratedValue

java.lang.Object
com.ptc.core.rule.server.impl.GetServerPreGeneratedValue
All Implemented Interfaces:
RuleAlgorithm

public final class GetServerPreGeneratedValue extends Object implements RuleAlgorithm
Input Parameter of the algorithm: null Return value of the algorithm: The RuleConstraintWrapper object that the string value contains PRE_GENERATED_VALUE defined at RuleConstraintConstants and Serializable set to null. PRE_GENERATED_VALUE is a pseudo-constraint used by the rule service internally.

Supported API: true
  • Method Details

    • calculate

      public Object calculate(Object[] args, WTContainerRef container) throws WTException
      Execute the algorithm using the specified arguments. Return the result.

      Supported API: true
      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