com.ptc.windchill.enterprise.part.server.impl
Class SACFReferenceDesignatorRange

java.lang.Object
  extended by com.ptc.windchill.enterprise.part.server.impl.SACFReferenceDesignatorRange
All Implemented Interfaces:
AttributeContainerFunction, ServerAttributeContainerFunction, Serializable

public final class SACFReferenceDesignatorRange
extends Object
implements ServerAttributeContainerFunction

Places a Server Calculated Attribute in the AttributeContainer whose content is a reference designator range. If the reference designator can be edited, then the string is placed in the content, otherwise a ValueWrapperFunction is used to imply the range cannot be edited.

Supported API: true

Extendable: false

See Also:
Serialized Form

Method Summary
 Object calculate(AttributeContainer attribute_container)
          Returns the reference designator range See DefinitionResource.rbInfo or wt.part.partModelRB.rbInfo for the AttributeTypeIdentifiers this class can be constructed with.
 Object calculate(AttributeContainer attribute_container, AssociationIdentifier entry_point)
          

Supported API: true
 AttributeContainerFunction cloneWithNewArguments(HashMap old_to_new_map)
          

Supported API: true
 Object[] getArguments()
          

Supported API: true
 Object[] getArgumentsRecursive()
          

Supported API: true
 AttributeIdentifier[] getArgumentsRecursive(AttributeContainer the_attribute_container, AssociationIdentifier entry_point)
          

Supported API: true
 Object getPrimaryArgument()
          

Supported API: true
 AttributeContainerFunction valueOf(String str)
          Returns the AttributeContainerFunction object represented by the specified String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ptc.core.meta.container.common.AttributeContainerFunction
equals
 

Method Detail

calculate

public Object calculate(AttributeContainer attribute_container)
                 throws com.ptc.core.meta.container.common.InvalidFunctionArgumentException
Returns the reference designator range See DefinitionResource.rbInfo or wt.part.partModelRB.rbInfo for the AttributeTypeIdentifiers this class can be constructed with.

Supported API: true

Specified by:
calculate in interface AttributeContainerFunction
Parameters:
the_attribute_container -
Returns:
Object
Throws:
com.ptc.core.meta.container.common.InvalidFunctionArgumentException

calculate

public Object calculate(AttributeContainer attribute_container,
                        AssociationIdentifier entry_point)
                 throws com.ptc.core.meta.container.common.InvalidFunctionArgumentException


Supported API: true

Specified by:
calculate in interface AttributeContainerFunction
Parameters:
the_attribute_container -
entry_point -
Returns:
Object
Throws:
com.ptc.core.meta.container.common.InvalidFunctionArgumentException

getArguments

public Object[] getArguments()


Supported API: true

Specified by:
getArguments in interface AttributeContainerFunction
Returns:
Object[]

getPrimaryArgument

public Object getPrimaryArgument()


Supported API: true

Specified by:
getPrimaryArgument in interface AttributeContainerFunction
Returns:
Object

getArgumentsRecursive

public Object[] getArgumentsRecursive()


Supported API: true

Specified by:
getArgumentsRecursive in interface AttributeContainerFunction
Returns:
Object[]

getArgumentsRecursive

public AttributeIdentifier[] getArgumentsRecursive(AttributeContainer the_attribute_container,
                                                   AssociationIdentifier entry_point)


Supported API: true

Specified by:
getArgumentsRecursive in interface AttributeContainerFunction
Parameters:
the_attribute_container -
entry_point -
Returns:
AttributeIdentifier[]

cloneWithNewArguments

public AttributeContainerFunction cloneWithNewArguments(HashMap old_to_new_map)
                                                 throws com.ptc.core.meta.container.common.InvalidFunctionArgumentException


Supported API: true

Specified by:
cloneWithNewArguments in interface AttributeContainerFunction
Parameters:
old_to_new_map -
Returns:
AttributeContainerFunction
Throws:
com.ptc.core.meta.container.common.InvalidFunctionArgumentException

valueOf

public AttributeContainerFunction valueOf(String str)
                                   throws com.ptc.core.meta.container.common.InvalidFunctionArgumentException
Returns the AttributeContainerFunction object represented by the specified String. An AttributeContainerFunction object with empty constructor has to be created , then call this method to complete the argument setup. No new AttributeContainerFuncion object will be created.

Supported API: true

Specified by:
valueOf in interface AttributeContainerFunction
Parameters:
str - A String representation of AttributeContainerFunction
Returns:
AttributeContainerFunction
Throws:
com.ptc.core.meta.container.common.InvalidFunctionArgumentException