Class MPMWorkCenter

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._RevisionControlled
wt.enterprise.RevisionControlled
wt.part._WTPart
wt.part.WTPart
com.ptc.windchill.mpml.resource._MPMResource
com.ptc.windchill.mpml.resource.MPMResource
com.ptc.windchill.mpml.resource._MPMOperationAssignableResource
com.ptc.windchill.mpml.resource.MPMOperationAssignableResource
com.ptc.windchill.mpml.resource._MPMWorkCenter
com.ptc.windchill.mpml.resource.MPMWorkCenter
All Implemented Interfaces:
com.ptc.windchill.mpml._MPMCompatibility, _MPMCompatible, com.ptc.windchill.mpml._MPMPlantOwned, com.ptc.windchill.mpml.formula._FormulaSetSelector, FormulaSetSelector, MPMCompatibility, MPMCompatible, MPMPlantOwned, com.ptc.windchill.mpml.resource._MPMOperationAssignableResourceTypeInterface, com.ptc.windchill.mpml.resource._MPMWorkCenterTypeInterface, com.ptc.windchill.mpml.resource.MPMOperationAssignableResourceTypeInterface, com.ptc.windchill.mpml.resource.MPMWorkCenterTypeInterface, 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._WCRouteHolder, wt.mpm.routing.WCRoutable, wt.mpm.routing.WCRouteHolder, 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

@GenAsPersistable(superClass=com.ptc.windchill.mpml.resource.MPMOperationAssignableResource.class,interfaces={FormulaSetSelector.class,com.ptc.windchill.mpml.resource.MPMWorkCenterTypeInterface.class,wt.mpm.routing.WCRouteHolder.class},extendable=true,properties={@GeneratedProperty(name="external",type=boolean.class,initialValue="false",supportedAPI=PUBLIC,constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(columnName="ext")),@GeneratedProperty(name="erpValidationCode",type=MPMERPValidationCode.class,initialValue="MPMERPValidationCode.K1",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={}),constraints=@PropertyConstraints(required=true)),@GeneratedProperty(name="workcenterSide",type=com.ptc.windchill.mpml.resource.MPMWorkCenterSideType.class,initialValue="null",javaDoc="The side of a work station in respect to line",constraints=@PropertyConstraints(required=false)),@GeneratedProperty(name="workcenterLevel",type=int.class,initialValue="1",javaDoc="Level for the work center on the line",columnProperties=@ColumnProperties(defaultValue="1"),constraints=@PropertyConstraints(required=false,lowerLimit=1,upperLimit=10))},foreignKeys=@GeneratedForeignKey(name="MPMWorkCenterMasterWorkCenter",foreignKeyRole=@ForeignKeyRole(name="master",type=MPMWorkCenterMaster.class,supportedAPI=PUBLIC,cascade=false,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="iteration",supportedAPI=PUBLIC,cascade=false)),derivedProperties=@DerivedProperty(name="category",derivedFrom="master>category",supportedAPI=PUBLIC),tableProperties=@TableProperties(compositeIndex1="+UPPER(versionIdA2versionInfo) + UPPER(iterationIdA2iterationInfo)"),iconProperties=@IconProperties(standardIcon="netmarkets/images/workcenter.gif",openIcon="netmarkets/images/workcenter.gif")) public class MPMWorkCenter extends _MPMWorkCenter

Use the newMPMWorkCenter static factory method(s), not the MPMWorkCenter 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:
  • Method Details

    • getCategory

      public MPMWorkCenterType getCategory()
      Gets the value of the attribute: CATEGORY.

      Supported API: true
      Overrides:
      getCategory in class _MPMWorkCenter
      Returns:
      MPMWorkCenterType
      See Also:
    • setCategory

      public void setCategory(MPMWorkCenterType a_Category) throws WTPropertyVetoException
      Sets the value of the attribute: CATEGORY.

      Supported API: true
      Overrides:
      setCategory in class _MPMWorkCenter
      Parameters:
      a_Category -
      Throws:
      WTPropertyVetoException
      See Also:
    • newMPMWorkCenter

      public static MPMWorkCenter newMPMWorkCenter(String number, String name) throws WTException
      Constructs a new MPMWorkCenter and sets the MPMWorkCenterMaster's name and number to the passed-in values.

      Supported API: true
      Parameters:
      number -
      name -
      Returns:
      MPMWorkCenter
      Throws:
      WTException
    • initialize

      protected void initialize(String number, String name) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Overrides:
      initialize in class WTPart
      Parameters:
      number -
      name -
      Throws:
      WTException
    • newMPMWorkCenter

      public static MPMWorkCenter newMPMWorkCenter(String number, String name, QuantityUnit defaultUnit) throws WTException
      Constructs a new MPMWorkCenter and sets the MPMWorkCenterMaster's name,number and default unit of quantity to the passed-in values.

      Supported API: true
      Parameters:
      number -
      name -
      defaultUnit -
      Returns:
      MPMWorkCenter
      Throws:
      WTException
    • initialize

      protected void initialize(String number, String name, QuantityUnit defaultUnit) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Overrides:
      initialize in class WTPart
      Parameters:
      number -
      name -
      defaultUnit -
      Throws:
      WTException
    • newMPMWorkCenter

      public static MPMWorkCenter newMPMWorkCenter() throws WTException
      Constructs a new MPMWorkCenter.

      Supported API: true
      Returns:
      MPMWorkCenter
      Throws:
      WTException
    • newMPMWorkCenter

      public static MPMWorkCenter newMPMWorkCenter(String number, String name, QuantityUnit defaultUnit, MPMWorkCenterType category) throws WTException
      Constructs a new MPMWorkCenter and sets the MPMWorkCenterMaster's name,number,default unit of quantity and work center type to the passed-in values.

      Supported API: true
      Parameters:
      number -
      name -
      defaultUnit -
      category -
      Returns:
      MPMWorkCenter
      Throws:
      WTException
    • initialize

      protected void initialize(String number, String name, QuantityUnit defaultUnit, MPMWorkCenterType category) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Parameters:
      number -
      name -
      defaultUnit -
      category -
      Throws:
      WTException
    • newMPMWorkCenter

      public static MPMWorkCenter newMPMWorkCenter(String number, String name, MPMWorkCenterType category) throws WTException
      Constructs a new MPMWorkCenter and sets the MPMWorkCenterMaster's name,number and work center type to the passed-in values.

      Supported API: true
      Parameters:
      number -
      name -
      category -
      Returns:
      MPMWorkCenter
      Throws:
      WTException
    • initialize

      protected void initialize(String number, String name, MPMWorkCenterType category) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Parameters:
      number -
      name -
      category -
      Throws:
      WTException