com.ptc.windchill.mpml.resource
Class MPMTooling

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

public class MPMTooling
extends MPMOperationAssignableResource
implements Externalizable

Use the newMPMTooling static factory method(s), not the MPMTooling 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
 MPMToolingType 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, MPMToolingType 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, MPMToolingType category)
          Supports initialization, following construction of an instance.
static MPMTooling newMPMTooling()
          Constructs a new MPMTooling.
static MPMTooling newMPMTooling(String number, String name)
          Constructs a new MPMTooling and sets the MPMToolingMaster's name and number to the passed-in values.
static MPMTooling newMPMTooling(String number, String name, MPMToolingType category)
          Constructs a new MPMTooling and sets the MPMToolingMaster's name and number to the passed-in values.
static MPMTooling newMPMTooling(String number, String name, QuantityUnit defaultUnit)
          Constructs a new MPMTooling and sets the MPMToolingMaster's name and number to the passed-in values.
static MPMTooling newMPMTooling(String number, String name, QuantityUnit defaultUnit, MPMToolingType category)
          Constructs a new MPMTooling and sets the MPMToolingMaster's name and number to the passed-in values.
 void setCategory(MPMToolingType 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 MPMToolingType getCategory()
Gets the value of the attribute: CATEGORY.

Supported API: true

Returns:
MPMToolingType

setCategory

public void setCategory(MPMToolingType 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

newMPMTooling

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

Supported API: true

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

newMPMTooling

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

Supported API: true

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

newMPMTooling

public static MPMTooling newMPMTooling()
                                throws WTException
Constructs a new MPMTooling.

Supported API: true

Returns:
MPMTooling
Throws:
WTException

newMPMTooling

public static MPMTooling newMPMTooling(String number,
                                       String name,
                                       QuantityUnit defaultUnit,
                                       MPMToolingType category)
                                throws WTException
Constructs a new MPMTooling and sets the MPMToolingMaster's name and number to the passed-in values.

Supported API: true

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

initialize

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

newMPMTooling

public static MPMTooling newMPMTooling(String number,
                                       String name,
                                       MPMToolingType category)
                                throws WTException
Constructs a new MPMTooling and sets the MPMToolingMaster's name and number to the passed-in values.

Supported API: true

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

initialize

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