Package wt.part
Class WTPart
java.lang.Object
wt.fc._WTObject
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._AccessControlList,wt.access._AdHocControlled,wt.access._IdentityAccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.AccessControlList,AdHocControlled,wt.access.IdentityAccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.analytics._AnalyticsManageable,wt.analytics.AnalyticsManageable,wt.analytics.compliance._ComplianceManageable,wt.analytics.compliance.ComplianceManageable,wt.analytics.cost._CostManageable,wt.analytics.cost.CostManageable,wt.annotation._AnnotationTarget,AnnotationTarget,Associative,wt.build._BuildTarget,BuildTarget,wt.change2._Changeable2,wt.change2._ChangeableIfc,Changeable2,ChangeableIfc,wt.configuration._ConfigurationManageable,wt.configuration._ConfiguredVersion,ConfigurationManageable,ConfiguredVersion,wt.content._ContentHolder,ContentHolder,wt.eff._EffManagedVersion,wt.eff._EffRecordable,EffManagedVersion,EffRecordable,wt.effectivity._EffectivityHolder,wt.effectivity._EffectivityManageable,EffectivityHolder,wt.effectivity.EffectivityManageable,wt.engineeringmaterial._MaterialAssignable,MaterialAssignable,wt.epm.interfaces._Trackable,wt.epm.interfaces._WorkspaceTrackable,wt.epm.interfaces.Trackable,wt.epm.interfaces.WorkspaceTrackable,wt.esi._Datable,wt.esi._EnterpriseDatable,wt.esi._Releasable,Datable,EnterpriseDatable,Releasable,wt.facade.persistedcollection._PersistedCollectable,PersistedCollectable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,wt.fc.archive._Archiveable,wt.fc.archive._ArchiveablePrimary,wt.fc.archive.Archiveable,wt.fc.archive.ArchiveablePrimary,wt.fc.BusinessInformation,wt.fc.importer._ImportTrackable,wt.fc.importer.ImportTrackable,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation._RepositoryInteroperable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,wt.federation.RepositoryInteroperable,wt.filter._NavigationCriteriaOwner,wt.filter.NavigationCriteriaOwner,wt.folder._CabinetBased,wt.folder._Foldered,wt.folder._FolderEntry,wt.folder._FolderServiceManaged,wt.folder._IteratedFoldered,CabinetBased,Foldered,FolderEntry,wt.folder.FolderServiceManaged,wt.folder.history.Movable,IteratedFoldered,_Genericizable,wt.generic._OVTemplate,wt.generic._Variant,Genericizable,wt.generic.OVTemplate,wt.generic.Variant,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.index._Indexable,Indexable,wt.inf.container._WTContained,WTContained,wt.lifecycle._IteratedLifeCycleManaged,_LifeCycleManaged,IteratedLifeCycleManaged,LifeCycleManaged,wt.locks._Lockable,Lockable,wt.maturity._Promotable,Promotable,wt.meeting.actionitem._IteratedSubjectOfActionItem,wt.meeting.actionitem._SubjectOfActionItem,wt.meeting.actionitem.IteratedSubjectOfActionItem,wt.meeting.actionitem.SubjectOfActionItem,wt.mpm._ConsumableResource,ConsumableResource,wt.mpm.resource._WTCompatible,wt.mpm.resource.WTCompatible,wt.mpm.routing._WCRoutable,wt.mpm.routing.WCRoutable,wt.note._NoteHolder,wt.note.NoteHolder,wt.notify._Notifiable,Notifiable,wt.occurrence._PathOccurrenceContext,wt.occurrence._UsesOccurrenceContext,PathOccurrenceContext,PathOwner,UsesOccurrenceContext,wt.option._ChoiceMappable,wt.option._Expressionable,wt.option._ExpressionAssignable,wt.option._IndependentExpressionAssignable,wt.option._ModuleVariantInformationContext,ChoiceMappable,Expressionable,ExpressionAssignable,wt.option.IndependentExpressionAssignable,ModuleVariantInformationContext,_OrganizationOwned,wt.org._OrganizationOwnedVersion,wt.org.electronicIdentity._ElectronicallySignable,wt.org.electronicIdentity.ElectronicallySignable,OrganizationOwned,OrganizationOwnedVersion,wt.ownership._Ownable,wt.ownership.Ownable,wt.part._Part,wt.part._PartVersion,wt.part._WTPartTypeInterface,wt.part.Part,wt.part.PartVersion,wt.part.WTPartTypeInterface,wt.projmgmt.deliverable._SubjectOfDeliverable,wt.projmgmt.deliverable._VersionedSubjectOfDeliverable,wt.projmgmt.deliverable.SubjectOfDeliverable,wt.projmgmt.deliverable.VersionedSubjectOfDeliverable,wt.recent.RecentlyVisited,wt.representation._Representable,wt.representation._RepresentablesAndMasters,wt.representation._RepresentationContributor,Representable,wt.representation.RepresentablesAndMasters,wt.representation.RepresentationContributor,wt.rollup.Rollupable,wt.sandbox._Interoperable,wt.sandbox.Interoperable,_TeamManaged,TeamManaged,wt.trace._IteratedTraceable,wt.trace._Traceable,IteratedTraceable,Traceable,wt.translate._IteratedTranslatable,wt.translate.IteratedTranslatable,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable,_Iterated,wt.vc._OneOffVersioned,wt.vc._Versionable,wt.vc._Versioned,wt.vc.baseline._Baselineable,Baselineable,wt.vc.branch._AdhocVersionSupportable,wt.vc.branch.AdhocVersionSupportable,Iterated,OneOffVersioned,Versionable,Versioned,_ViewManageable,ViewManageable,wt.vc.wip._Workable,Workable,wt.viewmarkup._Viewable,wt.viewmarkup.Viewable,wt.workflow.forum._IteratedSubjectOfForum,wt.workflow.forum._SubjectOfForum,wt.workflow.forum.IteratedSubjectOfForum,SubjectOfForum,wt.workflow.notebook._IteratedSubjectOfNotebook,wt.workflow.notebook._SubjectOfNotebook,wt.workflow.notebook.IteratedSubjectOfNotebook,wt.workflow.notebook.SubjectOfNotebook,wt.workflow.requirement._RequirementsManageable,wt.workflow.requirement.RequirementsManageable
- Direct Known Subclasses:
_MPMResource,com.ptc.windchill.suma.part._SupplierPart
@GenAsPersistable(superClass=RevisionControlled.class,interfaces={wt.translate.IteratedTranslatable.class,wt.part.PartVersion.class,ContentHolder.class,wt.effectivity.EffectivityManageable.class,ViewManageable.class,Baselineable.class,BuildTarget.class,wt.iba.value.IBAHolder.class,wt.workflow.forum.IteratedSubjectOfForum.class,wt.workflow.requirement.RequirementsManageable.class,wt.ufid.Federatable.class,Representable.class,wt.type.Typed.class,wt.org.electronicIdentity.ElectronicallySignable.class,UsesOccurrenceContext.class,AnnotationTarget.class,ConfigurationManageable.class,WTContained.class,wt.viewmarkup.Viewable.class,OrganizationOwnedVersion.class,Releasable.class,wt.epm.interfaces.WorkspaceTrackable.class,PathOccurrenceContext.class,PathOwner.class,ConfiguredVersion.class,Genericizable.class,wt.fc.importer.ImportTrackable.class,wt.access.IdentityAccessControlled.class,wt.generic.OVTemplate.class,wt.generic.Variant.class,wt.fc.archive.ArchiveablePrimary.class,wt.note.NoteHolder.class,wt.sandbox.Interoperable.class,wt.federation.RepositoryInteroperable.class,PersistedCollectable.class,wt.analytics.AnalyticsManageable.class,wt.folder.history.Movable.class,wt.part.WTPartTypeInterface.class,wt.filter.NavigationCriteriaOwner.class,MaterialAssignable.class,Associative.class,EnterpriseDatable.class,wt.option.IndependentExpressionAssignable.class,wt.projmgmt.deliverable.VersionedSubjectOfDeliverable.class,ModuleVariantInformationContext.class,IteratedTraceable.class,ConsumableResource.class,wt.mpm.routing.WCRoutable.class,wt.vc.branch.AdhocVersionSupportable.class,wt.mpm.resource.WTCompatible.class,wt.rollup.Rollupable.class},extendable=true,versions={5938256617789424362L,-6360524394632718960L,1969555972987043112L},properties={@GeneratedProperty(name="jobAuthorizationNumber",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="Attribute specific to the Windchill A&D module",constraints=@PropertyConstraints(upperLimit=32)),@GeneratedProperty(name="contractNumber",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="Attribute specific to the Windchill A&D module",constraints=@PropertyConstraints(upperLimit=32)),@GeneratedProperty(name="phase",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="Attribute specific to the Windchill A&D module",constraints=@PropertyConstraints(upperLimit=32)),@GeneratedProperty(name="partType",type=PartType.class,initialValue="PartType.getPartTypeDefault()",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={}),constraints=@PropertyConstraints(upperLimit=30,required=true)),@GeneratedProperty(name="source",type=Source.class,initialValue="Source.getSourceDefault()",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={}),constraints=@PropertyConstraints(upperLimit=30,required=true)),@GeneratedProperty(name="validateUsage",type=boolean.class,initialValue="false",supportedAPI=PRIVATE,javaDoc="Attribute when set to true will validate Usage",columnProperties=@ColumnProperties(defaultValue="0"))},foreignKeys=@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="master",type=WTPartMaster.class,supportedAPI=PUBLIC,cascade=false,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="iteration",supportedAPI=PUBLIC,cascade=false)),derivedProperties={@DerivedProperty(name="number",derivedFrom="master>number",supportedAPI=PUBLIC),@DerivedProperty(name="name",derivedFrom="master>name",supportedAPI=PUBLIC),@DerivedProperty(name="defaultUnit",derivedFrom="master>defaultUnit",supportedAPI=PUBLIC),@DerivedProperty(name="endItem",derivedFrom="master>endItem",supportedAPI=PUBLIC),@DerivedProperty(name="defaultTraceCode",derivedFrom="master>defaultTraceCode",supportedAPI=PUBLIC),@DerivedProperty(name="phantom",derivedFrom="master>phantom",supportedAPI=PUBLIC),@DerivedProperty(name="hidePartInStructure",derivedFrom="master>hidePartInStructure",supportedAPI=PUBLIC),@DerivedProperty(name="servicekit",derivedFrom="master>servicekit",supportedAPI=PUBLIC),@DerivedProperty(name="serviceable",derivedFrom="master>serviceable",supportedAPI=PUBLIC)},tableProperties=@TableProperties(compositeIndex2="+ partType + state.state",compositeIndex3="+ partType + state.state",compositeIndex4="+ UPPER(versionIdA2versionInfo) + UPPER(iterationIdA2iterationInfo)",compositeUnique1="+view.key.id+variation1+variation2+oneOffVersionInfo.identifier.oneOffVersionId",oracleTableSize=HUGE),iconProperties=@IconProperties(standardIcon="wtcore/images/part.gif",openIcon="wtcore/images/part.gif"))
public class WTPart
extends _WTPart
This reference implementation of a
PartVersion represents
a snapshot of the changeable aspects of a part, is managed by WTPartService and has an associated WTPartMaster which represents
the unchanging aspects of this part. Many of the significant associations
of parts happen at the WTPartMaster level.
Associations:
WTPartUsageLinklinks thisWTPartto aWTPartMasterthat it uses (actually it uses one of theWTParts associated with theWTPartMasterbased on a config spec)WTPartSubstituteLinklinks aWTPartMasterto aWTPartUsageLinkmaking it (actually one of itsWTParts based on a config spec) a substitute part for that particular usageWTPartAlternateLinklinks oneWTPartMasterto another that is an alternate part for any usage (alternates are NOT defined at thisWTPartlevel)
By virtue of its being RevisionControlled it can
be:
- checked in and checked out
- assigned to views
- baselined
- assigned to an effectivity
- hold content
WTPartConfigSpec.
Much of the version/iteration functionality comes from being RevisionControlled.
WTPartUsageLinklinks to a WTPartMaster that is a component of this partWTPartReferenceLinklinks to a WTDocumentMasterWTPartDescribeLinklinks to a WTDocument
Use the newWTPart static factory method(s), not the WTPart
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:
-
Field Summary
Fields inherited from class wt.part._WTPart
CONTRACT_NUMBER, DEFAULT_TRACE_CODE, DEFAULT_UNIT, END_ITEM, EXTERNALIZATION_VERSION_UID, HIDE_PART_IN_STRUCTURE, JOB_AUTHORIZATION_NUMBER, NAME, NUMBER, PART_TYPE, PHANTOM, PHASE, SERVICEABLE, SERVICEKIT, SOURCE, VALIDATE_USAGEFields inherited from class wt.enterprise.RevisionControlled
VERSION_DISPLAY_IDENTIFIER, VERSION_DISPLAY_IDENTITY, VERSION_DISPLAY_TYPEFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.access._AdHocControlled
ENTRY_SETFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.change2._Changeable2
HAS_HANGING_CHANGE, HAS_PENDING_CHANGE, HAS_RESULTING_CHANGE, HAS_SUSPECT, HAS_VARIANCEFields inherited from interface wt.content._ContentHolder
CONTENT_VECTOR, HAS_CONTENTS, HTTP_VECTOR, OPERATIONFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.eff._EffRecordable
EFF_VECTORFields inherited from interface wt.option._Expressionable
EXPRESSION_DATAFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.folder._Foldered
CABINET, CABINET_NAME, FOLDERING_INFO, PARENT_FOLDERFields inherited from interface wt.generic._Genericizable
COLLAPSIBLE, GENERIC_TYPE, MAXIMUM_ALLOWED, MINIMUM_REQUIREDFields inherited from interface wt.iba.value._IBAHolder
ATTRIBUTE_CONTAINERFields inherited from interface wt.index._Indexable
INDEXER_SETFields inherited from interface wt.sandbox._Interoperable
INTEROP_INFOFields inherited from interface wt.vc._Iterated
BRANCH_IDENTIFIER, CONTROL_BRANCH, CREATOR, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_INFO, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAMEFields inherited from interface wt.translate._IteratedTranslatable
AUTHORING_LANGUAGEFields inherited from interface wt.lifecycle._LifeCycleManaged
LIFE_CYCLE_AT_GATE, LIFE_CYCLE_BASIC, LIFE_CYCLE_NAME, LIFE_CYCLE_STATE, LIFE_CYCLE_TEMPLATE, STATEFields inherited from interface wt.locks._Lockable
LOCK, LOCK_DATE, LOCK_NOTE, LOCKED, LOCKER, LOCKER_EMAIL, LOCKER_FULL_NAME, LOCKER_NAMEFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface wt.vc._OneOffVersioned
ONE_OFF_VERSION_IDENTIFIER, ONE_OFF_VERSION_INFOFields inherited from interface wt.org._OrganizationOwned
ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIERFields inherited from interface wt.org._OrganizationOwnedVersion
ORGANIZATION_REFERENCEFields inherited from interface wt.ownership._Ownable
OWNERSHIPFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.team._TeamManaged
TEAM_ID, TEAM_IDENTITY, TEAM_NAME, TEAM_TEMPLATE_ID, TEAM_TEMPLATE_IDENTITY, TEAM_TEMPLATE_NAMEFields inherited from interface wt.type._Typed
TYPE_DEFINITION_REFERENCEFields inherited from interface wt.vc._Versioned
VERSION_IDENTIFIER, VERSION_INFOFields inherited from interface wt.vc.views._ViewManageable
VARIATION1, VARIATION2, VIEW, VIEW_NAMEFields inherited from interface wt.vc.wip._Workable
CHECKOUT_INFOFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields inherited from interface wt.part._WTPartTypeInterface
TYPE_INFO_WTPARTFields inherited from interface wt.vc.branch.AdhocVersionSupportable
ADHOC_VERSION_INFOFields inherited from interface wt.fc.BusinessInformation
BUSINESS_TYPE, IDENTITYFields inherited from interface wt.folder.CabinetBased
FOLDER_PATH, LOCATIONFields 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.org.OrganizationOwned
ORGANIZATIONFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUEFields inherited from interface wt.projmgmt.deliverable.SubjectOfDeliverable
loggerFields inherited from interface wt.vc.Versioned
MASTER_SERIESFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: DEFAULT_TRACE_CODE.Gets the value of the attribute: DEFAULT_UNIT.Gets the value of the attribute: GENERIC_TYPE.Gets the value of the attribute: HIDE_PART_IN_STRUCTURE.Returns the master identity plus the version identity for this part in the form of "- , ( )". Gets master of this part
Supported API: truegetName()Gets the value of the attribute: NAME.Gets the value of the attribute: NUMBER.Gets the value of the attribute: ORGANIZATION.Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER.protected voidinitialize(String number, String name) Supports initialization, following construction of an instance.protected voidinitialize(String number, String name, QuantityUnit defaultUnit) Supports initialization, following construction of an instance.booleanGets the value of the attribute: END_ITEM.booleanGets the value of the attribute: PHANTOM.static WTPartConstruct a new WTPart (and its WTPartMaster).static WTPartConstructs a new WTPart and sets the WTPartMaster's name and number to the passed-in values.static WTPartnewWTPart(String number, String name, QuantityUnit defaultUnit) Constructs a new WTPart and sets the WTPartMaster's name and number to the passed-in values.voidsetDefaultTraceCode(TraceCode a_DefaultTraceCode) Sets the value of the attribute: DEFAULT_TRACE_CODE.voidsetDefaultUnit(QuantityUnit a_DefaultUnit) Sets the value of the attribute: DEFAULT_UNIT.voidsetEndItem(boolean a_EndItem) Sets the value of the attribute: END_ITEM.voidsetGenericType(GenericType a_GenericType) Sets the value of the attribute: GENERIC_TYPE.voidsetHidePartInStructure(Boolean a_HidePartInStructure) Sets the value of the attribute: HIDE_PART_IN_STRUCTURE.voidSets the value of the attribute: NAME.voidSets the value of the attribute: NUMBER.voidsetOrganization(WTOrganization a_Organization) Sets the value of the attribute: ORGANIZATION.voidsetPhantom(boolean a_Phantom) Sets the value of the attribute: PHANTOM.Methods inherited from class wt.part._WTPart
getAdhocVersionInfo, getAttributeContainer, getClassInfo, getConceptualClassname, getContainer, getContainerName, getContainerReference, getContentVector, getContractNumber, getEffVector, getExpressionData, getFederatableInfo, getHttpVector, getInteropInfo, getJobAuthorizationNumber, getMaximumAllowed, getMinimumRequired, getOneOffVersionIdentifier, getOneOffVersionInfo, getOperation, getOrganizationCodingSystem, getOrganizationName, getPartType, getPhase, getServiceable, getServicekit, getSource, getType, getTypeDefinitionReference, getTypeInfoWTPart, getVariation1, getVariation2, getView, isHasContents, isValidateUsage, readExternal, readExternal, readVersion, setAdhocVersionInfo, setAttributeContainer, setContainer, setContainerReference, setContentVector, setContractNumber, setExpressionData, setFederatableInfo, setHasContents, setHttpVector, setInteropInfo, setJobAuthorizationNumber, setMaximumAllowed, setMinimumRequired, setOneOffVersionInfo, setOperation, setPartType, setPhase, setServiceable, setServicekit, setSource, setTypeDefinitionReference, setTypeInfoWTPart, setValidateUsage, setVariation1, setVariation2, setView, super_readExternal_WTPart, super_readVersion_WTPart, super_writeExternal_WTPart, writeExternal, writeExternalMethods inherited from class wt.enterprise.RevisionControlled
getBusinessType, getCabinetReference, getCreator, getFolderPath, getIterationDisplayIdentifier, getLocation, getVersionDisplayIdentifier, getVersionDisplayIdentity, getVersionDisplayType, getVersionIdentifier, initialize, setIterationInfoMethods inherited from class wt.enterprise._RevisionControlled
getAdministrativeLock, getBranchIdentifier, getCabinet, getCabinetName, getCheckoutInfo, getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getDomainRef, getEntrySet, getEventSet, getFolderingInfo, getIndexerSet, getIterationIdentifier, getIterationInfo, getIterationNote, getLifeCycleName, getLifeCycleState, getLifeCycleTemplate, getLock, getLockDate, getLocker, getLockerEMail, getLockerFullName, getLockerName, getLockNote, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, getOwnership, getParentFolder, getSecurityLabels, getState, getTeamId, getTeamIdentity, getTeamName, getTeamTemplateId, getTeamTemplateIdentity, getTeamTemplateName, getVersionInfo, isHasHangingChange, isHasPendingChange, isHasResultingChange, isHasSuspect, isHasVariance, isInheritedDomain, isLatestIteration, isLifeCycleAtGate, isLifeCycleBasic, isLocked, readVersion, setAdministrativeLock, setCheckoutInfo, setControlBranch, setDomainRef, setEntrySet, setEventSet, setFolderingInfo, setHasHangingChange, setHasPendingChange, setHasResultingChange, setHasSuspect, setHasVariance, setIndexerSet, setInheritedDomain, setLock, setMaster, setMasterReference, setOwnership, setSecurityLabels, setState, setTeamId, setTeamTemplateId, setVersionInfo, super_readExternal_RevisionControlled, super_readVersion_RevisionControlled, super_writeExternal_RevisionControlledMethods inherited from class wt.fc.WTObject
duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, 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.vc._Iterated
getBranchIdentifier, getControlBranch, getCreator, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationInfo, getIterationNote, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setIterationInfo, setMaster, setMasterReferenceMethods inherited from interface wt.locks._Lockable
getLock, getLockDate, getLocker, getLockerEMail, getLockerFullName, getLockerName, getLockNote, isLocked, setLockMethods inherited from interface wt.ownership._Ownable
getOwnership, setOwnershipMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.vc._Versioned
getVersionIdentifier, getVersionInfo, setVersionInfoMethods inherited from interface wt.vc.wip._Workable
getCheckoutInfo, setCheckoutInfo
-
Method Details
-
getNumber
Gets the value of the attribute: NUMBER. 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.
Supported API: true -
setNumber
Sets the value of the attribute: NUMBER. 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. WTPropertyVetoException is thrown when a_Number is empty, null, or exceed 40 characters in length.
Supported API: true- Overrides:
setNumberin class_WTPart- Parameters:
a_Number-- Throws:
WTPropertyVetoException- See Also:
-
getName
Gets the value of the attribute: NAME. The name attribute represents the name for this part and all of its versions. Conceptually on the WTPart, it is actually implemented on the master. The name a part is commonly refered to by, such as "piston".
Supported API: true- Specified by:
getNamein interfaceCabinetBased- Specified by:
getNamein interfacewt.projmgmt.deliverable.SubjectOfDeliverable- Specified by:
getNamein interfacewt.mpm.routing.WCRoutable- Overrides:
getNamein class_WTPart- Returns:
- String
- See Also:
-
setName
Sets the value of the attribute: NAME. The name attribute represents the name for this part and all of its versions. Conceptually on the WTPart, it is actually implemented on the master. The name a part is commonly refered to by, such as "piston". WTPropertyVetoException is thrown when a_Name is empty, null, or exceed 60 characters in length.
Supported API: true- Overrides:
setNamein class_WTPart- Parameters:
a_Name-- Throws:
WTPropertyVetoException- See Also:
-
getDefaultUnit
Gets the value of the attribute: DEFAULT_UNIT. The default unit of measurement assigned to the part when it is used in a structure.
Supported API: true- Overrides:
getDefaultUnitin class_WTPart- Returns:
- QuantityUnit
- See Also:
-
setDefaultUnit
Sets the value of the attribute: DEFAULT_UNIT. The default unit of measurement assigned to the part when it is used in a structure. WTPropertyVetoException is thrown when a_DefaultUnit is null or exceed 30 characters in length.
Supported API: true- Overrides:
setDefaultUnitin class_WTPart- Parameters:
a_DefaultUnit-- Throws:
WTPropertyVetoException- See Also:
-
isEndItem
public boolean isEndItem()Gets the value of the attribute: END_ITEM. Indicates if the part should be treated as an end item.
Supported API: true -
setEndItem
Sets the value of the attribute: END_ITEM. Indicates if the part should be treated as an end item.
Supported API: true- Overrides:
setEndItemin class_WTPart- Parameters:
a_EndItem-- Throws:
WTPropertyVetoException- See Also:
-
getDefaultTraceCode
Gets the value of the attribute: DEFAULT_TRACE_CODE. The default unit of measure for the part.
Supported API: true- Overrides:
getDefaultTraceCodein class_WTPart- Returns:
- TraceCode
- See Also:
-
setDefaultTraceCode
Sets the value of the attribute: DEFAULT_TRACE_CODE. The default unit of measure for the part. WTPropertyVetoException is thrown when a_DefaultTraceCode is null or exceed 1 character in length.
Supported API: true- Overrides:
setDefaultTraceCodein class_WTPart- Parameters:
a_DefaultTraceCode-- Throws:
WTPropertyVetoException- See Also:
-
getGenericType
Gets the value of the attribute: GENERIC_TYPE. Indicates if this is a Generic Type WTPart.
Supported API: true- Specified by:
getGenericTypein interface_Genericizable- Overrides:
getGenericTypein class_WTPart- Returns:
- GenericType
- See Also:
-
setGenericType
Sets the value of the attribute: GENERIC_TYPE. Indicates if this is a Generic Type WTPart. WTPropertyVetoException is thrown when a_DefaultTraceCode is null.
Supported API: true- Specified by:
setGenericTypein interface_Genericizable- Overrides:
setGenericTypein class_WTPart- Parameters:
a_GenericType-- Throws:
WTPropertyVetoException- See Also:
-
isPhantom
public boolean isPhantom()Gets the value of the attribute: PHANTOM. 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.
Supported API: true -
setPhantom
Sets the value of the attribute: PHANTOM. 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.
Supported API: true- Overrides:
setPhantomin class_WTPart- Parameters:
a_Phantom-- Throws:
WTPropertyVetoException- See Also:
-
getHidePartInStructure
Gets the value of the attribute: HIDE_PART_IN_STRUCTURE. Flag to determine whether the part should be built when Build from Part action is invoked.
Supported API: true- Overrides:
getHidePartInStructurein class_WTPart- Returns:
- Boolean
- See Also:
-
setHidePartInStructure
Sets the value of the attribute: HIDE_PART_IN_STRUCTURE. Flag to determine whether the part should be built when Build from Part action is invoked. WTPropertyVetoException is thrown when a_HidePartInStructure is null.
Supported API: true- Overrides:
setHidePartInStructurein class_WTPart- Parameters:
a_HidePartInStructure-- Throws:
WTPropertyVetoException- See Also:
-
newWTPart
Construct a new WTPart (and its WTPartMaster). This static factory method must be used to construct instances of this class in order to ensure proper initialization of the instance.
Supported API: true- Returns:
- WTPart
- Throws:
WTException
-
newWTPart
Constructs a new WTPart and sets the WTPartMaster's name and number to the passed-in values. This static factory method must be used to construct instances of this class in order to ensure proper initialization of the instance.
Supported API: true- Parameters:
number-name-- Returns:
- WTPart
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
number-name-- Throws:
WTException
-
getIdentity
Returns the master identity plus the version identity for this part in the form of "- , ( )". For example "100 - engine, A.1 (Engineering)". If the WTPart is view-independent, the parenthesis are not included.
Supported API: true- Specified by:
getIdentityin interfacewt.fc.BusinessInformation- Specified by:
getIdentityin interfacePersistable- Overrides:
getIdentityin classRevisionControlled- Returns:
- String
-
newWTPart
public static WTPart newWTPart(String number, String name, QuantityUnit defaultUnit) throws WTException Constructs a new WTPart and sets the WTPartMaster's name and number to the passed-in values. This static factory method must be used to construct instances of this class in order to ensure proper initialization of the instance.
Supported API: true- Parameters:
number-name-defaultUnit-- Returns:
- WTPart
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
number-name-defaultUnit-- Throws:
WTException
-
getOrganizationUniqueIdentifier
Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER. The getter for this attribute delivers organization unique identifier.
Supported API: true- Specified by:
getOrganizationUniqueIdentifierin interface_OrganizationOwned- Overrides:
getOrganizationUniqueIdentifierin class_WTPart- Returns:
- String
- See Also:
-
getOrganization
Gets the value of the attribute: ORGANIZATION.
Supported API: true- Returns:
- WTOrganization
-
setOrganization
Sets the value of the attribute: ORGANIZATION. WTPropertyVetoException is thrown if a_Organization is null.
Supported API: true- Parameters:
a_Organization-- Throws:
WTPropertyVetoException
-
getMaster
Gets master of this part
Supported API: true- Specified by:
getMasterin interface_Iterated- Overrides:
getMasterin class_RevisionControlled- Returns:
- WTPartMaster
- See Also:
-