Package com.ptc.windchill.suma.npi
Class WTPartRequest
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
com.ptc.windchill.suma.npi._WTPartRequest
com.ptc.windchill.suma.npi.WTPartRequest
- All Implemented Interfaces:
com.ptc.windchill.suma.npi._PartRequestIfc,com.ptc.windchill.suma.npi._WTPartRequestTypeInterface,com.ptc.windchill.suma.npi.PartRequestIfc,com.ptc.windchill.suma.npi.WTPartRequestTypeInterface,Externalizable,Serializable,wt.access._AccessControlled,wt.access._AccessControlList,wt.access._AdHocControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.AccessControlList,AdHocControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.content._ContentHolder,ContentHolder,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,NetFactor,ObjectMappable,Persistable,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.inf.container._WTContained,WTContained,wt.lifecycle._IteratedLifeCycleManaged,_LifeCycleManaged,IteratedLifeCycleManaged,LifeCycleManaged,wt.locks._Lockable,Lockable,wt.notify._Notifiable,Notifiable,wt.ownership._Ownable,wt.ownership.Ownable,wt.recent.RecentlyVisited,_TeamManaged,TeamManaged,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged,_Iterated,wt.vc._Versionable,wt.vc._Versioned,Iterated,Versionable,Versioned,wt.vc.wip._Workable,Workable
@GenAsPersistable(superClass=WTObject.class,interfaces={com.ptc.windchill.suma.npi.PartRequestIfc.class,com.ptc.windchill.suma.npi.WTPartRequestTypeInterface.class},serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="description",type=java.lang.String.class,constraints=@PropertyConstraints(lowerLimit=1,upperLimit=2000,required=true)),@GeneratedProperty(name="justification",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=2000)),@GeneratedProperty(name="multipleSourceRequired",type=boolean.class,initialValue="true"),@GeneratedProperty(name="requiredBy",type=java.sql.Timestamp.class),@GeneratedProperty(name="approvedOn",type=java.sql.Timestamp.class),@GeneratedProperty(name="priority",type=PartRequestPriority.class,initialValue="PartRequestPriority.MEDIUM",constraints=@PropertyConstraints(required=true))},foreignKeys={@GeneratedForeignKey(name="PartRequestMasterPartRequest",foreignKeyRole=@ForeignKeyRole(name="master",type=com.ptc.windchill.suma.npi.WTPartRequestMaster.class,supportedAPI=PUBLIC,cascade=false,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="iteration",supportedAPI=PUBLIC,cascade=false)),@GeneratedForeignKey(myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="resultingPartMaster",type=WTPartMaster.class),myRole=@MyRole(name="partRequest",cardinality=ONE,cascade=true))},derivedProperties=@DerivedProperty(name="number",derivedFrom="master>number",supportedAPI=PUBLIC),iconProperties=@IconProperties(standardIcon="netmarkets/images/npi_create_request.gif",openIcon="netmarkets/images/npi_create_request.gif"))
public class WTPartRequest
extends _WTPartRequest
Use the newWTPartRequest static factory method(s), not the
WTPartRequest constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class com.ptc.windchill.suma.npi._WTPartRequest
NUMBERFields inherited from interface wt.vc._Iterated
CONTROL_BRANCH, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAMEFields inherited from interface wt.lifecycle._LifeCycleManaged
LIFE_CYCLE_STATE, STATEFields inherited from interface wt.team._TeamManaged
TEAM_ID, TEAM_TEMPLATE_ID -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: NUMBER.static WTPartRequest
Supported API: truevoidSets the value of the attribute: NUMBER.Methods inherited from class com.ptc.windchill.suma.npi._WTPartRequest
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getLifeCycleState, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, getState, getTeamId, getTeamTemplateId, isLatestIteration, setMaster, setMasterReferenceMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
getNumber
Gets the value of the attribute: NUMBER.
Supported API: true- Overrides:
getNumberin class_WTPartRequest- Returns:
- String
- See Also:
-
setNumber
Sets the value of the attribute: NUMBER.
Supported API: true- Overrides:
setNumberin class_WTPartRequest- Parameters:
a_Number-- Throws:
WTPropertyVetoException- See Also:
-
newWTPartRequest
Supported API: true- Returns:
- WTPartRequest
- Throws:
WTException
-