|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.starhope.appius.util.SimpleDataRecord<TootUserTrailer>
com.tootsville.user.TootUserTrailer
public class TootUserTrailer
WRITEME: Document this type.
| Field Summary | |
|---|---|
(package private) int |
basic8Choice
The Toot from the Basic 8 that they originally chose. |
private int |
id
user ID |
private static long |
serialVersionUID
Java serialisation unique ID |
private int |
tootTimeLeft
The number of hours remaining of this user's Toot Timer |
private int |
tootTimeLeftMinutes
The number of minutes (beyond the hour) remaining of this user's Toot Timer |
private boolean |
tootTimerDay
If true, the user's Toot Timer will refill every day CV tootTimerMonth |
private int |
tootTimeRefill
The number of hours which are added to the Toot Timer on each refill. |
private boolean |
tootTimerMonth
If true, the user's Toot Timer will refill every month. |
| Fields inherited from class org.starhope.appius.util.SimpleDataRecord |
|---|
myLoader, timeLastChanged, timeLastSaved |
| Constructor Summary | |
|---|---|
TootUserTrailer()
WRITEME: Document this constructor brpocock@star-hope.org |
|
TootUserTrailer(TootUserTrailerLoader loader)
WRITEME: Document this constructor brpocock@star-hope.org |
|
| Method Summary | |
|---|---|
int |
getBasic8Choice()
|
int |
getCacheableID()
Note that all records must have either a numeric ID ( DataRecord.getCacheableID() or a string identifier (
DataRecord.getCacheableIdent() or both. |
String |
getCacheableIdent()
Note that all records must have either a numeric ID ( DataRecord.getCacheableID() or a string identifier (
DataRecord.getCacheableIdent() or both. |
int |
getID()
|
String |
getSubversionRevision()
Return the Subversion revision level of this class's source code file, as supplied via the special "$Rev: " sequence. |
int |
getTootTimeLeft()
|
int |
getTootTimeLeftMinutes()
|
int |
getTootTimeRefill()
|
boolean |
isTootTimerDay()
|
boolean |
isTootTimerMonth()
|
void |
setBasic8Choice(int choice)
|
void |
setID(int userID)
|
void |
setTootTimeLeft(int hours)
|
void |
setTootTimeLeftMinutes(int minutesToSet)
|
void |
setTootTimerDay(boolean timeTootsByDay)
|
void |
setTootTimeRefill(int refillAmount)
|
void |
setTootTimerMonth(boolean timeTootsByMonth)
|
| Methods inherited from class org.starhope.appius.util.SimpleDataRecord |
|---|
changed, checkStale, compareTo, equals, finalize, getRecordLoader, getTimeLastChanged, getTimeLastSaved, hashCode, isBeingLoaded, markAsLoaded, markAsSaved, markForReload, onRemove, onRetrieve, onStore, save, setRecordLoader, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
int basic8Choice
private int tootTimeLeft
private int tootTimeLeftMinutes
private boolean tootTimerDay
tootTimerMonth
private int tootTimeRefill
private boolean tootTimerMonth
tootTimerDay
private int id
| Constructor Detail |
|---|
public TootUserTrailer()
public TootUserTrailer(TootUserTrailerLoader loader)
loader - WRITEME| Method Detail |
|---|
public int getBasic8Choice()
public int getCacheableID()
throws NotFoundException
DataRecordDataRecord.getCacheableID() or a string identifier (
DataRecord.getCacheableIdent() or both.
NotFoundException - if the item doesn't have a distinct
numeric IDDataRecord.getCacheableID()public String getCacheableIdent()
DataRecordDataRecord.getCacheableID() or a string identifier (
DataRecord.getCacheableIdent() or both.
DataRecord.getCacheableIdent()public int getID()
public String getSubversionRevision()
HasSubversionRevisionReturn the Subversion revision level of this class's source code file, as supplied via the special "$Rev: " sequence.
As an example,the Subversion revision string for this file is "$Rev: 1983 $"
@Override
public String getSubversionRevision () {
return "$Rev: ";
}
HasSubversionRevision.getSubversionRevision()public int getTootTimeLeft()
public int getTootTimeLeftMinutes()
public int getTootTimeRefill()
public boolean isTootTimerDay()
public boolean isTootTimerMonth()
public void setBasic8Choice(int choice)
choice - the basic8Choice to setpublic void setID(int userID)
userID - the new user IDpublic void setTootTimeLeft(int hours)
hours - the tootTimeLeft to setpublic void setTootTimeLeftMinutes(int minutesToSet)
minutesToSet - the tootTimeLeftMinutes to setpublic void setTootTimerDay(boolean timeTootsByDay)
timeTootsByDay - the tootTimerDay to setpublic void setTootTimeRefill(int refillAmount)
refillAmount - the tootTimeRefill to setpublic void setTootTimerMonth(boolean timeTootsByMonth)
timeTootsByMonth - the tootTimerMonth to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||