Commit ec72adda authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added javadoc comments.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5089 b35dd754-fafc-0310-a699-88a17e54d16e
parent 23743b46
......@@ -131,6 +131,10 @@ public class RosterItem implements Cacheable {
protected Set<String> invisibleSharedGroups = new HashSet<String>();
protected SubType subStatus;
protected AskType askStatus;
/**
* Holds the ID that uniquely identifies the roster in the backend store. A value of
* zero means that the roster item is not persistent.
*/
private long rosterID;
public RosterItem(long id,
......@@ -474,9 +478,10 @@ public class RosterItem implements Cacheable {
}
/**
* <p>Obtain the roster ID associated with this particular roster item.</p>
* <p/>
* <p>Databases can use the roster ID as the key in locating roster items.</p>
* Returns the roster ID associated with this particular roster item. A value of zero
* means that the roster item is not being persisted in the backend store.<p>
*
* Databases can use the roster ID as the key in locating roster items.
*
* @return The roster ID
*/
......@@ -484,6 +489,14 @@ public class RosterItem implements Cacheable {
return rosterID;
}
/**
* Sets the roster ID associated with this particular roster item. A value of zero
* means that the roster item is not being persisted in the backend store.<p>
*
* Databases can use the roster ID as the key in locating roster items.
*
* @param rosterID The roster ID.
*/
public void setID(long rosterID) {
this.rosterID = rosterID;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment