Class TreeNodeData
java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.data.TreeNodeData
Contains data for a tree node.
-
Constructor Summary
ConstructorsConstructorDescriptionTreeNodeData(String qualifier, String alias, IntegrationMapKeyDTO mapKeyDTO) Contains data for a tree node. -
Method Summary
Modifier and TypeMethodDescriptionstatic TreeNodeDatacreateRootTreeNodeData(IntegrationMapKeyDTO mapKeyDTO) Creates a TreeNodeData for the root item of the tree.getAlias()Gets the alias of the attribute represented by the tree node.Gets theIntegrationMapKeyDTOof the attribute represented by the tree node.Gets the qualifier of the attribute represented by the tree node.voidSets the alias of the attribute represented by the tree node.voidsetMapKeyDTO(IntegrationMapKeyDTO mapKeyDTO) Sets theIntegrationMapKeyDTOof the attribute represented by the tree node.
-
Constructor Details
-
TreeNodeData
Contains data for a tree node.- Parameters:
qualifier- Used for the label of the tree node if alias isnullalias- Used for the label of the tree node if one is presentmapKeyDTO- Used for the value of the tree node
-
-
Method Details
-
getQualifier
Gets the qualifier of the attribute represented by the tree node.- Returns:
- the qualifier of the attribute represented by the tree node.
-
getMapKeyDTO
Gets theIntegrationMapKeyDTOof the attribute represented by the tree node.- Returns:
- the
IntegrationMapKeyDTOof the attribute represented by the tree node.
-
setMapKeyDTO
Sets theIntegrationMapKeyDTOof the attribute represented by the tree node.- Parameters:
mapKeyDTO- theIntegrationMapKeyDTOof the attribute represented by the tree node.
-
getAlias
Gets the alias of the attribute represented by the tree node.- Returns:
- the alias of the attribute represented by the tree node.
-
setAlias
Sets the alias of the attribute represented by the tree node.- Parameters:
alias- the alias of the attribute represented by the tree node.
-
createRootTreeNodeData
Creates a TreeNodeData for the root item of the tree. This case is special as the root tree node does not have its label generated in the same way as other nodes.- Parameters:
mapKeyDTO- The value data of the tree node- Returns:
- a TreeNodeData
-