Class PartListItem
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._ObjectToObjectLink
wt.fc.ObjectToObjectLink
wt.vc.struct._IteratedUsageLink
wt.vc.struct.IteratedUsageLink
com.ptc.arbortext.windchill.partlist._PartListItem
com.ptc.arbortext.windchill.partlist.PartListItem
- All Implemented Interfaces:
com.ptc.arbortext.windchill.partlist._PartListItemTypeInterface,com.ptc.arbortext.windchill.partlist.PartListItemTypeInterface,com.ptc.core.meta.type.mgmt.server.impl.association._AssociationConstrainable,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable,Externalizable,Serializable,wt.fc._BinaryLink,wt.fc._Link,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,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.notify._Notifiable,Notifiable,wt.option._ChoiceMappable,wt.option._Expressionable,wt.option._ExpressionAssignable,ChoiceMappable,Expressionable,ExpressionAssignable,wt.translate._Translatable,wt.translate.Translatable,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.translate.Translatable.class,wt.type.Typed.class,Filterable.class,ChoiceMappable.class,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable.class,com.ptc.arbortext.windchill.partlist.PartListItemTypeInterface.class,wt.generic.GenericizableUsageLink.class,Notifiable.class},serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="itemNumber",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=4)),@GeneratedProperty(name="itemSequenceNumber",type=LineNumber.class),@GeneratedProperty(name="indenture",constraints=@PropertyConstraints(lowerLimit=0),type=long.class),@GeneratedProperty(name="itemQuantity",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=50)),@GeneratedProperty(name="serviceable",type=boolean.class,initialValue="true"),@GeneratedProperty(name="illustrated",type=boolean.class,initialValue="true"),@GeneratedProperty(name="remarks",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=200)),@GeneratedProperty(name="instanceIds",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=4000)),@GeneratedProperty(name="componentIds",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=4000)),@GeneratedProperty(name="structureId",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=200)),@GeneratedProperty(name="lineNumber",type=LineNumber.class,supportedAPI=PUBLIC),@GeneratedProperty(name="graphicRef",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=50)),@GeneratedProperty(name="copiedFromBom",type=boolean.class,initialValue="false",columnProperties=@ColumnProperties(defaultValue="0")),@GeneratedProperty(name="genericPartReference",type=ObjectReference.class,javaDoc="The object reference of the generic part master that was used to populate the part list item during the generate from template process",constraints=@PropertyConstraints(required=false))},derivedProperties={@DerivedProperty(name="descriptionForPart",derivedFrom="uses>name"),@DerivedProperty(name="partNumber",derivedFrom="uses>number"),@DerivedProperty(name="defaultUnit",derivedFrom="uses>defaultUnit"),@DerivedProperty(name="authoringLanguage",derivedFrom="translationInfo.authoringLanguage",supportedAPI=PUBLIC)},tableProperties=@TableProperties(compositeIndex3="+ contextReference.key.id"),foreignKeys=@GeneratedForeignKey(name="PartListItemMaster",foreignKeyRole=@ForeignKeyRole(name="context",type=WTPartMaster.class,cascade=false,constraints=@PropertyConstraints(required=false)),myRole=@MyRole(name="thePartList",cascade=false)),roleA=@GeneratedRole(name="usedBy",type=PartList.class,supportedAPI=PUBLIC,cardinality=ONE_TO_MANY),roleB=@GeneratedRole(name="uses",type=WTPartMaster.class,supportedAPI=PUBLIC,cardinality=ONE_TO_MANY,owner=false),iconProperties=@IconProperties(standardIcon="wtcore/images/part.gif",openIcon="wtcore/images/part.gif"))
public class PartListItem
extends _PartListItem
This class links PartList and WTPart type objects.
Use the newPartListItem static factory method(s),
not the PartListItem 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.arbortext.windchill.partlist._PartListItem
AUTHORING_LANGUAGE, LINE_NUMBERFields inherited from class wt.vc.struct._IteratedUsageLink
USED_BY_ROLE, USES_ROLEFields inherited from interface wt.filter._Filterable
FILTERED_STATUS -
Method Summary
Modifier and TypeMethodDescriptionstatic PartListItemnewPartListItem(PartList referencedBy, WTPartMaster references) Create new PartListItemstatic PartListItemnewPartListItem(PartList referencedBy, WTPartUsageLink link) Create new PartListItemMethods inherited from class com.ptc.arbortext.windchill.partlist._PartListItem
getFilteredStatus, getLineNumber, getUsedBy, getUses, setFilteredStatus, setLineNumber, setUsedBy, setUsesMethods inherited from class wt.vc.struct._IteratedUsageLink
setUsedBy, setUsesMethods inherited from class wt.fc.ObjectToObjectLink
appendJoinCriteria, duplicate, getAllObjects, getJoinValues, getRoleObject, setRoleObjectMethods 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.BinaryLink
getLinkInfo, getOtherObject, getRole, getRoleAObject, getRoleAObjectId, getRoleBObject, getRoleBObjectId, setRoleAObject, setRoleBObjectMethods inherited from interface wt.fc.Link
appendJoinCriteria, appendRoleCriteria, getAllObjects, getJoinValues, getRoleIdName, getRoleObject, setRoleObjectMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
newPartListItem
public static PartListItem newPartListItem(PartList referencedBy, WTPartMaster references) throws WTException, WTPropertyVetoException Create new PartListItem- Parameters:
referencedBy-references-- Returns:
- Throws:
WTExceptionWTPropertyVetoException-
Supported API: true
-
newPartListItem
public static PartListItem newPartListItem(PartList referencedBy, WTPartUsageLink link) throws WTException, WTPropertyVetoException Create new PartListItem- Parameters:
referencedBy-references-- Returns:
- Throws:
WTExceptionWTPropertyVetoException-
Supported API: true
-