|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.fc.ObjectToObjectLink
wt.part.WTPartAlternateLink
public class WTPartAlternateLink
A link used to indicate that a WTPart may be globally replaced by another WTPart. This link is unidirectional: the alternates for a part are obtained by navigating the "alternates" role. To specify that two parts are alternates of each other, two links must be created.
Use the newWTPartAlternateLink static factory method(s),
not the WTPartAlternateLink 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
| Field Summary | |
|---|---|
static String |
ALTERNATE_FOR_ROLE
Label for the attribute. |
static String |
ALTERNATES_ROLE
Label for the attribute. |
| Method Summary | |
|---|---|
WTPartMaster |
getAlternateFor()
Gets the object for the association that plays role: ALTERNATE_FOR_ROLE. |
WTPartMaster |
getAlternates()
Gets the object for the association that plays role: ALTERNATES_ROLE. |
void |
setAlternateFor(WTPartMaster alternateFor)
Sets the object for the association that plays role: ALTERNATE_FOR_ROLE. |
void |
setAlternates(WTPartMaster alternates)
Sets the object for the association that plays role: ALTERNATES_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 |
|---|
public static final String ALTERNATE_FOR_ROLE
public static final String ALTERNATES_ROLE
| Method Detail |
|---|
public WTPartMaster getAlternateFor()
public void setAlternateFor(WTPartMaster alternateFor)
throws WTPropertyVetoException
alternateFor -
WTPropertyVetoExceptionpublic WTPartMaster getAlternates()
public void setAlternates(WTPartMaster alternates)
throws WTPropertyVetoException
alternates -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||