public class TemplateVariableDefinition
extends Object
Modifier | Constructor and Description |
---|---|
|
TemplateVariableDefinition(String label,
Class<?> clazz,
String name,
String accessor) |
|
TemplateVariableDefinition(String label,
Class<?> clazz,
String dataType,
String name,
String accessor,
String help,
boolean repeatable,
TemplateVariableCodeHandler templateVariableCodeHandler) |
protected |
TemplateVariableDefinition(String label,
Class<?> clazz,
String dataType,
String name,
String accessor,
String help,
boolean repeatable,
TemplateVariableCodeHandler templateVariableCodeHandler,
TemplateVariableDefinition itemTemplateVariableDefinition) |
|
TemplateVariableDefinition(String label,
Class<?> clazz,
String name,
TemplateVariableDefinition itemTemplateVariableDefinition) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String[] |
generateCode(String language) |
String |
getAccessor() |
Class<?> |
getClazz() |
String |
getDataType() |
String |
getHelp() |
TemplateVariableDefinition |
getItemTemplateVariableDefinition() |
String |
getLabel() |
String |
getName() |
TemplateVariableCodeHandler |
getTemplateVariableCodeHandler() |
int |
hashCode() |
boolean |
isCollection() |
boolean |
isRepeatable() |
public TemplateVariableDefinition(String label, Class<?> clazz, String name, String accessor)
public TemplateVariableDefinition(String label, Class<?> clazz, String dataType, String name, String accessor, String help, boolean repeatable, TemplateVariableCodeHandler templateVariableCodeHandler)
public TemplateVariableDefinition(String label, Class<?> clazz, String name, TemplateVariableDefinition itemTemplateVariableDefinition)
protected TemplateVariableDefinition(String label, Class<?> clazz, String dataType, String name, String accessor, String help, boolean repeatable, TemplateVariableCodeHandler templateVariableCodeHandler, TemplateVariableDefinition itemTemplateVariableDefinition)
public boolean equals(Object object)
equals
in class Object
public String[] generateCode(String language) throws Exception
Exception
public String getAccessor()
public Class<?> getClazz()
public String getDataType()
public String getHelp()
public TemplateVariableDefinition getItemTemplateVariableDefinition()
public String getLabel()
public String getName()
public TemplateVariableCodeHandler getTemplateVariableCodeHandler()
public int hashCode()
hashCode
in class Object
public boolean isCollection()
public boolean isRepeatable()