public class NumericTypeNode extends AbstractRamlNode implements TypeNode, ObjectNode
| Constructor and Description |
|---|
NumericTypeNode() |
| Modifier and Type | Method and Description |
|---|---|
Node |
copy()
Creates a new copy of this node
|
List<Number> |
getEnumValues() |
String |
getFormat() |
Number |
getMaximum() |
Number |
getMinimum() |
Number |
getMultiple() |
NodeType |
getType()
Returns the type of this node
|
<T> T |
visit(TypeNodeVisitor<T> visitor) |
getEndPosition, getStartPosition, setEndPosition, setStartPositionaddChild, addChild, findAncestorWith, findDescendantsWith, get, getChildren, getParent, getRootNode, getSource, removeChild, replaceWith, setChild, setParent, setSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChild, addChild, findAncestorWith, findDescendantsWith, get, getChildren, getEndPosition, getParent, getRootNode, getSource, getStartPosition, removeChild, replaceWith, setChild, setParent, setSourcepublic Number getMinimum()
public Number getMaximum()
public Number getMultiple()
public String getFormat()
@Nonnull public Node copy()
Nodepublic NodeType getType()
Nodepublic <T> T visit(TypeNodeVisitor<T> visitor)
Copyright © 2016. All rights reserved.