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.String
content
protected java.lang.String
id
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>>
parameters
protected java.lang.String
type
-
Constructor Summary
Constructors Constructor Description AnswerEntityImpl()
-
Method Summary
Modifier and Type Method Description java.lang.String
getContent()
The optional content of the answer.java.lang.String
getId()
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.String
getType()
Returns the type (typically an enumeration) of the answervoid
setContent(java.lang.String content)
void
setId(java.lang.String id)
void
setParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
void
setType(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:Answer
Returns the unique id of this answer. -
setId
public void setId(java.lang.String id)- Specified by:
setId
in interfaceAnswerEntity
-
getType
public java.lang.String getType()Description copied from interface:Answer
Returns the type (typically an enumeration) of the answer -
setType
public void setType(java.lang.String type)- Specified by:
setType
in interfaceAnswerEntity
-
getContent
public java.lang.String getContent()Description copied from interface:Answer
The optional content of the answer.- Specified by:
getContent
in interfaceAnswer
- Returns:
- the optional content of the answer, might be
null
-
setContent
public void setContent(java.lang.String content)- Specified by:
setContent
in interfaceAnswerEntity
-
getParameters
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getParameters()Description copied from interface:Answer
The optional parameters for the answer.- Specified by:
getParameters
in 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:
setParameters
in interfaceAnswerEntity
-