|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.replication.unit.UnitWTPartUsageLink
The UnitWTPartUsageLink is a link between WTUnits and WTUPartMasters. It specifies how many WTParts are contained in a WTUnit.
Use the newUnitWTUnitUsageLink
static factory method(s), not
the UnitWTUnitUsageLink
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
WTPart
,
WTPartMaster
,
IteratedUsageLink
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
private WTPartMaster |
theMaster
|
private UnitItem |
unitItem
|
static String |
USED_BY_ROLE
Label for the attribute. |
static String |
USES_ROLE
Label for the attribute. |
private static String |
versionID
|
Constructor Summary | |
private |
UnitWTPartUsageLink()
|
Method Summary | |
String |
getConceptualClassname()
Returns the conceptual (modeled) name for the class. |
WTUnit |
getUsedBy()
|
UnitItem |
getUsedByItem()
|
WTPartMaster |
getUses()
|
protected void |
initialize(UnitItem item,
WTPartMaster master)
Default initializer for Link objects. |
static UnitWTPartUsageLink |
newUnitWTPartUsageLink(UnitItem item,
WTPartMaster master)
Default factory for the class. |
void |
setUsedBy(WTUnit unit)
|
void |
setUses(WTPartMaster master)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String versionID
private UnitItem unitItem
private WTPartMaster theMaster
public static final String USED_BY_ROLE
public static final String USES_ROLE
Constructor Detail |
private UnitWTPartUsageLink()
Method Detail |
public UnitItem getUsedByItem()
public WTUnit getUsedBy()
public void setUsedBy(WTUnit unit)
public WTPartMaster getUses()
public void setUses(WTPartMaster master)
public String getConceptualClassname()
protected void initialize(UnitItem item, WTPartMaster master) throws WTException
WTException
public static UnitWTPartUsageLink newUnitWTPartUsageLink(UnitItem item, WTPartMaster master) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |