Package wt.part

Class WTPartUsageLink

All Implemented Interfaces:
com.ptc.core.meta.type.mgmt.server.impl.association._AssociationConstrainable, com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable, Externalizable, Serializable, AssociativeUsageLink, wt.build._BuildableLink, wt.build._BuildableObject, wt.build.BuildableLink, wt.build.BuildableObject, _TraceableLink, TraceableLink, wt.eff._CalculatedEffRecordable, wt.eff._EffRecordable, CalculatedEffRecordable, EffRecordable, wt.esi._Releasable, Releasable, wt.fc._BinaryLink, wt.fc._Link, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, wt.fc.archive._Archiveable, wt.fc.archive.Archiveable, BinaryLink, Link, NetFactor, ObjectMappable, Persistable, wt.federation._FederatedLinkHolder, wt.federation._RemotelyLinkable, wt.federation.FederatedLinkHolder, wt.federation.RemotelyLinkable, _Filterable, Filterable, wt.generic._GenericizableLink, wt.generic._GenericizableUsageLink, wt.generic.GenericizableLink, wt.generic.GenericizableUsageLink, wt.iba.value._IBAHolder, wt.iba.value.IBAHolder, DisplayIdentification, wt.mpm.coupling._CouplingMappable, wt.mpm.coupling.CouplingMappable, _OccurrenceableLink, OccurrenceableLink, wt.option._ChoiceMappable, wt.option._Expressionable, wt.option._ExpressionAssignable, wt.option._IndependentExpressionAssignable, ChoiceMappable, Expressionable, ExpressionAssignable, wt.option.IndependentExpressionAssignable, wt.part._WTPartUsageLinkTypeInterface, wt.part.WTPartUsageLinkTypeInterface, wt.type._Typed, wt.type._TypeManaged, wt.type.FlexTyped, wt.type.Typed, wt.type.TypeManaged, wt.ufid._Federatable, wt.ufid.Federatable

@GenAsBinaryLink(superClass=IteratedUsageLink.class,interfaces={wt.build.BuildableLink.class,OccurrenceableLink.class,wt.fc.archive.Archiveable.class,wt.type.Typed.class,TraceableLink.class,wt.generic.GenericizableUsageLink.class,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable.class,CalculatedEffRecordable.class,wt.part.WTPartUsageLinkTypeInterface.class,AssociativeUsageLink.class,wt.mpm.coupling.CouplingMappable.class,wt.option.IndependentExpressionAssignable.class,Releasable.class},versions={-5258375536568013444L,-3904633429282997199L,-3904633429282997199L},properties={@GeneratedProperty(name="findNumber",type=java.lang.String.class),@GeneratedProperty(name="cadSynchronized",type=SyncedWithCADStatus.class,initialValue="SyncedWithCADStatus.getSyncedWithCADStatusDefault()",supportedAPI=PUBLIC,columnProperties=@ColumnProperties(defaultValue="no")),@GeneratedProperty(name="quantity",type=Quantity.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={}),constraints=@PropertyConstraints(required=true)),@GeneratedProperty(name="lineNumber",type=LineNumber.class,supportedAPI=PUBLIC),@GeneratedProperty(name="allocationType",type=OperationAllocationType.class,supportedAPI=PUBLIC)},roleA=@GeneratedRole(name="usedBy",type=WTPart.class,supportedAPI=PUBLIC,cardinality=ONE_TO_MANY),roleB=@GeneratedRole(name="uses",type=WTPartMaster.class,supportedAPI=PUBLIC,cardinality=ONE_TO_MANY,owner=false),tableProperties=@TableProperties(compositeUnique1="+ roleAObjectRef.key.id+NVL(lineNumber.value,idA2A2)",compositeUnique2="+ roleAObjectRef.key.id+NVL(componentId,idA2A2)",compositeUnique3="+ roleAObjectRef.key.id + NVL(reference, idA2A2)",tableName="WTPartUsageLink",oracleTableSize=HUGE)) public class WTPartUsageLink extends _WTPartUsageLink
This is an IteratedUsageLink where a specific WTPart uses a WTPartMaster (actually it will use one of the WTParts associated with the WTPartMaster based on a config spec) and the part uses a specific Quantity (with unit of measure) of the part master as a component of its structure.

For example to build a car there are 4 tires for each car built. For a hammock there might be 2 end ropes that are three feet long.

Note that since the link is between a WTPart and a WTPartMaster it will be necessary to use a config spec (usually WTPartConfigSpec) to select the correct version of the WTPartMaster, which is a WTPart.

Use the newWTPartUsageLink static factory method(s), not the WTPartUsageLink 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: