Class CreateNewInformationElementPopulator
java.lang.Object
com.ptc.core.components.forms.DefaultAttributePopulator
com.ptc.arbortext.windchill.techpubs.doc.forms.CreateNewInformationElementPopulator
- All Implemented Interfaces:
com.ptc.core.components.forms.AttributePopulator,Externalizable,Serializable
This class supports API to set the value specified against the attribute identifier in the TypeInstance.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class com.ptc.core.components.forms.DefaultAttributePopulator
EXTERNALIZATION_VERSION_UID -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetAttribute(TypeInstance ti, AttributeIdentifier ai, Object value) Set the value specified against the attribute identifier in the TypeInstance.Methods inherited from class com.ptc.core.components.forms.DefaultAttributePopulator
attemptToSetAttrValueFromFormData, getAllValueChangedAttributes, getAttrValueFromFormData, getContainerRef, isContainerOverridable, readExternal, setAttributeState, setAttributeValues, writeExternal
-
Method Details
-
setAttribute
protected void setAttribute(TypeInstance ti, AttributeIdentifier ai, Object value) throws WTException Set the value specified against the attribute identifier in the TypeInstance. Upon setting the value in the TypeInstance, the state of the attribute will be set toState.DEFAULT.
Supported API: true- Parameters:
ti- The type instance.ai- The attribute to set in the type instancevalue- The value to set for the attribute in the type instance.- Throws:
WTException
-