Class MPMPlant

All Implemented Interfaces:
com.ptc.windchill.mpml._MPMCompatibility, _MPMCompatible, MPMCompatibility, MPMCompatible, com.ptc.windchill.mpml.resource._MPMPlantTypeInterface, com.ptc.windchill.mpml.resource.MPMPlantTypeInterface, 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=MPMResource.class,interfaces={com.ptc.windchill.mpml.resource.MPMPlantTypeInterface.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="address",type=java.lang.String.class,javaDoc="address of the plant"),@GeneratedProperty(name="zipCode",type=java.lang.String.class,javaDoc="Zip Code for the Plant"),@GeneratedProperty(name="city",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="city of the Plant"),@GeneratedProperty(name="states",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="state of the Plant"),@GeneratedProperty(name="country",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="country of the Plant")},foreignKeys=@GeneratedForeignKey(name="MPMPlantMasterPlant",foreignKeyRole=@ForeignKeyRole(name="master",type=MPMPlantMaster.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/plant.gif",openIcon="netmarkets/images/plant.gif")) public class MPMPlant extends _MPMPlant

Use the newMPMPlant static factory method(s), not the MPMPlant 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 MPMPlantType getCategory()
      Gets the value of the attribute: CATEGORY.

      Supported API: true
      Overrides:
      getCategory in class _MPMPlant
      Returns:
      MPMPlantType
      See Also:
    • setCategory

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

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

      public static MPMPlant newMPMPlant() throws WTException
      Constructs a new MPMPlant..

      Supported API: true
      Returns:
      MPMPlant
      Throws:
      WTException
    • newMPMPlant

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

      Supported API: true
      Parameters:
      number -
      name -
      defaultUnit -
      Returns:
      MPMPlant
      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
    • newMPMPlant

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

      Supported API: true
      Parameters:
      number -
      name -
      Returns:
      MPMPlant
      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
    • newMPMPlant

      public static MPMPlant newMPMPlant(String number, String name, MPMPlantType category) throws WTException
      Constructs a new MPMPlant and sets the MPMPlantMaster's name,number and plant type to the passed-in values.

      Supported API: true
      Parameters:
      number -
      name -
      category -
      Returns:
      MPMPlant
      Throws:
      WTException
    • newMPMPlant

      public static MPMPlant newMPMPlant(String number, String name, QuantityUnit defaultUnit, MPMPlantType category) throws WTException
      Constructs a new MPMPlant and sets the MPMPlantMaster's name,number, default unit of quantity and plant type to the passed-in values.

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

      protected void initialize(String number, String name, QuantityUnit defaultUnit, MPMPlantType 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