| Modifier and Type | Method and Description |
|---|---|
| public NodeAttribute | Returns: the same attribute instancethe default value defaultValue)Builder convenience method for setting defaultValue |
| public String | |
| public String | |
| public String | |
| public boolean | Returns: Returns true if the attribute is optional, otherwise falseReturns true if the attribute is optional, otherwise false |
| public NodeAttribute | Returns: the same attribute instancetrue if optional optional)Builder convenience method for setting optional |
| public void | |
| public void | setOptional(boolean
true if this attribute is optional optional)Sets this attribute to optional or not |
| public void |
| defaultValue | back to summary |
|---|---|
| public NodeAttribute defaultValue(String defaultValue) Builder convenience method for setting defaultValue
| |
| getDefaultValue | back to summary |
|---|---|
| public String getDefaultValue() Returns the default value of the attribute
| |
| getName | back to summary |
|---|---|
| public String getName() Name of the attribute
| |
| getValue | back to summary |
|---|---|
| public String getValue() Value of the attribute
| |
| isOptional | back to summary |
|---|---|
| public boolean isOptional() Returns true if the attribute is optional, otherwise false
| |
| optional | back to summary |
|---|---|
| public NodeAttribute optional(boolean optional) Builder convenience method for setting optional
| |
| setDefaultValue | back to summary |
|---|---|
| public void setDefaultValue(String defaultValue) Default value setter
| |
| setOptional | back to summary |
|---|---|
| public void setOptional(boolean optional) Sets this attribute to optional or not
| |
| setValue | back to summary |
|---|---|
| public void setValue(String value) Setter for value
| |