Package cern.nxcals.api.domain
Class Hierarchy.Builder
- java.lang.Object
-
- cern.nxcals.api.domain.Hierarchy.Builder
-
- Direct Known Subclasses:
Hierarchy.InnerBuilder
- Enclosing class:
- Hierarchy
public static class Hierarchy.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Hierarchy
build()
Hierarchy.Builder
description(java.lang.String description)
Hierarchy.Builder
name(@NonNull java.lang.String name)
Hierarchy.Builder
parent(HierarchyView parent)
Hierarchy.Builder
systemSpec(SystemSpec systemSpec)
java.lang.String
toString()
-
-
-
Method Detail
-
name
public Hierarchy.Builder name(@NonNull @NonNull java.lang.String name)
- Returns:
this
.
-
description
public Hierarchy.Builder description(java.lang.String description)
- Returns:
this
.
-
systemSpec
public Hierarchy.Builder systemSpec(SystemSpec systemSpec)
- Returns:
this
.
-
parent
public Hierarchy.Builder parent(HierarchyView parent)
- Returns:
this
.
-
build
public Hierarchy build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-