Package cern.nxcals.api.domain
Class Hierarchy.InnerBuilder
- java.lang.Object
-
- cern.nxcals.api.domain.Hierarchy.Builder
-
- cern.nxcals.api.domain.Hierarchy.InnerBuilder
-
- Enclosing class:
- Hierarchy
public static class Hierarchy.InnerBuilder extends Hierarchy.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Hierarchy
build()
Hierarchy.InnerBuilder
child(HierarchyView child)
Hierarchy.InnerBuilder
children(java.util.Collection<? extends HierarchyView> children)
Hierarchy.InnerBuilder
clearChildren()
Hierarchy.InnerBuilder
description(java.lang.String description)
Hierarchy.InnerBuilder
id(long id)
Hierarchy.InnerBuilder
leaf(boolean leaf)
Hierarchy.InnerBuilder
level(int level)
Hierarchy.InnerBuilder
name(java.lang.String name)
Hierarchy.InnerBuilder
nodePath(java.lang.String nodePath)
Hierarchy.InnerBuilder
parent(HierarchyView parent)
Hierarchy.InnerBuilder
recVersion(long recVersion)
Hierarchy.InnerBuilder
systemSpec(SystemSpec systemSpec)
java.lang.String
toString()
-
-
-
Method Detail
-
id
public Hierarchy.InnerBuilder id(long id)
- Returns:
this
.
-
name
public Hierarchy.InnerBuilder name(java.lang.String name)
- Overrides:
name
in classHierarchy.Builder
- Returns:
this
.
-
description
public Hierarchy.InnerBuilder description(java.lang.String description)
- Overrides:
description
in classHierarchy.Builder
- Returns:
this
.
-
systemSpec
public Hierarchy.InnerBuilder systemSpec(SystemSpec systemSpec)
- Overrides:
systemSpec
in classHierarchy.Builder
- Returns:
this
.
-
child
public Hierarchy.InnerBuilder child(HierarchyView child)
-
children
public Hierarchy.InnerBuilder children(java.util.Collection<? extends HierarchyView> children)
-
clearChildren
public Hierarchy.InnerBuilder clearChildren()
-
parent
public Hierarchy.InnerBuilder parent(HierarchyView parent)
- Overrides:
parent
in classHierarchy.Builder
- Returns:
this
.
-
nodePath
public Hierarchy.InnerBuilder nodePath(java.lang.String nodePath)
- Returns:
this
.
-
leaf
public Hierarchy.InnerBuilder leaf(boolean leaf)
- Returns:
this
.
-
level
public Hierarchy.InnerBuilder level(int level)
- Returns:
this
.
-
recVersion
public Hierarchy.InnerBuilder recVersion(long recVersion)
- Returns:
this
.
-
build
public Hierarchy build()
- Overrides:
build
in classHierarchy.Builder
-
toString
public java.lang.String toString()
- Overrides:
toString
in classHierarchy.Builder
-
-