Interface IConfigurableNode
-
@OpenApiAll public interface IConfigurableNode
The interface of configurable specification tree node - is used for tree configuration.Also defines standard specification tree nodes IDs.
Create this node with
ConfigurableNodeFactory
- See Also:
ConfigurableNodeFactory
,ISpecificationNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IConfigurableNode.Position
Position to insert child node
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTORS
static java.lang.String
ACTUAL_GATES
static java.lang.String
ARGUMENTS
static java.lang.String
ASSOCIATION_ENDS
static java.lang.String
ATTRIBUTES
static java.lang.String
BEHAVIORS
static java.lang.String
CLAUSES
static java.lang.String
COMMENT
static java.lang.String
CONFIGURATIONS
static java.lang.String
CONNECTORS
static java.lang.String
CONSTRAINTS
static java.lang.String
CONVEYED_INFORMATION
static java.lang.String
DEPLOYED_ARTIFACTS
static java.lang.String
DOCUMENTATION_HYPERLINKS
static java.lang.String
ENUMERATION_LITERALS
static java.lang.String
EXTENSION_POINTS
static java.lang.String
FORMAL_GATES
static java.lang.String
INFORMATION_FLOWS
static java.lang.String
INNER_ELEMENTS
static java.lang.String
INNER_STATES
static java.lang.String
INSTANCES
static java.lang.String
INTERNAL_TRANSITIONS
static java.lang.String
LANGUAGE_PROPERTIES
static java.lang.String
MANAGE_NAVIGATION
static java.lang.String
MANIFESTATIONS
static java.lang.String
MESSAGES
static java.lang.String
NESTED_NODES
static java.lang.String
OPERANDS
static java.lang.String
OPERATIONS
static java.lang.String
PARAMETERS
static java.lang.String
PINS
static java.lang.String
PORTS
static java.lang.String
PROVIDED_REQUIRED_INTERFACES
static java.lang.String
QUALIFIERS
static java.lang.String
REALIZING_CLASSIFIERS
static java.lang.String
RECEPTIONS
static java.lang.String
RELATIONS
static java.lang.String
ROLE_BINDINGS
static java.lang.String
SLOTS
static java.lang.String
TAGS
static java.lang.String
TEMPLATE_PARAMETER_SUBSTITUTIONS
static java.lang.String
TEMPLATE_PARAMETERS
static java.lang.String
USAGE
static java.lang.String
USE_CASE_SCENARIO
static java.lang.String
USED_IN
static java.lang.String
VARIABLES
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addNode(IConfigurableNode node)
Adds given node as child node.java.util.Collection<java.lang.String>
getAllChildrenNodeIDS()
Returns all children node IDs.IConfigurableNode
getChild(java.lang.String id)
Returns child node according given child id.java.lang.String
getID()
Returns ID of the node.void
insertNode(java.lang.String id, IConfigurableNode.Position position, IConfigurableNode node)
Inserts given node as child node near given child node id.void
removeNode(java.lang.String id)
Removes child node with given id.
-
-
-
Field Detail
-
DOCUMENTATION_HYPERLINKS
static final java.lang.String DOCUMENTATION_HYPERLINKS
- See Also:
- Constant Field Values
-
MANAGE_NAVIGATION
static final java.lang.String MANAGE_NAVIGATION
- See Also:
- Constant Field Values
-
USAGE
static final java.lang.String USAGE
- See Also:
- Constant Field Values
-
ATTRIBUTES
static final java.lang.String ATTRIBUTES
- See Also:
- Constant Field Values
-
OPERATIONS
static final java.lang.String OPERATIONS
- See Also:
- Constant Field Values
-
RECEPTIONS
static final java.lang.String RECEPTIONS
- See Also:
- Constant Field Values
-
PARAMETERS
static final java.lang.String PARAMETERS
- See Also:
- Constant Field Values
-
INNER_ELEMENTS
static final java.lang.String INNER_ELEMENTS
- See Also:
- Constant Field Values
-
RELATIONS
static final java.lang.String RELATIONS
- See Also:
- Constant Field Values
-
CONNECTORS
static final java.lang.String CONNECTORS
- See Also:
- Constant Field Values
-
COMMENT
static final java.lang.String COMMENT
- See Also:
- Constant Field Values
-
ENUMERATION_LITERALS
static final java.lang.String ENUMERATION_LITERALS
- See Also:
- Constant Field Values
-
CONSTRAINTS
static final java.lang.String CONSTRAINTS
- See Also:
- Constant Field Values
-
TAGS
static final java.lang.String TAGS
- See Also:
- Constant Field Values
-
PORTS
static final java.lang.String PORTS
- See Also:
- Constant Field Values
-
ASSOCIATION_ENDS
static final java.lang.String ASSOCIATION_ENDS
- See Also:
- Constant Field Values
-
PROVIDED_REQUIRED_INTERFACES
static final java.lang.String PROVIDED_REQUIRED_INTERFACES
- See Also:
- Constant Field Values
-
TEMPLATE_PARAMETERS
static final java.lang.String TEMPLATE_PARAMETERS
- See Also:
- Constant Field Values
-
QUALIFIERS
static final java.lang.String QUALIFIERS
- See Also:
- Constant Field Values
-
EXTENSION_POINTS
static final java.lang.String EXTENSION_POINTS
- See Also:
- Constant Field Values
-
CONVEYED_INFORMATION
static final java.lang.String CONVEYED_INFORMATION
- See Also:
- Constant Field Values
-
INFORMATION_FLOWS
static final java.lang.String INFORMATION_FLOWS
- See Also:
- Constant Field Values
-
SLOTS
static final java.lang.String SLOTS
- See Also:
- Constant Field Values
-
TEMPLATE_PARAMETER_SUBSTITUTIONS
static final java.lang.String TEMPLATE_PARAMETER_SUBSTITUTIONS
- See Also:
- Constant Field Values
-
VARIABLES
static final java.lang.String VARIABLES
- See Also:
- Constant Field Values
-
CLAUSES
static final java.lang.String CLAUSES
- See Also:
- Constant Field Values
-
BEHAVIORS
static final java.lang.String BEHAVIORS
- See Also:
- Constant Field Values
-
ACTORS
static final java.lang.String ACTORS
- See Also:
- Constant Field Values
-
PINS
static final java.lang.String PINS
- See Also:
- Constant Field Values
-
CONFIGURATIONS
static final java.lang.String CONFIGURATIONS
- See Also:
- Constant Field Values
-
DEPLOYED_ARTIFACTS
static final java.lang.String DEPLOYED_ARTIFACTS
- See Also:
- Constant Field Values
-
REALIZING_CLASSIFIERS
static final java.lang.String REALIZING_CLASSIFIERS
- See Also:
- Constant Field Values
-
MANIFESTATIONS
static final java.lang.String MANIFESTATIONS
- See Also:
- Constant Field Values
-
NESTED_NODES
static final java.lang.String NESTED_NODES
- See Also:
- Constant Field Values
-
LANGUAGE_PROPERTIES
static final java.lang.String LANGUAGE_PROPERTIES
- See Also:
- Constant Field Values
-
MESSAGES
static final java.lang.String MESSAGES
- See Also:
- Constant Field Values
-
ARGUMENTS
static final java.lang.String ARGUMENTS
- See Also:
- Constant Field Values
-
USE_CASE_SCENARIO
static final java.lang.String USE_CASE_SCENARIO
- See Also:
- Constant Field Values
-
FORMAL_GATES
static final java.lang.String FORMAL_GATES
- See Also:
- Constant Field Values
-
ACTUAL_GATES
static final java.lang.String ACTUAL_GATES
- See Also:
- Constant Field Values
-
OPERANDS
static final java.lang.String OPERANDS
- See Also:
- Constant Field Values
-
INNER_STATES
static final java.lang.String INNER_STATES
- See Also:
- Constant Field Values
-
INTERNAL_TRANSITIONS
static final java.lang.String INTERNAL_TRANSITIONS
- See Also:
- Constant Field Values
-
ROLE_BINDINGS
static final java.lang.String ROLE_BINDINGS
- See Also:
- Constant Field Values
-
USED_IN
static final java.lang.String USED_IN
- See Also:
- Constant Field Values
-
INSTANCES
static final java.lang.String INSTANCES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getID
java.lang.String getID()
Returns ID of the node.- Returns:
- node id.
-
getChild
@CheckForNull IConfigurableNode getChild(java.lang.String id)
Returns child node according given child id.- Parameters:
id
- child node id.- Returns:
- child node.
-
addNode
void addNode(IConfigurableNode node)
Adds given node as child node.- Parameters:
node
- child node.
-
insertNode
void insertNode(java.lang.String id, IConfigurableNode.Position position, IConfigurableNode node)
Inserts given node as child node near given child node id.- Parameters:
id
- id of the child node to add near.position
- position to add (IConfigurableNode.Position.BEFORE
,IConfigurableNode.Position.AFTER
).node
- child node.
-
removeNode
void removeNode(java.lang.String id)
Removes child node with given id.- Parameters:
id
- child node id.
-
getAllChildrenNodeIDS
java.util.Collection<java.lang.String> getAllChildrenNodeIDS()
Returns all children node IDs.- Returns:
- children nodes ids
-
-