|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.danube.scrumworks.api2.RevisionInfo
public final class RevisionInfo
Holds revision information for changes made to data in ScrumWorks.
| Constructor Summary | |
|---|---|
RevisionInfo()
Constructs a new RevisionInfo. |
|
RevisionInfo(int revisionNumber,
java.util.Date timeStamp,
java.lang.String userName)
Constructs a new RevisionInfo. |
|
| Method Summary | |
|---|---|
int |
getRevisionNumber()
Gets the revision number. |
java.util.Date |
getTimeStamp()
Gets the time the change was made. |
java.lang.String |
getUserName()
Gets the name of the user who made the change. |
void |
setRevisionNumber(int revisionNumber)
Sets the revision number. |
void |
setTimeStamp(java.util.Date timeStamp)
Sets the time the change was made. |
void |
setUserName(java.lang.String userName)
Sets the name of the user who made the change. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RevisionInfo()
RevisionInfo.
public RevisionInfo(int revisionNumber,
java.util.Date timeStamp,
java.lang.String userName)
RevisionInfo.
revisionNumber - the revision numbertimeStamp - the time the change was madeuserName - the name of the user who made the change
java.lang.IllegalArgumentException - if the revision argument is negative or any argument is null| Method Detail |
|---|
public int getRevisionNumber()
public void setRevisionNumber(int revisionNumber)
revisionNumber - the new revision number
java.lang.IllegalArgumentException - if the argument is negativepublic java.util.Date getTimeStamp()
public void setTimeStamp(java.util.Date timeStamp)
timeStamp - the new time stamp
java.lang.IllegalArgumentException - if the argument is nullpublic java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName - the new user name
java.lang.IllegalArgumentException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||