com.ptc.windchill.mpml.processplan.operation
Class MPMOperation

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.enterprise.RevisionControlled
          extended by com.ptc.windchill.mpml.processplan.operation.MPMOperation
All Implemented Interfaces:
Externalizable, Serializable, AccessControlled, wt.access.AccessControlList, wt.access.AdHocControlled, wt.access.PolicyAccessControlled, wt.access.SecurityLabeled, wt.admin.DomainAdministered, AnnotationTarget, Changeable2, ChangeableIfc, ConfigurationManageable, ConfiguredVersion, ContentHolder, EffManagedVersion, EffRecordable, Releasable, wt.fc.BusinessInformation, NetFactor, ObjectMappable, Persistable, wt.federation.FederatedLinkHolder, wt.federation.RemotelyLinkable, CabinetBased, Foldered, FolderEntry, wt.folder.FolderServiceManaged, IteratedFoldered, wt.iba.value.IBAHolder, DisplayIdentification, Indexable, WTContained, IteratedLifeCycleManaged, wt.lifecycle.LifeCycleManaged, Lockable, wt.maturity.Promotable, wt.meeting.actionitem.IteratedSubjectOfActionItem, wt.meeting.actionitem.SubjectOfActionItem, Notifiable, wt.org.electronicIdentity.ElectronicallySignable, OrganizationOwned, OrganizationOwnedVersion, Ownable, wt.recent.RecentlyVisited, wt.representation.Representable, wt.representation.RepresentablesAndMasters, wt.representation.RepresentationContributor, wt.team.TeamManaged, wt.type.FlexTyped, wt.type.Typed, wt.ufid.Federatable, wt.util.depthLock._DepthLock000, wt.util.depthLock._DepthLock001, wt.util.depthLock._DepthLock002, wt.util.depthLock._DepthLock003, wt.util.depthLock._DepthLock004, wt.util.depthLock._DepthLock005, wt.util.depthLock._DepthLock006, wt.util.depthLock._DepthLock007, Baselineable, Iterated, OneOffVersioned, Versionable, Versioned, ViewManageable, Workable, wt.workflow.forum.IteratedSubjectOfForum, wt.workflow.forum.SubjectOfForum, wt.workflow.notebook.IteratedSubjectOfNotebook, wt.workflow.notebook.SubjectOfNotebook

public class MPMOperation
extends RevisionControlled
implements Releasable, WTContained, wt.type.Typed, AnnotationTarget, OrganizationOwnedVersion, wt.team.TeamManaged, EffManagedVersion, wt.org.electronicIdentity.ElectronicallySignable, ViewManageable, wt.representation.Representable, ConfiguredVersion, wt.ufid.Federatable, Externalizable

Use the newMPMOperation static factory method(s), not the MPMOperation 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:
Serialized Form

Field Summary
static String BASE_UNIT_OF_MEASURE
          Label for the attribute; The base unit of measure for the operation.
static String CATEGORY
          Label for the attribute.
static String DEFAULT_TRACE_CODE
          Label for the attribute; The default unit of measure for the part.
static String DESCRIPTION
          Label for the attribute.
static String LONG_DESCRIPTION
          Label for the attribute.
static String NAME
          Label for the attribute.
static String NUMBER
          Label for the attribute; The number attribute represents the number for this operation and all of its versions.
static String QUANTITY
          Label for the attribute.
 
Fields inherited from class wt.enterprise.RevisionControlled
MASTER
 
Fields inherited from interface wt.org.OrganizationOwnedVersion
MASTER, MASTER_REFERENCE
 
Fields inherited from interface wt.org.OrganizationOwned
ORGANIZATION, ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER
 
Fields inherited from interface wt.configuration.ConfiguredVersion
MASTER, MASTER_REFERENCE
 
Method Summary
 QuantityUnit getBaseUnitOfMeasure()
          Gets the value of the attribute: BASE_UNIT_OF_MEASURE.
 MPMOperationCategory getCategory()
          Gets the value of the attribute: CATEGORY.
 TraceCode getDefaultTraceCode()
          Gets the value of the attribute: DEFAULT_TRACE_CODE.
 String getDescription()
          Gets the value of the attribute: DESCRIPTION.
 String getLongDescription()
          Gets the value of the attribute: LONG_DESCRIPTION.
 String getName()
          Gets the value of the attribute: NAME.
 String getNumber()
          Gets the value of the attribute: NUMBER.
 WTOrganization getOrganization()
          Gets the value of the attribute: ORGANIZATION.
 String getOrganizationCodingSystem()
          Gets the value of the attribute: ORGANIZATION_CODING_SYSTEM.
 String getOrganizationName()
          Gets the value of the attribute: ORGANIZATION_NAME.
 String getOrganizationUniqueIdentifier()
          Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER.
 double getQuantity()
          Gets the value of the attribute: QUANTITY.
protected  void initialize(MPMOperation operation)
          Supports initialization, following construction of an instance.
static MPMOperation newMPMOperation(MPMOperation operation)
          

Supported API: true
 void setBaseUnitOfMeasure(QuantityUnit a_BaseUnitOfMeasure)
          Sets the value of the attribute: BASE_UNIT_OF_MEASURE.
 void setCategory(MPMOperationCategory a_Category)
          Sets the value of the attribute: CATEGORY.
 void setDefaultTraceCode(TraceCode a_DefaultTraceCode)
          Sets the value of the attribute: DEFAULT_TRACE_CODE.
 void setDescription(String a_Description)
          Sets the value of the attribute: DESCRIPTION.
 void setLongDescription(String a_LongDescription)
          Sets the value of the attribute: LONG_DESCRIPTION.
 void setName(String a_Name)
          Sets the value of the attribute: NAME.
 void setNumber(String a_Number)
          Sets the value of the attribute: NUMBER.
 void setOrganization(WTOrganization a_Organization)
          Sets the value of the attribute: ORGANIZATION.
 void setQuantity(double a_Quantity)
          Sets the value of the attribute: QUANTITY.
 
Methods inherited from class wt.enterprise.RevisionControlled
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setMasterReference
 
Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wt.org.OrganizationOwnedVersion
getMaster, getMasterReference
 
Methods inherited from interface wt.configuration.ConfiguredVersion
getMaster, getMasterReference, setMasterReference
 

Field Detail

NUMBER

public static final String NUMBER
Label for the attribute; The number attribute represents the number for this operation and all of its versions. Conceptually on the Operation, it is actually implemented on the master.

Supported API: true

See Also:
Constant Field Values

NAME

public static final String NAME
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

LONG_DESCRIPTION

public static final String LONG_DESCRIPTION
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

QUANTITY

public static final String QUANTITY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

BASE_UNIT_OF_MEASURE

public static final String BASE_UNIT_OF_MEASURE
Label for the attribute; The base unit of measure for the operation.

Supported API: true

See Also:
Constant Field Values

DEFAULT_TRACE_CODE

public static final String DEFAULT_TRACE_CODE
Label for the attribute; The default unit of measure for the part.

Supported API: true

See Also:
Constant Field Values

CATEGORY

public static final String CATEGORY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getNumber

public String getNumber()
Gets the value of the attribute: NUMBER. The number attribute represents the number for this operation and all of its versions. Conceptually on the Operation, it is actually implemented on the master.

Supported API: true

Returns:
String

setNumber

public void setNumber(String a_Number)
               throws WTPropertyVetoException
Sets the value of the attribute: NUMBER. The number attribute represents the number for this operation and all of its versions. Conceptually on the Operation, it is actually implemented on the master.

Supported API: true

Parameters:
a_Number -
Throws:
WTPropertyVetoException

getName

public String getName()
Gets the value of the attribute: NAME.

Supported API: true

Returns:
String

setName

public void setName(String a_Name)
             throws WTPropertyVetoException
Sets the value of the attribute: NAME.

Supported API: true

Parameters:
a_Name -
Throws:
WTPropertyVetoException

getDescription

public String getDescription()
Gets the value of the attribute: DESCRIPTION.

Supported API: true

Returns:
String

setDescription

public void setDescription(String a_Description)
                    throws WTPropertyVetoException
Sets the value of the attribute: DESCRIPTION.

Supported API: true

Parameters:
a_Description -
Throws:
WTPropertyVetoException

getLongDescription

public String getLongDescription()
Gets the value of the attribute: LONG_DESCRIPTION.

Supported API: true

Returns:
String

setLongDescription

public void setLongDescription(String a_LongDescription)
                        throws WTPropertyVetoException
Sets the value of the attribute: LONG_DESCRIPTION.

Supported API: true

Parameters:
a_LongDescription -
Throws:
WTPropertyVetoException

getQuantity

public double getQuantity()
Gets the value of the attribute: QUANTITY.

Supported API: true

Returns:
double

setQuantity

public void setQuantity(double a_Quantity)
Sets the value of the attribute: QUANTITY.

Supported API: true

Parameters:
a_Quantity -

getBaseUnitOfMeasure

public QuantityUnit getBaseUnitOfMeasure()
Gets the value of the attribute: BASE_UNIT_OF_MEASURE. The base unit of measure for the operation.

Supported API: true

Returns:
QuantityUnit

setBaseUnitOfMeasure

public void setBaseUnitOfMeasure(QuantityUnit a_BaseUnitOfMeasure)
                          throws WTPropertyVetoException
Sets the value of the attribute: BASE_UNIT_OF_MEASURE. The base unit of measure for the operation.

Supported API: true

Parameters:
a_BaseUnitOfMeasure -
Throws:
WTPropertyVetoException

getDefaultTraceCode

public TraceCode getDefaultTraceCode()
Gets the value of the attribute: DEFAULT_TRACE_CODE. The default unit of measure for the part.

Supported API: true

Returns:
TraceCode

setDefaultTraceCode

public void setDefaultTraceCode(TraceCode a_DefaultTraceCode)
                         throws WTPropertyVetoException
Sets the value of the attribute: DEFAULT_TRACE_CODE. The default unit of measure for the part.

Supported API: true

Parameters:
a_DefaultTraceCode -
Throws:
WTPropertyVetoException

getCategory

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

Supported API: true

Returns:
MPMOperationCategory

setCategory

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

Supported API: true

Parameters:
a_Category -
Throws:
WTPropertyVetoException

newMPMOperation

public static MPMOperation newMPMOperation(MPMOperation operation)
                                    throws WTException


Supported API: true

Parameters:
operation -
Returns:
MPMOperation
Throws:
WTException

initialize

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

Supported API: true

Parameters:
operation -
Throws:
WTException

getOrganizationUniqueIdentifier

public String getOrganizationUniqueIdentifier()
Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER. The getter for this attribute delivers organization unique identifier.

Supported API: true

Specified by:
getOrganizationUniqueIdentifier in interface OrganizationOwned
Returns:
String

getOrganizationCodingSystem

public String getOrganizationCodingSystem()
Gets the value of the attribute: ORGANIZATION_CODING_SYSTEM. The getter for this attribute delivers organization coding system.

Supported API: true

Specified by:
getOrganizationCodingSystem in interface OrganizationOwned
Returns:
String

getOrganizationName

public String getOrganizationName()
Gets the value of the attribute: ORGANIZATION_NAME. The getter for this attribute delivers organization name.

Supported API: true

Specified by:
getOrganizationName in interface OrganizationOwned
Returns:
String

getOrganization

public WTOrganization getOrganization()
Gets the value of the attribute: ORGANIZATION.

Supported API: true

Specified by:
getOrganization in interface OrganizationOwned
Returns:
WTOrganization

setOrganization

public void setOrganization(WTOrganization a_Organization)
                     throws WTPropertyVetoException
Sets the value of the attribute: ORGANIZATION.

Supported API: true

Parameters:
a_Organization -
Throws:
WTPropertyVetoException