com.ptc.windchill.mpml.resource
Class MPMProcessMaterial

java.lang.Object
  extended by MPMOperationAssignableResource
      extended by com.ptc.windchill.mpml.resource.MPMProcessMaterial
All Implemented Interfaces:
Externalizable, Serializable

public class MPMProcessMaterial
extends MPMOperationAssignableResource
implements Externalizable

Use the newMPMProcessMaterial static factory method(s), not the MPMProcessMaterial 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


Field Summary
static String CATEGORY
          Label for the attribute.
 
Method Summary
 MPMProcessMaterialType getCategory()
          Gets the value of the attribute: CATEGORY.
protected  void initialize(String number, String name)
          Supports initialization, following construction of an instance.
protected  void initialize(String number, String name, MPMProcessMaterialType category)
          Supports initialization, following construction of an instance.
protected  void initialize(String number, String name, QuantityUnit defaultUnit)
          Supports initialization, following construction of an instance.
protected  void initialize(String number, String name, QuantityUnit defaultUnit, MPMProcessMaterialType category)
          Supports initialization, following construction of an instance.
static MPMProcessMaterial newMPMProcessMaterial()
          Constructs a new MPMProcessMaterial.
static MPMProcessMaterial newMPMProcessMaterial(String number, String name)
          Constructs a new MPMProcessMaterial and sets the MPMProcessMaterialMaster's name and number to the passed-in values.
static MPMProcessMaterial newMPMProcessMaterial(String number, String name, MPMProcessMaterialType category)
          Constructs a new MPMProcessMaterial and sets the MPMProcessMaterialMaster's name and number to the passed-in values.
static MPMProcessMaterial newMPMProcessMaterial(String number, String name, QuantityUnit defaultUnit)
          Constructs a new MPMProcessMaterial and sets the MPMProcessMaterialMaster's name and number to the passed-in values.
static MPMProcessMaterial newMPMProcessMaterial(String number, String name, QuantityUnit defaultUnit, MPMProcessMaterialType category)
          Constructs a new MPMProcessMaterial and sets the MPMProcessMaterialMaster's name and number to the passed-in values.
 void setCategory(MPMProcessMaterialType a_Category)
          Sets the value of the attribute: CATEGORY.
 void setMaster(Mastered a_Master)
          Sets the object for the association that plays role: MASTER.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CATEGORY

public static final String CATEGORY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getCategory

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

Supported API: true

Returns:
MPMProcessMaterialType

setCategory

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

Supported API: true

Parameters:
a_Category -
Throws:
WTPropertyVetoException

setMaster

public void setMaster(Mastered a_Master)
               throws WTPropertyVetoException,
                      WTException
Sets the object for the association that plays role: MASTER.

Supported API: true

Parameters:
a_Master -
Throws:
WTPropertyVetoException
WTException

newMPMProcessMaterial

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

Supported API: true

Parameters:
number -
name -
Returns:
MPMProcessMaterial
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

Parameters:
number -
name -
Throws:
WTException

newMPMProcessMaterial

public static MPMProcessMaterial newMPMProcessMaterial(String number,
                                                       String name,
                                                       QuantityUnit defaultUnit)
                                                throws WTException
Constructs a new MPMProcessMaterial and sets the MPMProcessMaterialMaster's name and number to the passed-in values.

Supported API: true

Parameters:
number -
name -
defaultUnit -
Returns:
MPMProcessMaterial
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

Parameters:
number -
name -
defaultUnit -
Throws:
WTException

newMPMProcessMaterial

public static MPMProcessMaterial newMPMProcessMaterial()
                                                throws WTException
Constructs a new MPMProcessMaterial.

Supported API: true

Returns:
MPMProcessMaterial
Throws:
WTException

newMPMProcessMaterial

public static MPMProcessMaterial newMPMProcessMaterial(String number,
                                                       String name,
                                                       QuantityUnit defaultUnit,
                                                       MPMProcessMaterialType category)
                                                throws WTException
Constructs a new MPMProcessMaterial and sets the MPMProcessMaterialMaster's name and number to the passed-in values.

Supported API: true

Parameters:
number -
name -
defaultUnit -
category -
Returns:
MPMProcessMaterial
Throws:
WTException

initialize

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

newMPMProcessMaterial

public static MPMProcessMaterial newMPMProcessMaterial(String number,
                                                       String name,
                                                       MPMProcessMaterialType category)
                                                throws WTException
Constructs a new MPMProcessMaterial and sets the MPMProcessMaterialMaster's name and number to the passed-in values.

Supported API: true

Parameters:
number -
name -
category -
Returns:
MPMProcessMaterial
Throws:
WTException

initialize

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