com.ptc.windchill.mpml.resource
Class MPMSkill

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

public class MPMSkill
extends MPMOperationAssignableResource
implements Externalizable

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

Supported API: true

Returns:
MPMSkillType

setCategory

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

newMPMSkill

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

Supported API: true

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

newMPMSkill

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

Supported API: true

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

newMPMSkill

public static MPMSkill newMPMSkill()
                            throws WTException
Constructs a new MPMSkill.

Supported API: true

Returns:
MPMSkill
Throws:
WTException

newMPMSkill

public static MPMSkill newMPMSkill(String number,
                                   String name,
                                   QuantityUnit defaultUnit,
                                   MPMSkillType category)
                            throws WTException
Constructs a new MPMSkill and sets the MPMSkillMaster's name and number to the passed-in values.

Supported API: true

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

initialize

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

newMPMSkill

public static MPMSkill newMPMSkill(String number,
                                   String name,
                                   MPMSkillType category)
                            throws WTException
Constructs a new MPMSkill and sets the MPMSkillMaster's name and number to the passed-in values.

Supported API: true

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

initialize

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