public class Variable extends Object implements TypeObject, ValueObject, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
READONLY_TAG |
static String |
REQUIRED_TAG |
static String |
VARIABLE_TAGS |
| Constructor and Description |
|---|
Variable() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getMetaData() |
Object |
getMetaData(String name) |
String |
getName() |
List<String> |
getTags() |
DataType |
getType() |
Object |
getValue() |
boolean |
hasTag(String tagName) |
void |
setMetaData(String name,
Object value) |
void |
setName(String name) |
void |
setType(DataType type) |
void |
setValue(Object value) |
String |
toString() |
public static final String VARIABLE_TAGS
public static final String READONLY_TAG
public static final String REQUIRED_TAG
public String getName()
public void setName(String name)
public DataType getType()
getType in interface TypeObjectpublic void setType(DataType type)
setType in interface TypeObjectpublic Object getValue()
getValue in interface ValueObjectpublic void setValue(Object value)
setValue in interface ValueObjectpublic boolean hasTag(String tagName)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.