public class Document extends AbstractResource
dataObj
Constructor and Description |
---|
Document() |
Document(org.json.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
void |
addFormField(FormField formField)
Adds the form field to this document.
|
List<CustomField> |
getCustomFields()
Returns the custom fields for this document.
|
File |
getFile()
Returns the File associated with this document.
|
List<FormField> |
getFormFields()
Returns the form fields for this document.
|
Integer |
getIndex() |
String |
getName() |
boolean |
hasName() |
void |
setFile(File file)
Sets the file associated with this document.
|
void |
setFormFields(List<FormField> formFields)
Overwrites the form fields for this document.
|
void |
setIndex(Integer index) |
void |
setName(String name) |
add, addToList, clearList, get, getBoolean, getConstructor, getDate, getInteger, getJSONObject, getList, getList, getLong, getString, has, hasString, set, toString
public Document()
public Document(org.json.JSONObject json) throws HelloSignException
HelloSignException
public List<FormField> getFormFields()
public void setFormFields(List<FormField> formFields) throws HelloSignException
formFields
- HelloSignException
public void addFormField(FormField formField) throws HelloSignException
formField
- FormFieldHelloSignException
public List<CustomField> getCustomFields()
public File getFile()
public void setFile(File file)
file
- Filepublic String getName()
public void setName(String name)
public boolean hasName()
public Integer getIndex()
public void setIndex(Integer index)
Copyright © 2015 HelloSign. All rights reserved.