Package com.avoka.fc.core.bean
Class RequiredAttachmentMetadata
java.lang.Object
com.avoka.fc.core.bean.RequiredAttachmentMetadata
Provides a RequiredAttachmentMetadata class for use with FormDynamicDataService REST calls.
- Since:
- 4.1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate new RequiredAttachmentMetadata.RequiredAttachmentMetadata
(String attachmentMetadata) Create an RequiredAttachmentMetadata from the given JSON attachmentMetadata text. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setAttachmentDescription
(String attachmentDescription) void
setAttachmentName
(String attachmentName) void
setFileTypes
(String fileTypes) void
setMandatoryStatus
(String mandatoryStatus) void
setMaxNumber
(Integer maxNumber) void
setMaxSize
(Integer maxSize) void
setSubmitManually
(boolean submitManually)
-
Constructor Details
-
RequiredAttachmentMetadata
public RequiredAttachmentMetadata()Create new RequiredAttachmentMetadata.- Since:
- 4.2.0
-
RequiredAttachmentMetadata
Create an RequiredAttachmentMetadata from the given JSON attachmentMetadata text.- Parameters:
attachmentMetadata
- the given JSON attachmentMetadata text.- Throws:
IllegalArgumentException
- if an error occurs parsing the JSON, o
-
-
Method Details
-
getAttachmentName
- Returns:
- the attachmentName
-
getAttachmentDescription
- Returns:
- the attachmentDescription
-
getMandatoryStatus
- Returns:
- the mandatoryStatus
-
getMaxNumber
- Returns:
- the maxNumber
-
getMaxSize
- Returns:
- the maxSize
-
getFileTypes
- Returns:
- the fileTypes setting
-
isSubmitManually
public boolean isSubmitManually()- Returns:
- the submitManually setting
-
setAttachmentName
- Parameters:
attachmentName
- the attachmentName
-
setAttachmentDescription
- Parameters:
attachmentDescription
- the attachmentDescription
-
setMandatoryStatus
- Parameters:
mandatoryStatus
- the mandatoryStatus
-
setMaxNumber
- Parameters:
maxNumber
- the maxNumber
-
setMaxSize
- Parameters:
maxSize
- the maxSize
-
setFileTypes
- Parameters:
fileTypes
- the fileTypes
-
setSubmitManually
public void setSubmitManually(boolean submitManually) - Parameters:
submitManually
- the submitManually
-