public class TemplateVariable
extends java.lang.Object
Constructor and Description |
---|
TemplateVariable() |
TemplateVariable(java.lang.String key,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey() |
java.lang.String |
getType() |
java.lang.Object |
getValue() |
static boolean |
isVariable(java.lang.String string) |
void |
setKey(java.lang.String key) |
void |
setType(java.lang.String type) |
void |
setValue(java.lang.Object value) |
static java.util.Map<java.lang.String,java.lang.String> |
toMap(java.util.Collection<? extends TemplateVariable> variables) |
public TemplateVariable()
public TemplateVariable(java.lang.String key, java.lang.String value)
public static java.util.Map<java.lang.String,java.lang.String> toMap(java.util.Collection<? extends TemplateVariable> variables)
public java.lang.String getKey()
public void setKey(java.lang.String key)
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
public java.lang.String getType()
public void setType(java.lang.String type)
public static boolean isVariable(java.lang.String string)