Package com.avoka.fc.core.bean
Class RequiredAttachmentMetadata
- java.lang.Object
-
- com.avoka.fc.core.bean.RequiredAttachmentMetadata
-
public class RequiredAttachmentMetadata extends Object
Provides a RequiredAttachmentMetadata class for use with FormDynamicDataService REST calls.- Since:
- 4.1.0
- See Also:
FormDynamicDataServlet
-
-
Constructor Summary
Constructors Constructor Description RequiredAttachmentMetadata()Create new RequiredAttachmentMetadata.RequiredAttachmentMetadata(String attachmentMetadata)Create an RequiredAttachmentMetadata from the given JSON attachmentMetadata text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttachmentDescription()StringgetAttachmentName()StringgetFileTypes()StringgetMandatoryStatus()IntegergetMaxNumber()IntegergetMaxSize()booleanisSubmitManually()voidsetAttachmentDescription(String attachmentDescription)voidsetAttachmentName(String attachmentName)voidsetFileTypes(String fileTypes)voidsetMandatoryStatus(String mandatoryStatus)voidsetMaxNumber(Integer maxNumber)voidsetMaxSize(Integer maxSize)voidsetSubmitManually(boolean submitManually)
-
-
-
Constructor Detail
-
RequiredAttachmentMetadata
public RequiredAttachmentMetadata()
Create new RequiredAttachmentMetadata.- Since:
- 4.2.0
-
RequiredAttachmentMetadata
public RequiredAttachmentMetadata(String attachmentMetadata)
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 Detail
-
getAttachmentName
public String getAttachmentName()
- Returns:
- the attachmentName
-
getAttachmentDescription
public String getAttachmentDescription()
- Returns:
- the attachmentDescription
-
getMandatoryStatus
public String getMandatoryStatus()
- Returns:
- the mandatoryStatus
-
getMaxNumber
public Integer getMaxNumber()
- Returns:
- the maxNumber
-
getMaxSize
public Integer getMaxSize()
- Returns:
- the maxSize
-
getFileTypes
public String getFileTypes()
- Returns:
- the fileTypes setting
-
isSubmitManually
public boolean isSubmitManually()
- Returns:
- the submitManually setting
-
setAttachmentName
public void setAttachmentName(String attachmentName)
- Parameters:
attachmentName- the attachmentName
-
setAttachmentDescription
public void setAttachmentDescription(String attachmentDescription)
- Parameters:
attachmentDescription- the attachmentDescription
-
setMandatoryStatus
public void setMandatoryStatus(String mandatoryStatus)
- Parameters:
mandatoryStatus- the mandatoryStatus
-
setMaxNumber
public void setMaxNumber(Integer maxNumber)
- Parameters:
maxNumber- the maxNumber
-
setMaxSize
public void setMaxSize(Integer maxSize)
- Parameters:
maxSize- the maxSize
-
setFileTypes
public void setFileTypes(String fileTypes)
- Parameters:
fileTypes- the fileTypes
-
setSubmitManually
public void setSubmitManually(boolean submitManually)
- Parameters:
submitManually- the submitManually
-
-