Package wt.part

Class WTPartMaster

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._Master
All Implemented Interfaces:
Externalizable, Serializable, wt.analytics._AnalyticsManageableMaster, wt.analytics.AnalyticsManageableMaster, wt.analytics.compliance._ComplianceManageableMaster, wt.analytics.compliance.ComplianceManageableMaster, wt.analytics.cost._CostManageableMaster, wt.analytics.cost.CostManageableMaster, wt.aum._AlternateUnitAssignable, AlternateUnitAssignable, wt.build.BuildTargetMaster, wt.configuration._ConfiguredMaster, _SerialNumbered, wt.configuration._SerialNumberedConfiguredMaster, ConfiguredMaster, SerialNumbered, SerialNumberedConfiguredMaster, wt.eff._EffContext, wt.eff._ProductSolution, EffContext, ProductSolution, wt.esi._EnterpriseDataMastered, wt.esi._Releasable, wt.esi.EnterpriseDataMastered, Releasable, wt.fc._Identified, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, wt.fc._UniquelyIdentified, wt.fc.BusinessInformation, Identified, NetFactor, ObjectMappable, Persistable, UniquelyIdentified, wt.federation._FederatedLinkHolder, wt.federation._RemotelyLinkable, wt.federation.FederatedLinkHolder, wt.federation.RemotelyLinkable, wt.generic._GenericizableMaster, wt.generic.GenericizableMaster, wt.iba.value._IBAHolder, wt.iba.value.IBAHolder, DisplayIdentification, wt.inf.container._WTContained, wt.inf.container._WTContainedIdentified, WTContained, WTContainedIdentified, wt.mpm._ConsumableResourceMaster, ConsumableResourceMaster, wt.mpm.resource._WTCompatibleMaster, wt.mpm.resource.WTCompatibleMaster, wt.mpm.routing._WCRoutableMaster, wt.mpm.routing._WCRouteHolderMaster, wt.mpm.routing.WCRoutableMaster, wt.mpm.routing.WCRouteHolderMaster, wt.objecttag._ObjectTagger, wt.objecttag.ObjectTagger, wt.occurrence._PathOccurrenceMasterContext, PathOccurrenceMasterContext, PathOwner, wt.option._IndependentAssignableContext, wt.option._OptionSetAssignable, wt.option.IndependentAssignableContext, OptionSetAssignable, _OrganizationOwned, _OrganizationOwnedImpl, wt.org._OrganizationOwnedMaster, wt.org.electronicIdentity._ElectronicallySignable, wt.org.electronicIdentity.ElectronicallySignable, OrganizationOwned, OrganizationOwnedImpl, OrganizationOwnedMaster, wt.part._Part, wt.part._PartMaster, wt.part.Part, wt.part.PartMaster, wt.projmgmt.deliverable._MasteredSubjectOfDeliverable, wt.projmgmt.deliverable._SubjectOfDeliverable, wt.projmgmt.deliverable.MasteredSubjectOfDeliverable, wt.projmgmt.deliverable.SubjectOfDeliverable, wt.recent.RecentlyVisited, wt.representation._RepresentableMaster, wt.representation._RepresentablesAndMasters, wt.representation.RepresentableMaster, wt.representation.RepresentablesAndMasters, wt.translate._MasterTranslatable, wt.translate._Translatable, wt.translate.MasterTranslatable, wt.translate.Translatable, wt.type._TypeManaged, wt.type.TypeManaged, wt.ufid._Federatable, wt.ufid.Federatable, wt.vc._Mastered, Mastered
Direct Known Subclasses:
com.ptc.windchill.mpml.resource._MPMResourceMaster, _ProxyPartMaster

@GenAsPersistable(superClass=Master.class,interfaces={wt.translate.MasterTranslatable.class,wt.part.PartMaster.class,UniquelyIdentified.class,wt.iba.value.IBAHolder.class,ProductSolution.class,wt.ufid.Federatable.class,WTContained.class,OrganizationOwnedMaster.class,WTContainedIdentified.class,Releasable.class,wt.build.BuildTargetMaster.class,wt.representation.RepresentableMaster.class,EffContext.class,PathOccurrenceMasterContext.class,PathOwner.class,SerialNumberedConfiguredMaster.class,wt.generic.GenericizableMaster.class,AlternateUnitAssignable.class,wt.analytics.AnalyticsManageableMaster.class,wt.type.TypeManaged.class,OptionSetAssignable.class,wt.objecttag.ObjectTagger.class,wt.esi.EnterpriseDataMastered.class,wt.option.IndependentAssignableContext.class,wt.projmgmt.deliverable.MasteredSubjectOfDeliverable.class,ConsumableResourceMaster.class,wt.mpm.routing.WCRoutableMaster.class,wt.mpm.resource.WTCompatibleMaster.class},extendable=true,versions={6631538301462009371L,3731295112445243478L,6163764165180131279L},properties={@GeneratedProperty(name="number",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The number attribute represents the number for this part and all of its versions. Conceptually on the WTPart, it is actually implemented on the master.",constraints=@PropertyConstraints(stringCase=UPPER_CASE,changeable=VIA_OTHER_MEANS,upperLimit=40,required=true),columnProperties=@ColumnProperties(index=true,columnName="WTPartNumber")),@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The name of the part -- the name a part is commonly refered to by, such as \"piston\".",constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,upperLimit=60,required=true)),@GeneratedProperty(name="endItem",type=boolean.class,initialValue="false",supportedAPI=PUBLIC,javaDoc="Indicates if the part should be treated as an end item.",constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(index=true)),@GeneratedProperty(name="effPropagationStop",type=boolean.class,initialValue="true",supportedAPI=PUBLIC,javaDoc="Indicates if effectivity propagation should stop or continue through this part."),@GeneratedProperty(name="phantom",type=boolean.class,initialValue="false",supportedAPI=PUBLIC,javaDoc="A part is said to be a \'phantom\' part (for the purposes of MPMLink) when it is an assembly that is never actually assembled--in other words the parts used by a \'phantom\' part are placed directly into the assembly that uses the \'phantom\' part.",constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(defaultValue="0")),@GeneratedProperty(name="hidePartInStructure",type=java.lang.Boolean.class,initialValue="false",supportedAPI=PUBLIC,javaDoc="Flag to determine whether the part should be hidden in structure. Default value is false.",constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(defaultValue="0")),@GeneratedProperty(name="defaultUnit",type=QuantityUnit.class,initialValue="QuantityUnit.getQuantityUnitDefault()",supportedAPI=PUBLIC,javaDoc="The default unit of measurement assigned to the part when it is used in a structure.",constraints=@PropertyConstraints(upperLimit=30,required=true)),@GeneratedProperty(name="effCalculationStatus",type=EffectivityCalculationStatus.class,javaDoc="The status of the effectivity calculation process."),@GeneratedProperty(name="servicekit",type=java.lang.Boolean.class,initialValue="false",supportedAPI=PUBLIC,javaDoc="Flag to determine whether the part should be Service Kit. Default value is false.",columnProperties=@ColumnProperties(defaultValue="0")),@GeneratedProperty(name="serviceable",type=java.lang.Boolean.class,initialValue="true",supportedAPI=PUBLIC,javaDoc="Flag to determine whether the part should be Serviceable. Default value is true.",columnProperties=@ColumnProperties(defaultValue="1"))},tableProperties=@TableProperties(compositeIndex1="+UPPER(name)",compositeIndex2="+REVERSE(UPPER(name))",compositeIndex3="+REVERSE(WTPartNumber)",compositeIndex4="name+translationInfo.authoringLanguage+thePersistInfo.theObjectIdentifier.id",compositeIndex5="name",oracleTableSize=HUGE),iconProperties=@IconProperties(standardIcon="wtcore/images/part_master.gif",openIcon="wtcore/images/part_master.gif")) public class WTPartMaster extends _WTPartMaster
This reference implementation of a PartMaster represents the unchanging aspects of a part, is managed by WTPartService and also has one or more associated WTParts which represent the various stages (versions or iterations) of change for the changeable aspects of this part.

It has a name and number, the latter of which must be unique and it also has a default unit of measure. Some of its version/iteration functionality comes from being a Master.

Associations:

  • WTPartUsageLink links this WTPartMaster to a WTPart that uses this WTPartMaster (actually uses one of this WTPartMaster's WTParts based on a config spec)
  • WTPartSubstituteLink links this WTPartMaster to a WTPartUsageLink making it a replacement part for that particular usage
  • WTPartAlternateLink links this WTPartMaster to another WTPartMaster that is a replacement part for any usage

Use the newWTPartMaster static factory method(s), not the WTPartMaster 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: true

See Also: