public class FunctionObject
extends java.lang.Object
| Constructor and Description |
|---|
FunctionObject(java.lang.String name)
Standard constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(FunctionArgument arg)
Add a field to the data object
|
void |
addFootnote(java.lang.String note)
Add a line of footnote to the data object.
|
java.util.List<FunctionArgument> |
getData()
Get the list of fields for the object
|
java.lang.String |
getDescription() |
java.util.List<java.lang.String> |
getNotes() |
java.util.Map<java.lang.String,java.lang.Object> |
getObject()
Convert the data into a generic Map object
|
java.lang.String |
getObjectName() |
void |
setDescription(java.lang.String description) |
void |
setObjectName(java.lang.String objectName) |
public FunctionObject(java.lang.String name)
name - The name of the data objectpublic java.util.Map<java.lang.String,java.lang.Object> getObject()
public void add(FunctionArgument arg)
arg - The field definitionpublic void addFootnote(java.lang.String note)
note - Footnote text, intended to be a single footnotepublic java.lang.String getObjectName()
public void setObjectName(java.lang.String objectName)
objectName - The data object namepublic java.util.List<FunctionArgument> getData()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The object's descriptionpublic java.util.List<java.lang.String> getNotes()