|
Predictions 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object hirondelle.predict.main.lists.PredictionList
public final class PredictionList
Model Object for a list of related predictions.
Constructor Summary | |
---|---|
PredictionList(Id aId,
SafeText aTitle,
DateTime aCreationDate,
Id aUser)
Constructor. |
|
PredictionList(Id aId,
SafeText aTitle,
DateTime aCreationDate,
Id aUser,
SafeText aUserScreenName)
Constructor for public view of a prediction list. |
|
PredictionList(Id aId,
SafeText aTitle,
Id aUser)
Constructor used when building from user input. |
Method Summary | |
---|---|
boolean |
equals(Object aThat)
|
DateTime |
getCreationDate()
Returns null if no creation date passed to constructor. |
Id |
getId()
|
SafeText |
getTitle()
|
Id |
getUser()
|
SafeText |
getUserScreenName()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PredictionList(Id aId, SafeText aTitle, DateTime aCreationDate, Id aUser) throws ModelCtorException
aId
- Internal database primary key, optionalaTitle
- Title or name of this list of predictions, required, max 50 chars, not unique for given useraCreationDate
- Date and time this prediction list was created, required. Never changes.aUser
- User id of the list owner, required
ModelCtorException
public PredictionList(Id aId, SafeText aTitle, DateTime aCreationDate, Id aUser, SafeText aUserScreenName) throws ModelCtorException
aId
- Internal database primary key, optionalaTitle
- Title or name of this list of predictions, required, max 50 chars, not unique for given useraCreationDate
- Date and time this prediction list was created, required. Never changes.aUser
- User id of the list owner, requiredaUserScreenName
- screen name of the owner, required
ModelCtorException
public PredictionList(Id aId, SafeText aTitle, Id aUser) throws ModelCtorException
aId
- Internal database primary key, optionalaTitle
- Title or name of this list of predictions, required, max 50 chars, (not unique for given user)aUser
- User id of the list owner, required, must come from session-scope object, not from user input
ModelCtorException
Method Detail |
---|
public Id getId()
public SafeText getTitle()
public DateTime getCreationDate()
public Id getUser()
public SafeText getUserScreenName()
public String toString()
toString
in class Object
public boolean equals(Object aThat)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Predictions 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |