Class Feedback
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.Feedback
- All Implemented Interfaces:
Serializable, Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringFree-text comment.protected StringMost-used component (Dissemination / Acquisition / Portal / Monitoring).protected StringOptional contact email for follow-up.protected LongAuto-increment primary key.protected StringThe one thing that would make OpenECPDS better.protected booleanPermission to quote comments anonymously in presentations/docs.protected IntegerStar rating 1–5.protected BooleanWould recommend?protected booleanWhether an admin has reviewed this feedback entry.protected BigDecimalSubmission timestamp (millis since epoch).protected StringHow the user uses OpenECPDS (Evaluation / Production / Research / Other).protected StringWeb user login (null = anonymous).Fields inherited from class DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the submission time as a formatted string (yyyy-MM-dd HH:mm UTC).longgetId()intgetTime()getUsage()inthashCode()booleanbooleanvoidsetComment(String c) voidvoidsetContact(String c) voidsetId(long id) voidvoidsetQuoteOk(boolean q) voidsetRating(int r) voidvoidsetReviewed(boolean r) voidvoidvoidsetWebUserId(String id) Methods inherited from class DataBaseObject
bigDecimalToTimestamp, clone, compare, compare, getCollectionSize, integerToInt, integerToString, removeHiddenOptions, setCollectionSize, strim, stringToInteger, stringToLong, stringToString, timestampToBigDecimal, toString, toString, toString, toString
-
Field Details
-
FBK_ID
Auto-increment primary key. -
WEU_ID
Web user login (null = anonymous). -
FBK_TIME
Submission timestamp (millis since epoch). -
FBK_RATING
Star rating 1–5. -
FBK_COMMENT
Free-text comment. -
FBK_USAGE
How the user uses OpenECPDS (Evaluation / Production / Research / Other). -
FBK_COMPONENT
Most-used component (Dissemination / Acquisition / Portal / Monitoring). -
FBK_CONTACT
Optional contact email for follow-up. -
FBK_ONE_THING
The one thing that would make OpenECPDS better. -
FBK_RECOMMEND
Would recommend? (null = no answer). -
FBK_QUOTE_OK
protected boolean FBK_QUOTE_OKPermission to quote comments anonymously in presentations/docs. -
FBK_REVIEWED
protected boolean FBK_REVIEWEDWhether an admin has reviewed this feedback entry.
-
-
Constructor Details
-
Feedback
public Feedback()Instantiates a new Feedback.
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getWebUserId
-
setWebUserId
-
getTime
-
setTime
-
getRating
public int getRating() -
setRating
public void setRating(int r) -
getComment
-
setComment
-
getUsage
-
setUsage
-
getComponent
-
setComponent
-
getContact
-
setContact
-
getOneThing
-
setOneThing
-
getRecommend
-
setRecommend
-
isQuoteOk
public boolean isQuoteOk() -
setQuoteOk
public void setQuoteOk(boolean q) -
isReviewed
public boolean isReviewed() -
setReviewed
public void setReviewed(boolean r) -
getFormattedTime
Returns the submission time as a formatted string (yyyy-MM-dd HH:mm UTC). -
equals
-
hashCode
-