|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--synapsi.data.DataInfo | +--synapsi.data.DataVersion
Class for storing the version. Version is a software package that contains one update packege for RoamMate Clients
Constructor Summary | |
protected |
DataVersion()
|
protected |
DataVersion(java.lang.String ID,
java.lang.String fileName)
Construct the version object with specified ID and path to update package |
Method Summary | |
protected void |
addClient(DataClient client)
Add's the client to vector that tell's which clients are currently useing this version |
protected void |
addGroup(DataGroup group)
Add's a new group for this dataversion The given group is currently useing this DataVersion object |
java.lang.String |
getId()
Get the versions's Unique idstring |
java.lang.String |
getPackage()
Get's the location of the update package |
boolean |
hasClients()
Does this object still have clients that are useing this version |
boolean |
hasGroups()
Does this object still have clients that are useing this version |
void |
printData()
Print method for test purposes mainly. |
protected boolean |
removeClient(DataClient client)
Client is no longer useing this version. |
protected boolean |
removeGroup(DataGroup group)
Group is no longer useing this version. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected DataVersion()
protected DataVersion(java.lang.String ID, java.lang.String fileName)
ID
- Unique ID string for this versionfileName
- Location of the update packageMethod Detail |
protected void addClient(DataClient client)
client
- client that is useing this versionprotected boolean removeClient(DataClient client)
client
- to be removedprotected void addGroup(DataGroup group)
group
- that is this dataVersionprotected boolean removeGroup(DataGroup group)
group
- to be removedpublic boolean hasClients()
public boolean hasGroups()
public java.lang.String getId()
public java.lang.String getPackage()
public void printData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |