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="callout",type=java.lang.Boolean.class),@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, CALLOUT, COMPONENT_IDS, CONTEXT, CONTEXT_REFERENCE, COPIED_FROM_BOM, DEFAULT_UNIT, DESCRIPTION_FOR_PART, EXTERNALIZATION_VERSION_UID, GENERIC_PART_REFERENCE, GRAPHIC_REF, ILLUSTRATED, INDENTURE, INSTANCE_IDS, ITEM_NUMBER, ITEM_QUANTITY, ITEM_SEQUENCE_NUMBER, LINE_NUMBER, PART_NUMBER, REMARKS, SERVICEABLE, STRUCTURE_IDFields inherited from class wt.vc.struct._IteratedUsageLink
USED_BY_ROLE, USES_ROLEFields inherited from class wt.fc._ObjectToObjectLink
ROLE_AOBJECT_REF, ROLE_BOBJECT_REFFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc._BinaryLink
ROLE_AOBJECT_ROLE, ROLE_BOBJECT_ROLEFields inherited from interface wt.option._Expressionable
EXPRESSION_DATAFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.filter._Filterable
FILTERED_STATUSFields inherited from interface wt.generic._GenericizableLink
GENERICIZABLE_MASTER_ROLE, GENERICIZABLE_ROLEFields inherited from interface wt.generic._GenericizableUsageLink
APP_DATA, COMPONENT_ID, INCLUSION_OPTION, QUANTITY_OPTION, REFERENCEFields inherited from interface wt.iba.value._IBAHolder
ATTRIBUTE_CONTAINERFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface com.ptc.arbortext.windchill.partlist._PartListItemTypeInterface
TYPE_INFO_PART_LIST_ITEMFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.translate._Translatable
TRANSLATION_INFOFields inherited from interface wt.type._Typed
TYPE_DEFINITION_REFERENCEFields inherited from interface wt.fc.BinaryLink
ALL_ROLES, BOTH_ROLES, ROLE_AOBJECT_REF, ROLE_BOBJECT_REFFields inherited from interface wt.option.ChoiceMappable
LOADER_CACHE_KEYFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.option.Expressionable
LOADER_CACHE_KEYFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
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
getAppData, getAttributeContainer, getCallout, getClassInfo, getComponentId, getComponentIds, getConceptualClassname, getContext, getContextReference, getDefaultUnit, getDescriptionForPart, getEventSet, getExpressionData, getFederatableInfo, getFilteredStatus, getGenericizable, getGenericizableMaster, getGraphicRef, getInclusionOption, getIndenture, getInstanceIds, getItemNumber, getItemQuantity, getItemSequenceNumber, getLineNumber, getPartNumber, getQuantityOption, getReference, getRemarks, getStructureId, getTranslationInfo, getType, getTypeDefinitionReference, getTypeInfoPartListItem, getUsedBy, getUses, isCopiedFromBom, isIllustrated, isServiceable, readExternal, readExternal, readVersion, setAppData, setAttributeContainer, setCallout, setComponentIds, setContext, setContextReference, setCopiedFromBom, setDefaultUnit, setDescriptionForPart, setEventSet, setExpressionData, setFederatableInfo, setFilteredStatus, setGenericizable, setGenericizableMaster, setGraphicRef, setIllustrated, setInclusionOption, setIndenture, setInstanceIds, setItemNumber, setItemQuantity, setItemSequenceNumber, setLineNumber, setPartNumber, setQuantityOption, setReference, setRemarks, setServiceable, setStructureId, setTranslationInfo, setTypeDefinitionReference, setTypeInfoPartListItem, setUsedBy, setUses, super_readExternal_PartListItem, super_readVersion_PartListItem, super_writeExternal_PartListItem, writeExternal, writeExternalMethods inherited from class wt.vc.struct._IteratedUsageLink
readVersion, setUsedBy, setUses, super_readExternal_IteratedUsageLink, super_readVersion_IteratedUsageLink, super_writeExternal_IteratedUsageLinkMethods inherited from class wt.fc.ObjectToObjectLink
appendJoinCriteria, appendRoleCriteria, duplicate, getAllObjects, getJoinValues, getLinkInfo, getObject, getOtherObject, getRemoteRoleAObjectId, getRemoteRoleBObjectId, getRole, getRoleAObject, getRoleAObjectId, getRoleBObject, getRoleBObjectId, getRoleIdName, getRoleObject, initialize, isRoleANonpersistentProxy, isRoleBNonpersistentProxy, setRoleAObject, setRoleAObjectRef, setRoleBObject, setRoleObjectMethods inherited from class wt.fc._ObjectToObjectLink
getRoleAObjectRef, getRoleBObjectRef, readVersion, super_readExternal_ObjectToObjectLink, super_readVersion_ObjectToObjectLink, super_writeExternal_ObjectToObjectLinkMethods inherited from class wt.fc.WTObject
checkAttributes, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, initialize, toStringMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._BinaryLink
getRoleAObjectRef, getRoleBObjectRef, setRoleAObjectRefMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.fc.BinaryLink
getLinkInfo, getObject, 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, getIdentity
-
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
-