Class LayerTreeNode
- java.lang.Object
-
- nl.b3p.tailormap.api.viewer.model.LayerTreeNode
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class LayerTreeNode extends Object implements SerializableGrouping of layers in a tree structure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LayerTreeNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayerTreeNodeaddChildrenIdsItem(String childrenIdsItem)LayerTreeNodeappLayerId(String appLayerId)LayerTreeNodechildrenIds(List<String> childrenIds)LayerTreeNodedescription(String description)booleanequals(Object o)StringgetAppLayerId()Get appLayerIdList<String>getChildrenIds()Ordered list of ids of LayerTreeNodes that are children of this node.StringgetDescription()Description for this node entered by application admin.@NotNull StringgetId()A unique identifier across all tree nodes.@NotNull StringgetName()Display name of this tree node.BooleangetRoot()Only a single node in a tree will have this set to true.inthashCode()LayerTreeNodeid(String id)LayerTreeNodename(String name)LayerTreeNoderoot(Boolean root)voidsetAppLayerId(String appLayerId)voidsetChildrenIds(List<String> childrenIds)voidsetDescription(String description)voidsetId(String id)voidsetName(String name)voidsetRoot(Boolean root)StringtoString()
-
-
-
Method Detail
-
id
public LayerTreeNode id(String id)
-
getId
@NotNull public @NotNull String getId()
A unique identifier across all tree nodes.- Returns:
- id
-
setId
public void setId(String id)
-
appLayerId
public LayerTreeNode appLayerId(String appLayerId)
-
getAppLayerId
public String getAppLayerId()
Get appLayerId- Returns:
- appLayerId
-
setAppLayerId
public void setAppLayerId(String appLayerId)
-
root
public LayerTreeNode root(Boolean root)
-
getRoot
public Boolean getRoot()
Only a single node in a tree will have this set to true.- Returns:
- root
-
setRoot
public void setRoot(Boolean root)
-
name
public LayerTreeNode name(String name)
-
getName
@NotNull public @NotNull String getName()
Display name of this tree node. If appLayerId is present, this is the title of that AppLayer.- Returns:
- name
-
setName
public void setName(String name)
-
description
public LayerTreeNode description(String description)
-
getDescription
public String getDescription()
Description for this node entered by application admin.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
childrenIds
public LayerTreeNode childrenIds(List<String> childrenIds)
-
addChildrenIdsItem
public LayerTreeNode addChildrenIdsItem(String childrenIdsItem)
-
getChildrenIds
public List<String> getChildrenIds()
Ordered list of ids of LayerTreeNodes that are children of this node.- Returns:
- childrenIds
-
-