Package org.ametys.plugins.forms.data
Class UserEntry
- java.lang.Object
-
- org.ametys.plugins.forms.data.UserEntry
-
-
Field Summary
Fields Modifier and Type Field Description protected Date
_creationDate
The entry submission date.protected int
_id
The entry id.protected List<FieldValue>
_values
The entry values.protected Integer
_workflowId
The workflow id
-
Constructor Summary
Constructors Constructor Description UserEntry(int id, Date creationDate, List<FieldValue> values, Integer workflowId)
Constructor with parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreationDate()
Get the creationDate.int
getId()
Get the id.List<FieldValue>
getValues()
Get the values.Integer
getWorkflowId()
Get the workflow id of this user entryvoid
setCreationDate(Date creationDate)
Set the creationDate.void
setId(int id)
Set the id.void
setValues(List<FieldValue> values)
Set the values.void
setWorkflowId(Integer workflowId)
Set the workflow id of this entry
-
-
-
Field Detail
-
_id
protected int _id
The entry id.
-
_creationDate
protected Date _creationDate
The entry submission date.
-
_values
protected List<FieldValue> _values
The entry values.
-
_workflowId
protected Integer _workflowId
The workflow id
-
-
Constructor Detail
-
UserEntry
public UserEntry(int id, Date creationDate, List<FieldValue> values, Integer workflowId)
Constructor with parameters.- Parameters:
id
- the id of the user entrycreationDate
- the creation date of the user entryvalues
- the values of the user entryworkflowId
- the id of the workflow of this user entry
-
-
Method Detail
-
getId
public int getId()
Get the id.- Returns:
- the id
-
setId
public void setId(int id)
Set the id.- Parameters:
id
- the id to set
-
getCreationDate
public Date getCreationDate()
Get the creationDate.- Returns:
- the creationDate
-
setCreationDate
public void setCreationDate(Date creationDate)
Set the creationDate.- Parameters:
creationDate
- the creationDate to set
-
getValues
public List<FieldValue> getValues()
Get the values.- Returns:
- the values
-
setValues
public void setValues(List<FieldValue> values)
Set the values.- Parameters:
values
- the values to set
-
setWorkflowId
public void setWorkflowId(Integer workflowId)
Set the workflow id of this entry- Parameters:
workflowId
- the id of the workflow of this entry
-
getWorkflowId
public Integer getWorkflowId()
Get the workflow id of this user entry- Returns:
- the workflow id of this entry
-
-