Class AdQuestionVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.marketplace.advertisements.AdQuestionVO
-
- All Implemented Interfaces:
Serializable,IEntity
public class AdQuestionVO extends EntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<BasicAdVO,AdQuestionVO>ADstatic BasicProperty<String,AdQuestionVO>ANSWERstatic BasicProperty<DateTime,AdQuestionVO>ANSWER_DATEstatic StringCLASS_NAMEstatic BasicProperty<UserVO,AdQuestionVO>OWNERstatic BasicProperty<String,AdQuestionVO>QUESTIONstatic BasicProperty<DateTime,AdQuestionVO>QUESTION_DATE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description AdQuestionVO()AdQuestionVO(Long id)AdQuestionVO(Property<T,? super AdQuestionVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()BasicAdVOgetAd()StringgetAnswer()DateTimegetAnswerDate()UserVOgetOwner()StringgetQuestion()DateTimegetQuestionDate()voidsetAd(BasicAdVO ad)voidsetAnswer(String answer)voidsetAnswerDate(DateTime answerDate)voidsetOwner(UserVO owner)voidsetQuestion(String question)voidsetQuestionDate(DateTime questionDate)-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId, toString
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
AD
public static final BasicProperty<BasicAdVO,AdQuestionVO> AD
-
ANSWER
public static final BasicProperty<String,AdQuestionVO> ANSWER
-
ANSWER_DATE
public static final BasicProperty<DateTime,AdQuestionVO> ANSWER_DATE
-
OWNER
public static final BasicProperty<UserVO,AdQuestionVO> OWNER
-
QUESTION
public static final BasicProperty<String,AdQuestionVO> QUESTION
-
QUESTION_DATE
public static final BasicProperty<DateTime,AdQuestionVO> QUESTION_DATE
-
-
Constructor Detail
-
AdQuestionVO
public AdQuestionVO()
-
AdQuestionVO
public AdQuestionVO(Long id)
-
AdQuestionVO
public AdQuestionVO(Property<T,? super AdQuestionVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getAd
public BasicAdVO getAd()
-
setAd
public void setAd(BasicAdVO ad)
-
getAnswer
public String getAnswer()
-
setAnswer
public void setAnswer(String answer)
-
getAnswerDate
public DateTime getAnswerDate()
-
setAnswerDate
public void setAnswerDate(DateTime answerDate)
-
getOwner
public UserVO getOwner()
-
setOwner
public void setOwner(UserVO owner)
-
getQuestion
public String getQuestion()
-
setQuestion
public void setQuestion(String question)
-
getQuestionDate
public DateTime getQuestionDate()
-
setQuestionDate
public void setQuestionDate(DateTime questionDate)
-
-