public class Measure extends Node
Node.Acceptance| Modifier and Type | Field and Description |
|---|---|
static Set<Class<? extends Node>> |
validChildClasses
Set of valid Child-Classes
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsChild(Node node)
Returns if node accepts child
|
Node.Acceptance |
acceptsChildWithReason(Node node)
Returns the Acceptance of linkedChild
|
byte |
getMaxChilds()
Returns the Number of maximal Children of the Node
|
Set<String> |
identifiers()
Returns the Measurement identifiers
|
Set<Class<? extends Node>> |
validChildClasses()
Returns the valid child-classes
|
addChild, createNode, equals, equals, getChilds, hasFrontParameters, isComplete, isValidParentOf, overwriteParent, pushDownColor, removeChild, removeParent, toStringpublic Measure(String id)
id - Id of the Nodepublic Set<String> identifiers()
identifiers in class Nodepublic byte getMaxChilds()
getMaxChilds in class Nodepublic Set<Class<? extends Node>> validChildClasses()
validChildClasses in class Nodepublic boolean acceptsChild(Node node)
acceptsChild in class Nodenode - node to testpublic Node.Acceptance acceptsChildWithReason(Node node)
acceptsChildWithReason in class Nodenode - node to be testedCopyright © 2018. All rights reserved.