Class NamespaceTreeNode
java.lang.Object
com._1c.g5.v8.dt.supply.internal.integration.NamespaceTreeNode
Node of the namespace tree. Used as a part of the namespace representation during the build of the
IntegrationModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(String fragment, NamespaceTreeNode childNode) Adds a child node to the current node.Gets the child node for the correspoding namespace fragment.Gets the direct children of the node mapped to their namespace segmentsboolean
Checks if the namespace node is excluded from the integrationboolean
Checks if the node is in undetermnined state.void
setExcluded
(boolean excluded) Sets/re-sets the exclusion on the namespace node
-
Constructor Details
-
NamespaceTreeNode
public NamespaceTreeNode()Constructs the node
-
-
Method Details
-
addChild
Adds a child node to the current node.- Parameters:
fragment
- The namespace fragment related to the child node. Cannot benull
childNode
- The child node to add. Cannot benull
-
getChild
Gets the child node for the correspoding namespace fragment. Gets only direct child- Parameters:
fragment
- The target fragment. Cannot benull
- Returns:
- The child node if available. Can be
null
-
getChildren
Gets the direct children of the node mapped to their namespace segments- Returns:
- Children of the node. Cannot be
null
-
isExcluded
public boolean isExcluded()Checks if the namespace node is excluded from the integration- Returns:
- True if the node is excluded; false otherwise
-
isUndetermined
public boolean isUndetermined()Checks if the node is in undetermnined state. This state is used during the processing of the namespace tree- Returns:
- True if the node is in undetermined state. False otherwise
-
setExcluded
public void setExcluded(boolean excluded) Sets/re-sets the exclusion on the namespace node- Parameters:
excluded
- True if the node should be excluded. False otherwise
-