|
|||||||||
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,
java.lang.String version,
java.lang.String os,
byte[] MD5)
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 |
byte[] |
getMD5()
Retrieves the MD5 checksum for this version object |
java.lang.String |
getOs()
Retrieves the target operating system for this version |
java.lang.String |
getPackage()
Get's the location of the update package |
java.lang.String |
getVersion()
Get the version number as string object |
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, java.lang.String version, java.lang.String os, byte[] MD5)
ID
- Unique ID string for this versionfileName
- Location of the update packageversion
- The version numberos
- The OS this version is intededMD5
- Package check sumMethod 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 java.lang.String getOs()
public java.lang.String getVersion()
public byte[] getMD5()
public void printData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |