java.lang.Object
com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator
All Implemented Interfaces:
RuleAlgorithm

public class NumberGenerator extends Object implements RuleAlgorithm
An algorithm that generates a number using the EnterpriseHelper.getNumber(java.lang.Object[]) method.

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