Package org.cyclos.entities.marketplace
Class AdQuestion
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.marketplace.AdQuestion
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForDataTranslation,IEntity
@Entity public class AdQuestion extends BaseEntity
-
-
Constructor Summary
Constructors Constructor Description AdQuestion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicAdgetAd()StringgetAnswer()DategetAnswerDate()NetworkgetNetwork()Returns the network this entity belongs toUsergetOwner()StringgetQuestion()DategetQuestionDate()voidsetAd(BasicAd ad)voidsetAnswer(String answer)voidsetAnswerDate(Date answerDate)voidsetOwner(User owner)voidsetQuestion(String question)voidsetQuestionDate(Date questionDate)-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, toShortString, toString, uniqueIds, uniqueIds
-
-
-
-
Method Detail
-
getAd
public BasicAd getAd()
-
getAnswer
public String getAnswer()
-
getAnswerDate
public Date getAnswerDate()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getOwner
public User getOwner()
-
getQuestion
public String getQuestion()
-
getQuestionDate
public Date getQuestionDate()
-
setAd
public void setAd(BasicAd ad)
-
setAnswer
public void setAnswer(String answer)
-
setAnswerDate
public void setAnswerDate(Date answerDate)
-
setOwner
public void setOwner(User owner)
-
setQuestion
public void setQuestion(String question)
-
setQuestionDate
public void setQuestionDate(Date questionDate)
-
-