com.ptc.windchill.esi.bom
Class AlternateItemGroup

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.fc.ObjectToObjectLink
          extended by com.ptc.windchill.esi.bom.AlternateItemGroup
All Implemented Interfaces:
Externalizable, Serializable, BinaryLink, Link, NetFactor, ObjectMappable, Persistable, DisplayIdentification

public final class AlternateItemGroup
extends ObjectToObjectLink
implements Externalizable

Represent an identifier for grouping a component and substitues on a Windchill assembly. This object is used to map a Windchill assembly to the alternate item group behavior of SAP's R3 ERP system.

Use the newAlternateItemGroup static factory method(s), not the AlternateItemGroup 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 LINE_NUMBER
          Label for the attribute; Line number is copied from part usage link when an assembly is published to ERP.
static String NUMBER
          Label for the attribute; Identifier of a grouping of a Windchill assembly component and its substitues.
static String WTPART_MASTER_ROLE
          Label for the attribute.
static String WTPART_ROLE
          Label for the attribute.
 
Method Summary
 long getLineNumber()
          Gets the value of the attribute: LINE_NUMBER.
 int getNumber()
          Gets the value of the attribute: NUMBER.
 WTPart getWTPart()
          Gets the object for the association that plays role: WTPART_ROLE.
 WTPartMaster getWTPartMaster()
          Gets the object for the association that plays role: WTPART_MASTER_ROLE.
 void setLineNumber(long a_LineNumber)
          Sets the value of the attribute: LINE_NUMBER.
 void setNumber(int a_Number)
          Sets the value of the attribute: NUMBER.
protected  void setWTPart(WTPart theWTPart)
          Sets the object for the association that plays role: WTPART_ROLE.
protected  void setWTPartMaster(WTPartMaster theWTPartMaster)
          Sets the object for the association that plays role: WTPART_MASTER_ROLE.
 
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

WTPART_ROLE

public static final String WTPART_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

WTPART_MASTER_ROLE

public static final String WTPART_MASTER_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

NUMBER

public static final String NUMBER
Label for the attribute; Identifier of a grouping of a Windchill assembly component and its substitues. Must be unique on any assembly.

Supported API: true

See Also:
Constant Field Values

LINE_NUMBER

public static final String LINE_NUMBER
Label for the attribute; Line number is copied from part usage link when an assembly is published to ERP.

Supported API: true

See Also:
Constant Field Values
Method Detail

getWTPart

public WTPart getWTPart()
Gets the object for the association that plays role: WTPART_ROLE.

Supported API: true

Returns:
WTPart

setWTPart

protected void setWTPart(WTPart theWTPart)
                  throws WTPropertyVetoException
Sets the object for the association that plays role: WTPART_ROLE.

Supported API: true

Parameters:
theWTPart -
Throws:
WTPropertyVetoException

getWTPartMaster

public WTPartMaster getWTPartMaster()
Gets the object for the association that plays role: WTPART_MASTER_ROLE.

Supported API: true

Returns:
WTPartMaster

setWTPartMaster

protected void setWTPartMaster(WTPartMaster theWTPartMaster)
                        throws WTPropertyVetoException
Sets the object for the association that plays role: WTPART_MASTER_ROLE.

Supported API: true

Parameters:
theWTPartMaster -
Throws:
WTPropertyVetoException

getNumber

public int getNumber()
Gets the value of the attribute: NUMBER. Identifier of a grouping of a Windchill assembly component and its substitues. Must be unique on any assembly.

Supported API: true

Returns:
int

setNumber

public void setNumber(int a_Number)
               throws WTPropertyVetoException
Sets the value of the attribute: NUMBER. Identifier of a grouping of a Windchill assembly component and its substitues. Must be unique on any assembly.

Supported API: true

Parameters:
a_Number -
Throws:
WTPropertyVetoException

getLineNumber

public long getLineNumber()
Gets the value of the attribute: LINE_NUMBER. Line number is copied from part usage link when an assembly is published to ERP.

Supported API: true

Returns:
long

setLineNumber

public void setLineNumber(long a_LineNumber)
                   throws WTPropertyVetoException
Sets the value of the attribute: LINE_NUMBER. Line number is copied from part usage link when an assembly is published to ERP.

Supported API: true

Parameters:
a_LineNumber -
Throws:
WTPropertyVetoException