com.ptc.windchill.enterprise.org.server.impl
Class OrgNameEqualsTest

java.lang.Object
  extended by com.ptc.windchill.enterprise.org.server.impl.OrgNameEqualsTest
All Implemented Interfaces:
RuleAlgorithm

public final class OrgNameEqualsTest
extends Object
implements RuleAlgorithm



Supported API: true

Extendable: false


Method Summary
 Object calculate(Object[] args, WTContainerRef container)
          Execute the algorithm using the specified arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

calculate

public Object calculate(Object[] args,
                        WTContainerRef container)
                 throws WTException
Execute the algorithm using the specified arguments. Return the result. < AttributeValues objType="wt.part.WTPart"> < AttrValue id="Number" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator" ignore="false" force="false" final="false"> < Value algorithm="wt.rule.algorithm.BooleanBranch"> < Value algorithm="wt.rule.algorithm.OrgNameEqualsTest"> < Attr id="organization.id"/> < Arg>188$12345 </Arg> </Value> <Arg>{GEN:wt.enterprise.SequenceGenerator111:WTPARTID_seq:10Ʉ0}</Arg> <Arg>{GEN:wt.enterprise.SequenceGenerator222:WTPARTID_seq:10Ʉ0}</Arg> </Value> </AttrValue> </AttributeValues>

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