|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.enterprise.RevisionControlled
wt.part.WTPart
com.ptc.windchill.mpml.resource.MPMResource
com.ptc.windchill.mpml.resource.MPMPlant
public class 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
| Field Summary | |
|---|---|
static String |
CATEGORY
Label for the attribute. |
static String |
CITY
Label for the attribute; city of the Plant Supported API: true |
static String |
COUNTRY
Label for the attribute; country of the Plant Supported API: true |
static String |
EXTERNAL
Label for the attribute. |
static String |
STATES
Label for the attribute; state of the Plant Supported API: true |
| Fields inherited from class com.ptc.windchill.mpml.resource.MPMResource |
|---|
DESCRIPTION |
| Fields inherited from class wt.part.WTPart |
|---|
CONTRACT_NUMBER, DEFAULT_TRACE_CODE, DEFAULT_UNIT, END_ITEM, GENERIC_TYPE, JOB_AUTHORIZATION_NUMBER, NAME, NUMBER, PART_TYPE, PHASE, SOURCE |
| Fields inherited from class wt.enterprise.RevisionControlled |
|---|
MASTER |
| Fields inherited from interface com.ptc.windchill.mpml.MPMCompatible |
|---|
MASTER, MASTER_REFERENCE, NAME, NUMBER |
| Fields inherited from interface wt.org.OrganizationOwned |
|---|
ORGANIZATION, ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER |
| Fields inherited from interface wt.generic.Genericizable |
|---|
MASTER, MASTER_REFERENCE |
| Method Summary | |
|---|---|
MPMPlantType |
getCategory()
Gets the value of the attribute: CATEGORY. |
String |
getCity()
Gets the value of the attribute: CITY. |
String |
getCountry()
Gets the value of the attribute: COUNTRY. |
String |
getStates()
Gets the value of the attribute: STATES. |
protected void |
initialize(String number,
String name)
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,
MPMPlantType category)
Supports initialization, following construction of an instance. |
boolean |
isExternal()
Gets the value of the attribute: EXTERNAL. |
static MPMPlant |
newMPMPlant()
Constructs a new MPMPlant.. |
static MPMPlant |
newMPMPlant(String number,
String name)
Constructs a new MPMPlant and sets the MPMPlantMaster's name and number to the passed-in values. |
static MPMPlant |
newMPMPlant(String number,
String name,
QuantityUnit defaultUnit)
Constructs a new MPMPlant and sets the MPMPlantMaster's name and number to the passed-in values. |
static MPMPlant |
newMPMPlant(String number,
String name,
QuantityUnit defaultUnit,
MPMPlantType category)
Constructs a new MPMPlant and sets the MPMPlantMaster's name and number to the passed-in values. |
void |
setCategory(MPMPlantType a_Category)
Sets the value of the attribute: CATEGORY. |
void |
setCity(String a_City)
Sets the value of the attribute: CITY. |
void |
setCountry(String a_Country)
Sets the value of the attribute: COUNTRY. |
void |
setExternal(boolean a_External)
Sets the value of the attribute: EXTERNAL. |
void |
setMaster(Mastered a_Master)
Sets the object for the association that plays role: MASTER. |
void |
setStates(String a_States)
Sets the value of the attribute: STATES. |
| Methods inherited from class com.ptc.windchill.mpml.resource.MPMResource |
|---|
getDescription, getName, getNumber, setDescription, setName, setNumber |
| 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 com.ptc.windchill.mpml.MPMCompatible |
|---|
getMaster, getMasterReference, setMasterReference |
| Methods inherited from interface wt.org.OrganizationOwnedVersion |
|---|
getOrganizationReference |
| Methods inherited from interface wt.org.OrganizationOwned |
|---|
getOrganization, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier |
| Methods inherited from interface wt.generic.Genericizable |
|---|
getMaster, getMasterReference, setMasterReference |
| Field Detail |
|---|
public static final String EXTERNAL
public static final String CITY
public static final String STATES
public static final String COUNTRY
public static final String CATEGORY
| Method Detail |
|---|
public boolean isExternal()
public void setExternal(boolean a_External)
throws WTPropertyVetoException
a_External -
WTPropertyVetoExceptionpublic String getCity()
public void setCity(String a_City)
throws WTPropertyVetoException
a_City -
WTPropertyVetoExceptionpublic String getStates()
public void setStates(String a_States)
throws WTPropertyVetoException
a_States -
WTPropertyVetoExceptionpublic String getCountry()
public void setCountry(String a_Country)
throws WTPropertyVetoException
a_Country -
WTPropertyVetoExceptionpublic MPMPlantType getCategory()
public void setCategory(MPMPlantType a_Category)
throws WTPropertyVetoException
a_Category -
WTPropertyVetoException
public void setMaster(Mastered a_Master)
throws WTPropertyVetoException,
WTException
setMaster in interface MPMCompatiblesetMaster in interface ConfiguredVersionsetMaster in interface GenericizablesetMaster in interface IteratedsetMaster in class MPMResourcea_Master -
WTPropertyVetoException
WTExceptionMastered
public static MPMPlant newMPMPlant()
throws WTException
WTException
public static MPMPlant newMPMPlant(String number,
String name,
QuantityUnit defaultUnit)
throws WTException
number - name - defaultUnit -
WTException
protected void initialize(String number,
String name,
QuantityUnit defaultUnit)
throws WTException
initialize in class WTPartnumber - name - defaultUnit -
WTException
public static MPMPlant newMPMPlant(String number,
String name)
throws WTException
number - name -
WTException
protected void initialize(String number,
String name)
throws WTException
initialize in class WTPartnumber - name -
WTException
public static MPMPlant newMPMPlant(String number,
String name,
QuantityUnit defaultUnit,
MPMPlantType category)
throws WTException
number - name - defaultUnit - category -
WTException
protected void initialize(String number,
String name,
QuantityUnit defaultUnit,
MPMPlantType category)
throws WTException
number - name - defaultUnit - category -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||