Class FlexibleChangeIssueAttributePopulator

java.lang.Object
com.ptc.core.components.forms.DefaultAttributePopulator
com.ptc.windchill.enterprise.change2.forms.populators.ChangeObjectAttributePopulator
com.ptc.windchill.enterprise.change2.forms.populators.FlexibleChangeObjectAttributePopulator
com.ptc.windchill.enterprise.change2.forms.populators.FlexibleChangeIssueAttributePopulator
All Implemented Interfaces:
com.ptc.core.components.forms.AttributePopulator, Externalizable, Serializable

public class FlexibleChangeIssueAttributePopulator extends com.ptc.windchill.enterprise.change2.forms.populators.FlexibleChangeObjectAttributePopulator
Pre-populate the TypeInstance of the Problem Report or Variance based on the launching from other flexible change objects. Propagation from flexible supported change objects is only supported when the flexible association is enabled. If the launching point object is not a flexible supported change object, this method will return the unmodified TypeInstance. If the launch point object is of a correct type, this code will only modify the TypeInstance if the Propagation Component is enabled (through preferences)
If additional fields are desired, the getAttributeList() methods should be overloaded to provide the attributes to propagate.

Supported API: true

Extendable: true
See Also:
  • Method Details

    • getAlternateAttributeName

      protected String getAlternateAttributeName(String attributeName, ChangeItem changeItem)
      Will return Request Priority for Issue Priority when the change item is a Change request. When no alternate attribute name is found the passed in attribute name will be returned.

      Supported API: true
      Overrides:
      getAlternateAttributeName in class com.ptc.windchill.enterprise.change2.forms.populators.FlexibleChangeObjectAttributePopulator
      Parameters:
      attributeName - The attribute for the current create wizard object
      changeItem - The context object
      Returns:
      the context object attribute