Class Form
public class Form
extends java.lang.Object
Provide a Form value object class.
- Since:
- 5.0.0
Field Summary
FieldsModifier and Type | Field | Description |
---|---|---|
java.lang.String |
description |
The current form versions description property. |
java.lang.String |
formCode |
The form code. |
java.lang.String |
formName |
The form name. |
java.lang.Long |
formVersionId |
The current form version id (PK). |
java.util.Set<java.lang.String> |
groupNames |
The set of associated form group group names. |
java.lang.Long |
id |
The form id (PK). |
java.lang.Long |
orgId |
The organization client id (PK). |
java.util.Set<java.lang.String> |
spaceNames |
The set of associated space names. |
java.util.Set<java.lang.String> |
versions |
The set of associated versions. |
Constructor Summary
ConstructorsConstructor | Description |
---|---|
Form(com.avoka.fc.core.entity.Form form) |
Create a Form value object with the given form entity parameter. |
Form(java.util.Map fields) |
Create a unit testing Form value object with the given fields. |
Method Summary
All Methods Instance Methods Concrete MethodsModifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait
Field Detail
id
public final java.lang.Long id
The form id (PK).
formCode
public final java.lang.String formCode
The form code.
formName
public final java.lang.String formName
The form name.
orgId
public final java.lang.Long orgId
The organization client id (PK).
formVersionId
public final java.lang.Long formVersionId
The current form version id (PK).
description
public final java.lang.String description
The current form versions description property.
groupNames
public final java.util.Set<java.lang.String> groupNames
The set of associated form group group names.
spaceNames
public final java.util.Set<java.lang.String> spaceNames
The set of associated space names.
versions
public final java.util.Set<java.lang.String> versions
The set of associated versions.
- Since:
- 5.1.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(java.util.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 java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a string representation of the object.