Class ImmutableGraphContainer
- java.lang.Object
-
- org.opennms.integration.api.v1.graph.immutables.ImmutableGraphContainer
-
- All Implemented Interfaces:
org.opennms.integration.api.v1.graph.GraphContainer
public final class ImmutableGraphContainer extends java.lang.Object implements org.opennms.integration.api.v1.graph.GraphContainer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableGraphContainer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableGraphContainer.Builderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetDescription()org.opennms.integration.api.v1.graph.GraphgetGraph(java.lang.String namespace)java.util.List<org.opennms.integration.api.v1.graph.Graph>getGraphs()java.lang.StringgetId()java.lang.StringgetLabel()java.util.Map<java.lang.String,java.lang.Object>getProperties()<T> TgetProperty(java.lang.String key)inthashCode()static org.opennms.integration.api.v1.graph.GraphContainerimmutableCopy(org.opennms.integration.api.v1.graph.GraphContainer graphContainer)static ImmutableGraphContainer.BuildernewBuilder(org.opennms.integration.api.v1.graph.GraphContainerInfo containerInfo)static ImmutableGraphContainer.BuildernewBuilderFrom(org.opennms.integration.api.v1.graph.GraphContainer fromGraphContainer)voidsetDescription(java.lang.String description)java.lang.StringtoString()
-
-
-
Method Detail
-
getGraphs
public java.util.List<org.opennms.integration.api.v1.graph.Graph> getGraphs()
- Specified by:
getGraphsin interfaceorg.opennms.integration.api.v1.graph.GraphContainer
-
getGraph
public org.opennms.integration.api.v1.graph.Graph getGraph(java.lang.String namespace)
- Specified by:
getGraphin interfaceorg.opennms.integration.api.v1.graph.GraphContainer
-
getId
public java.lang.String getId()
- Specified by:
getIdin interfaceorg.opennms.integration.api.v1.graph.GraphContainer
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceorg.opennms.integration.api.v1.graph.GraphContainer
-
setDescription
public void setDescription(java.lang.String description)
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabelin interfaceorg.opennms.integration.api.v1.graph.GraphContainer
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Specified by:
getPropertiesin interfaceorg.opennms.integration.api.v1.graph.GraphContainer
-
getProperty
public <T> T getProperty(java.lang.String key)
- Specified by:
getPropertyin interfaceorg.opennms.integration.api.v1.graph.GraphContainer
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
newBuilder
public static ImmutableGraphContainer.Builder newBuilder(org.opennms.integration.api.v1.graph.GraphContainerInfo containerInfo)
-
newBuilderFrom
public static ImmutableGraphContainer.Builder newBuilderFrom(org.opennms.integration.api.v1.graph.GraphContainer fromGraphContainer)
-
immutableCopy
public static org.opennms.integration.api.v1.graph.GraphContainer immutableCopy(org.opennms.integration.api.v1.graph.GraphContainer graphContainer)
-
builder
public static ImmutableGraphContainer.Builder builder()
-
-