Class GetDefaultContent

java.lang.Object
wt.rule.algorithm.GetDefaultContent
All Implemented Interfaces:
RuleAlgorithm

public final class GetDefaultContent extends Object implements RuleAlgorithm
Given soft type id and attribute type id, it returns the default value of this given attribute type.

Supported API: true

Extendable: false
  • 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