Package com.avoka.tm.vo
Class Form
java.lang.Object
com.avoka.tm.vo.Form
Provide a Form value object class.
- Since:
- 5.0.0
-
Constructor Summary
ConstructorDescriptionForm()
Form
(com.avoka.fc.core.entity.Form form) Create a Form value object with the given form entity parameter.Form
(com.avoka.fc.core.entity.Form form, boolean withSpaces) Create a Form value object with the given form entity parameter and allow spaces based on withSpaces parameter.Create a unit testing Form value object with the given fields. -
Method Summary
Modifier and TypeMethodDescriptionThe current form versions description property.The form code.The form name.The current form version id (PK).The set of associated form group group names.getId()
The form id (PK).getOrgId()
The organization client id (PK).The set of associated space names.The current form spaces.Deprecated.Deprecated.usegetTxnExpiryDays()
insteadThe date after which all submissions for this form will expire.The number of days after which a submission will expire.The set of associated versions.toString()
-
Constructor Details
-
Form
public Form() -
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(com.avoka.fc.core.entity.Form form, boolean withSpaces) Create a Form value object with the given form entity parameter and allow spaces based on withSpaces parameter.- Parameters:
form
- the form entity parameter (required)withSpaces
- value based on which the spaces entity is shown.- Since:
- 23.10.0
-
Form
Create a unit testing Form value object with the given fields.- Parameters:
fields
- the form entity fields (required)- Since:
- 5.1.4
-
-
Method Details
-
toString
-
getId
The form id (PK). -
getFormCode
The form code. -
getFormName
The form name. -
getOrgId
The organization client id (PK). -
getFormVersionId
The current form version id (PK). -
getDescription
The current form versions description property. -
getGroupNames
The set of associated form group group names. -
getSpaces
The current form spaces. -
getSpaceNames
The set of associated space names. -
getSubmissionExpiryDate
Deprecated.usegetTxnExpiryDate()
insteadThe date after which all submissions for this form will expire.- Since:
- 19.5.0
-
getSubmissionExpiryDays
Deprecated.usegetTxnExpiryDays()
insteadThe number of days after which a submission will expire.- Since:
- 19.5.0
-
getTxnExpiryDate
The date after which all submissions for this form will expire.- Since:
- 19.11.3
-
getTxnExpiryDays
The number of days after which a submission will expire.- Since:
- 19.11.3
-
getVersions
The set of associated versions.- Since:
- 5.1.0
-
getTxnExpiryDate()
instead