wt.part
Class WTProductInstanceMaster

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.part.WTProductInstanceMaster
All Implemented Interfaces:
Externalizable, Serializable, SerialNumberedConfiguredInstanceMaster, SerialNumberedInstanceIfc, SerialNumberedInstanceMaster, NetFactor, ObjectMappable, Persistable, DisplayIdentification, WTContained, PathOccurrenceMasterContext, OrganizationOwned, wt.recent.RecentlyVisited, Mastered

public class WTProductInstanceMaster
extends WTObject
implements SerialNumberedConfiguredInstanceMaster, WTContained, OrganizationOwned, Externalizable

Use the newWTProductInstanceMaster static factory method(s), not the WTProductInstanceMaster 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: false

See Also:
Serialized Form

Field Summary
static String INSTANCE_OF
          Label for the attribute.
static String INSTANCE_OF_REFERENCE
          Label for the attribute.
static String MFG_CAGE_CODE
          Label for the attribute; The mfgCageCode attribute represents the reference to the manufacturing organization for the part instance.
static String ORGANIZATION
          Label for the attribute; The organization attribute represents the organization for the part.
static String ORGANIZATION_REFERENCE
          Label for the attribute; The organizationReference attribute represents the reference to organization for the part.
static String PRODUCT_DEFAULT_UNIT
          Label for the attribute; The name of the part -- the name a part is commonly refered to by, such as "piston".
static String PRODUCT_NAME
          Label for the attribute; The name of the part -- the name a part is commonly refered to by, such as "piston".
static String PRODUCT_NUMBER
          Label for the attribute; The number attribute represents the number for this part and all of its versions.
 
Fields inherited from interface wt.configuration.SerialNumberedInstanceIfc
LOT_NUMBER, SERIAL_NUMBER
 
Fields inherited from interface wt.org.OrganizationOwned
ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER
 
Method Summary
 SerialNumbered getInstanceOf()
          Gets the object for the association that plays role: INSTANCE_OF.
 ObjectReference getInstanceOfReference()
          Gets the value of the attribute: INSTANCE_OF_REFERENCE.
 String getLotNumber()
          Gets the value of the attribute: LOT_NUMBER.
 WTPrincipalReference getMfgCageCode()
          Gets the value of the attribute: MFG_CAGE_CODE.
 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.
 WTPrincipalReference getOrganizationReference()
          Gets the value of the attribute: ORGANIZATION_REFERENCE.
 String getOrganizationUniqueIdentifier()
          Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER.
 QuantityUnit getProductDefaultUnit()
          Gets the value of the attribute: PRODUCT_DEFAULT_UNIT.
 String getProductName()
          Gets the value of the attribute: PRODUCT_NAME.
 String getProductNumber()
          Gets the value of the attribute: PRODUCT_NUMBER.
 String getSerialNumber()
          Gets the value of the attribute: SERIAL_NUMBER.
 void setInstanceOf(SerialNumbered a_InstanceOf)
          Sets the object for the association that plays role: INSTANCE_OF.
 void setInstanceOfReference(ObjectReference a_InstanceOfReference)
          Sets the value of the attribute: INSTANCE_OF_REFERENCE.
 void setLotNumber(String a_LotNumber)
          Sets the value of the attribute: LOT_NUMBER.
 void setMfgCageCode(WTPrincipalReference a_MfgCageCode)
          Sets the value of the attribute: MFG_CAGE_CODE.
 void setOrganization(WTOrganization a_Organization)
          Sets the value of the attribute: ORGANIZATION.
 void setOrganizationReference(WTPrincipalReference a_OrganizationReference)
          Sets the value of the attribute: ORGANIZATION_REFERENCE.
 void setSerialNumber(String a_SerialNumber)
          Sets the value of the attribute: SERIAL_NUMBER.
 
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
 

Field Detail

PRODUCT_NUMBER

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

Supported API: true

See Also:
Constant Field Values

PRODUCT_NAME

public static final String PRODUCT_NAME
Label for the attribute; The name of the part -- the name a part is commonly refered to by, such as "piston".

Supported API: true

See Also:
Constant Field Values

PRODUCT_DEFAULT_UNIT

public static final String PRODUCT_DEFAULT_UNIT
Label for the attribute; The name of the part -- the name a part is commonly refered to by, such as "piston".

Supported API: true

See Also:
Constant Field Values

ORGANIZATION_REFERENCE

public static final String ORGANIZATION_REFERENCE
Label for the attribute; The organizationReference attribute represents the reference to organization for the part. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

See Also:
Constant Field Values

ORGANIZATION

public static final String ORGANIZATION
Label for the attribute; The organization attribute represents the organization for the part. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

See Also:
Constant Field Values

MFG_CAGE_CODE

public static final String MFG_CAGE_CODE
Label for the attribute; The mfgCageCode attribute represents the reference to the manufacturing organization for the part instance. Used to indicate the Manufacturing ID for the company that manufactured the part instance. Conceptually on the part instance, it is actually implemented on the master. Needs to be called mfgCageCode(because it has migration implications for the Windchill A&D module).

Supported API: true

See Also:
Constant Field Values

INSTANCE_OF

public static final String INSTANCE_OF
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

INSTANCE_OF_REFERENCE

public static final String INSTANCE_OF_REFERENCE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getProductNumber

public String getProductNumber()
Gets the value of the attribute: PRODUCT_NUMBER. The number attribute represents the number for this part and all of its versions. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

Returns:
String

getProductName

public String getProductName()
Gets the value of the attribute: PRODUCT_NAME. The name of the part -- the name a part is commonly refered to by, such as "piston".

Supported API: true

Returns:
String

getProductDefaultUnit

public QuantityUnit getProductDefaultUnit()
Gets the value of the attribute: PRODUCT_DEFAULT_UNIT. The name of the part -- the name a part is commonly refered to by, such as "piston".

Supported API: true

Returns:
QuantityUnit

getOrganizationReference

public WTPrincipalReference getOrganizationReference()
Gets the value of the attribute: ORGANIZATION_REFERENCE. The organizationReference attribute represents the reference to organization for the part. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

Specified by:
getOrganizationReference in interface OrganizationOwned
Returns:
WTPrincipalReference

getOrganization

public WTOrganization getOrganization()
Gets the value of the attribute: ORGANIZATION. The organization attribute represents the organization for the part. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

Specified by:
getOrganization in interface OrganizationOwned
Returns:
WTOrganization

getMfgCageCode

public WTPrincipalReference getMfgCageCode()
Gets the value of the attribute: MFG_CAGE_CODE. The mfgCageCode attribute represents the reference to the manufacturing organization for the part instance. Used to indicate the Manufacturing ID for the company that manufactured the part instance. Conceptually on the part instance, it is actually implemented on the master. Needs to be called mfgCageCode(because it has migration implications for the Windchill A&D module).

Supported API: true

Returns:
WTPrincipalReference

setMfgCageCode

public void setMfgCageCode(WTPrincipalReference a_MfgCageCode)
                    throws WTPropertyVetoException
Sets the value of the attribute: MFG_CAGE_CODE. The mfgCageCode attribute represents the reference to the manufacturing organization for the part instance. Used to indicate the Manufacturing ID for the company that manufactured the part instance. Conceptually on the part instance, it is actually implemented on the master. Needs to be called mfgCageCode(because it has migration implications for the Windchill A&D module).

Supported API: true

Parameters:
a_MfgCageCode -
Throws:
WTPropertyVetoException

getInstanceOf

public SerialNumbered getInstanceOf()
Gets the object for the association that plays role: INSTANCE_OF.

Supported API: true

Specified by:
getInstanceOf in interface SerialNumberedConfiguredInstanceMaster
Specified by:
getInstanceOf in interface SerialNumberedInstanceIfc
Returns:
SerialNumbered

setInstanceOf

public void setInstanceOf(SerialNumbered a_InstanceOf)
                   throws WTPropertyVetoException,
                          WTException
Sets the object for the association that plays role: INSTANCE_OF.

Supported API: true

Specified by:
setInstanceOf in interface SerialNumberedConfiguredInstanceMaster
Specified by:
setInstanceOf in interface SerialNumberedInstanceIfc
Parameters:
a_InstanceOf -
Throws:
WTPropertyVetoException
WTException

getInstanceOfReference

public ObjectReference getInstanceOfReference()
Gets the value of the attribute: INSTANCE_OF_REFERENCE.

Supported API: true

Specified by:
getInstanceOfReference in interface SerialNumberedConfiguredInstanceMaster
Specified by:
getInstanceOfReference in interface SerialNumberedInstanceIfc
Returns:
ObjectReference

setInstanceOfReference

public void setInstanceOfReference(ObjectReference a_InstanceOfReference)
                            throws WTPropertyVetoException
Sets the value of the attribute: INSTANCE_OF_REFERENCE.

Supported API: true

Specified by:
setInstanceOfReference in interface SerialNumberedConfiguredInstanceMaster
Specified by:
setInstanceOfReference in interface SerialNumberedInstanceIfc
Parameters:
a_InstanceOfReference -
Throws:
WTPropertyVetoException

getSerialNumber

public String getSerialNumber()
Gets the value of the attribute: SERIAL_NUMBER. The serial number of the object. The serial number must be unique in the context of its serial numbered object.

Supported API: true

Specified by:
getSerialNumber in interface SerialNumberedInstanceIfc
Returns:
String
See Also:
SerialNumbered

setSerialNumber

public void setSerialNumber(String a_SerialNumber)
                     throws WTPropertyVetoException
Sets the value of the attribute: SERIAL_NUMBER. The serial number of the object. The serial number must be unique in the context of its serial numbered object.

Supported API: true

Specified by:
setSerialNumber in interface SerialNumberedInstanceIfc
Parameters:
a_SerialNumber -
Throws:
WTPropertyVetoException
See Also:
SerialNumbered

getLotNumber

public String getLotNumber()
Gets the value of the attribute: LOT_NUMBER. The serial number of the object. The serial number must be unique in the context of its serial numbered object.

Supported API: true

Specified by:
getLotNumber in interface SerialNumberedInstanceIfc
Returns:
String
See Also:
SerialNumbered

setLotNumber

public void setLotNumber(String a_LotNumber)
                  throws WTPropertyVetoException
Sets the value of the attribute: LOT_NUMBER. The serial number of the object. The serial number must be unique in the context of its serial numbered object.

Supported API: true

Specified by:
setLotNumber in interface SerialNumberedInstanceIfc
Parameters:
a_LotNumber -
Throws:
WTPropertyVetoException
See Also:
SerialNumbered

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

setOrganizationReference

public void setOrganizationReference(WTPrincipalReference a_OrganizationReference)
                              throws WTPropertyVetoException
Sets the value of the attribute: ORGANIZATION_REFERENCE.

Supported API: true

Parameters:
a_OrganizationReference -
Throws:
WTPropertyVetoException

setOrganization

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

Supported API: true

Parameters:
a_Organization -
Throws:
WTPropertyVetoException