|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.vc.VersionList
VersionList is a model class for constructing a list of the versions of a master object.
wt.vc.version.Mastered
,
wt.vc.version.Versioned
Field Summary | |
private Mastered |
master
|
private Hashtable |
versions
|
Constructor Summary | |
VersionList()
Create an empty version list |
|
VersionList(Mastered master)
Create a version list for the specified master object. |
Method Summary | |
Mastered |
getMaster()
Get the master object for the list. |
Versioned |
getVersion(Object key)
Get the versioned object for the specified key. |
protected void |
populate()
Populate the list for the contained master object. |
void |
setMaster(Mastered master)
Set the master object for the list. |
String[] |
toMultiList()
Return a string array representation of the list formatted for use in a wt.clients.util.WTMultiList. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Mastered master
private Hashtable versions
Constructor Detail |
public VersionList()
public VersionList(Mastered master) throws WTException
master
- the master object for the list
WTException
Method Detail |
public void setMaster(Mastered master) throws WTException
This will populate the list of versions for the specified master.
master
- the master object for the list
WTException
public Mastered getMaster()
public String[] toMultiList()
Each string changes the following values
public Versioned getVersion(Object key)
key
- the identifying key for the object.
protected void populate() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |