Package com.avoka.tm.vo
Class Form
- java.lang.Object
-
- com.avoka.tm.vo.Form
-
public class Form extends Object
Provide a Form value object class.- Since:
- 5.0.0
-
-
Field Summary
Fields Modifier and Type Field Description StringdescriptionThe current form versions description property.StringformCodeThe form code.StringformNameThe form name.LongformVersionIdThe current form version id (PK).Set<String>groupNamesThe set of associated form group group names.LongidThe form id (PK).LongorgIdThe organization client id (PK).Set<String>spaceNamesThe set of associated space names.DatesubmissionExpiryDateDeprecated.usetxnExpiryDateinsteadIntegersubmissionExpiryDaysDeprecated.usetxnExpiryDaysinsteadDatetxnExpiryDateThe date after which all transactions for this form will expire.IntegertxnExpiryDaysThe number of days after which a transaction will expire.Set<String>versionsThe set of associated versions.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetDescription()The current form versions description property.StringgetFormCode()The form code.StringgetFormName()The form name.LonggetFormVersionId()The current form version id (PK).Set<String>getGroupNames()The set of associated form group group names.LonggetId()The form id (PK).LonggetOrgId()The organization client id (PK).Set<String>getSpaceNames()The set of associated space names.DategetSubmissionExpiryDate()Deprecated.usegetTxnExpiryDate()insteadIntegergetSubmissionExpiryDays()Deprecated.usegetTxnExpiryDays()insteadDategetTxnExpiryDate()The date after which all submissions for this form will expire.IntegergetTxnExpiryDays()The number of days after which a submission will expire.Set<String>getVersions()The set of associated versions.StringtoString()
-
-
-
Field Detail
-
id
public final Long id
The form id (PK).
-
formCode
public final String formCode
The form code.
-
formName
public final String formName
The form name.
-
orgId
public final Long orgId
The organization client id (PK).
-
formVersionId
public final Long formVersionId
The current form version id (PK).
-
description
public final String description
The current form versions description property.
-
submissionExpiryDate
@Deprecated(since="19.11.0") public final Date submissionExpiryDate
Deprecated.usetxnExpiryDateinsteadThe date after which all submissions for this form will expire.- Since:
- 19.5.0
-
submissionExpiryDays
@Deprecated(since="19.11.0") public final Integer submissionExpiryDays
Deprecated.usetxnExpiryDaysinsteadThe number of days after which a submission will expire.- Since:
- 19.5.0
-
txnExpiryDate
public final Date txnExpiryDate
The date after which all transactions for this form will expire.- Since:
- 19.11.0
-
txnExpiryDays
public final Integer txnExpiryDays
The number of days after which a transaction will expire.- Since:
- 19.5.0
-
-
Constructor Detail
-
Form
public Form(com.avoka.fc.core.entity.Form form)
Create a Form value object with the given form entity parameter.- Parameters:
form- the form entity parameter (required)
-
Form
public Form(Map fields)
Create a unit testing Form value object with the given fields.- Parameters:
fields- the form entity fields (required)- Since:
- 5.1.4
-
-
Method Detail
-
toString
public String toString()
-
getId
public Long getId()
The form id (PK).
-
getFormCode
public String getFormCode()
The form code.
-
getFormName
public String getFormName()
The form name.
-
getOrgId
public Long getOrgId()
The organization client id (PK).
-
getFormVersionId
public Long getFormVersionId()
The current form version id (PK).
-
getDescription
public String getDescription()
The current form versions description property.
-
getSubmissionExpiryDate
@Deprecated(since="19.11.3") public Date getSubmissionExpiryDate()
Deprecated.usegetTxnExpiryDate()insteadThe date after which all submissions for this form will expire.- Since:
- 19.5.0
-
getSubmissionExpiryDays
@Deprecated(since="19.11.3") public Integer getSubmissionExpiryDays()
Deprecated.usegetTxnExpiryDays()insteadThe number of days after which a submission will expire.- Since:
- 19.5.0
-
getTxnExpiryDate
public Date getTxnExpiryDate()
The date after which all submissions for this form will expire.- Since:
- 19.11.3
-
getTxnExpiryDays
public Integer getTxnExpiryDays()
The number of days after which a submission will expire.- Since:
- 19.11.3
-
-