com.ptc.windchill.esi.tgt
Class ESITargetAssignmentLink

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

public class ESITargetAssignmentLink
extends ObjectToObjectLink
implements ESITargetAssociation, Externalizable

Represents a target assignment between a persistable object and an ESI Target.

Use the newESITargetAssignmentLink static factory method(s), not the ESITargetAssignmentLink 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

See Also:
Serialized Form

Field Summary
static String RELEASABLE_OBJECT_ROLE
          Label for the attribute.
static String TARGET_ROLE
          Label for the attribute.
 
Method Summary
 Releasable getReleasableObject()
          Gets the object for the association that plays role: RELEASABLE_OBJECT_ROLE.
 ESITarget getTarget()
          Gets the object for the association that plays role: TARGET_ROLE.
protected  void setReleasableObject(Releasable releasableObject)
          Sets the object for the association that plays role: RELEASABLE_OBJECT_ROLE.
protected  void setTarget(ESITarget target)
          Sets the object for the association that plays role: TARGET_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

RELEASABLE_OBJECT_ROLE

public static final String RELEASABLE_OBJECT_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

TARGET_ROLE

public static final String TARGET_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getReleasableObject

public Releasable getReleasableObject()
Gets the object for the association that plays role: RELEASABLE_OBJECT_ROLE.

Supported API: true

Returns:
Releasable

setReleasableObject

protected void setReleasableObject(Releasable releasableObject)
                            throws WTPropertyVetoException
Sets the object for the association that plays role: RELEASABLE_OBJECT_ROLE.

Supported API: true

Parameters:
releasableObject -
Throws:
WTPropertyVetoException

getTarget

public ESITarget getTarget()
Gets the object for the association that plays role: TARGET_ROLE.

Supported API: true

Returns:
ESITarget

setTarget

protected void setTarget(ESITarget target)
                  throws WTPropertyVetoException
Sets the object for the association that plays role: TARGET_ROLE.

Supported API: true

Parameters:
target -
Throws:
WTPropertyVetoException