Class AnswerEntityImpl
java.lang.Object
com.flowable.questionnaire.service.impl.entity.AnswerEntityImpl
- All Implemented Interfaces:
 Answer,AnswerEntity
public class AnswerEntityImpl extends java.lang.Object implements AnswerEntity
- Author:
 - Filip Hrisafov
 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringcontentprotected java.lang.Stringidprotected java.util.Map<java.lang.String,java.util.List<java.lang.String>>parametersprotected java.lang.Stringtype - 
Constructor Summary
Constructors Constructor Description AnswerEntityImpl() - 
Method Summary
Modifier and Type Method Description java.lang.StringgetContent()The optional content of the answer.java.lang.StringgetId()Returns the unique id of this answer.java.util.Map<java.lang.String,java.util.List<java.lang.String>>getParameters()The optional parameters for the answer.java.lang.StringgetType()Returns the type (typically an enumeration) of the answervoidsetContent(java.lang.String content)voidsetId(java.lang.String id)voidsetParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)voidsetType(java.lang.String type) 
- 
Field Details
- 
id
protected java.lang.String id - 
type
protected java.lang.String type - 
content
protected java.lang.String content - 
parameters
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters 
 - 
 - 
Constructor Details
- 
AnswerEntityImpl
public AnswerEntityImpl() 
 - 
 - 
Method Details
- 
getId
public java.lang.String getId()Description copied from interface:AnswerReturns the unique id of this answer. - 
setId
public void setId(java.lang.String id)- Specified by:
 setIdin interfaceAnswerEntity
 - 
getType
public java.lang.String getType()Description copied from interface:AnswerReturns the type (typically an enumeration) of the answer - 
setType
public void setType(java.lang.String type)- Specified by:
 setTypein interfaceAnswerEntity
 - 
getContent
public java.lang.String getContent()Description copied from interface:AnswerThe optional content of the answer.- Specified by:
 getContentin interfaceAnswer- Returns:
 - the optional content of the answer, might be 
null 
 - 
setContent
public void setContent(java.lang.String content)- Specified by:
 setContentin interfaceAnswerEntity
 - 
getParameters
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getParameters()Description copied from interface:AnswerThe optional parameters for the answer.- Specified by:
 getParametersin interfaceAnswer- Returns:
 - the optional parameters for the question, might be empty or even 
null 
 - 
setParameters
public void setParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)- Specified by:
 setParametersin interfaceAnswerEntity
 
 -