public class AttributeNode extends XmlNode
| Modifier and Type | Class and Description |
|---|---|
static class |
AttributeNode.Builder
Builder for creating attribute nodes.
|
| Constructor and Description |
|---|
AttributeNode() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getChoices() |
String |
getDefaultValue() |
String |
getGroup() |
AttributeType |
getType() |
boolean |
isIndex() |
boolean |
isRequired() |
void |
setChoices(List<String> choices) |
void |
setDefaultValue(String defaultValue) |
void |
setGroup(String group) |
void |
setIndex(boolean index) |
void |
setRequired(boolean required) |
void |
setType(AttributeType type) |
getLocalName, getNamespace, setLocalName, setNamespacegetDescription, getIcon, getName, getNodeType, setDescription, setIcon, setName, setNodeTypepublic AttributeType getType()
public void setType(AttributeType type)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public boolean isIndex()
public void setIndex(boolean index)
public boolean isRequired()
public void setRequired(boolean required)
public String getGroup()
public void setGroup(String group)
Copyright © 2016 SiteWhere, LLC.. All rights reserved.