public class Element extends Object
Element corresponds to a method in the API. Every method in the API creates an Element in a Row.
An element has a type, an optional id and optionally any number of arguments.
For instance, WorkflowFactory#call(int, String, String, Object...) creates according
new Element(Type.CALL, id, bean, method, arguments).
| Modifier and Type | Class and Description |
|---|---|
static class |
Element.Type |
| Constructor and Description |
|---|
Element(Element.Type type,
Integer id,
Object[] arguments) |
| Modifier and Type | Method and Description |
|---|---|
int |
countArguments() |
Integer |
getId() |
Integer |
getInteger(int index) |
Object |
getObject(int index) |
Object[] |
getObjectArray(int index) |
String |
getString(int index) |
String[] |
getStringArray(int index) |
Element.Type |
getType() |
String |
toString() |
public Element(Element.Type type, Integer id, Object[] arguments)
public Element.Type getType()
public Integer getId()
public Object getObject(int index)
public Object[] getObjectArray(int index)
public String getString(int index)
public String[] getStringArray(int index)
public Integer getInteger(int index)
public int countArguments()
Copyright © 2018. All rights reserved.