wt.part
Class WTPartSubstituteLink

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.fc.ObjectToObjectLink
          extended by wt.part.WTPartSubstituteLink
All Implemented Interfaces:
Externalizable, Serializable, AccessControlled, wt.access.PolicyAccessControlled, wt.access.SecurityLabeled, wt.admin.DomainAdministered, BinaryLink, Link, NetFactor, ObjectMappable, Persistable, DisplayIdentification

public class WTPartSubstituteLink
extends ObjectToObjectLink
implements wt.access.SecurityLabeled, wt.access.PolicyAccessControlled, Externalizable

An association indicating that in the context of a particular usage, another part may be substituted.

Use the newWTPartSubstituteLink static factory method(s), not the WTPartSubstituteLink 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 SUBSTITUTE_FOR_ROLE
          Label for the attribute.
static String SUBSTITUTES_ROLE
          Label for the attribute.
 
Method Summary
 WTPartUsageLink getSubstituteFor()
          Gets the object for the association that plays role: SUBSTITUTE_FOR_ROLE.
 WTPartMaster getSubstitutes()
          Gets the object for the association that plays role: SUBSTITUTES_ROLE.
 void setSubstituteFor(WTPartUsageLink substituteFor)
          Sets the object for the association that plays role: SUBSTITUTE_FOR_ROLE.
 void setSubstitutes(WTPartMaster substitutes)
          Sets the object for the association that plays role: SUBSTITUTES_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

SUBSTITUTE_FOR_ROLE

public static final String SUBSTITUTE_FOR_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

SUBSTITUTES_ROLE

public static final String SUBSTITUTES_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getSubstituteFor

public WTPartUsageLink getSubstituteFor()
Gets the object for the association that plays role: SUBSTITUTE_FOR_ROLE.

Supported API: true

Returns:
WTPartUsageLink

setSubstituteFor

public void setSubstituteFor(WTPartUsageLink substituteFor)
                      throws WTPropertyVetoException
Sets the object for the association that plays role: SUBSTITUTE_FOR_ROLE.

Supported API: true

Parameters:
substituteFor -
Throws:
WTPropertyVetoException

getSubstitutes

public WTPartMaster getSubstitutes()
Gets the object for the association that plays role: SUBSTITUTES_ROLE.

Supported API: true

Returns:
WTPartMaster

setSubstitutes

public void setSubstitutes(WTPartMaster substitutes)
                    throws WTPropertyVetoException
Sets the object for the association that plays role: SUBSTITUTES_ROLE.

Supported API: true

Parameters:
substitutes -
Throws:
WTPropertyVetoException