| Modifier and Type | Field and Description |
|---|---|
private ModelType |
ModelValue.type |
private ModelType |
TypeModelValue.value |
| Modifier and Type | Method and Description |
|---|---|
ModelType |
ModelNode.asType()
Get the value of this node as a type, expressed using the
ModelType enum. |
(package private) ModelType |
ModelValue.asType() |
(package private) ModelType |
StringModelValue.asType() |
(package private) ModelType |
TypeModelValue.asType() |
(package private) static ModelType |
ModelType.forChar(char c) |
ModelType |
ModelNode.getType()
Get the current type of this node.
|
(package private) ModelType |
ModelValue.getType() |
static ModelType |
ModelType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelType[] |
ModelType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static TypeModelValue |
TypeModelValue.of(ModelType type) |
ModelNode |
ModelNode.set(ModelType newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(java.lang.String propertyName,
ModelType propertyValue)
Change this node's value to a property with the given name and value.
|
| Constructor and Description |
|---|
ModelNode(ModelType value)
Creates a new
ModelNode with the given value. |
ModelValue(ModelType type) |
TypeModelValue(ModelType value) |