Class DefaultGraphInfo
- java.lang.Object
-
- org.opennms.netmgt.graph.api.info.DefaultGraphInfo
-
-
Constructor Summary
Constructors Constructor Description DefaultGraphInfo(java.lang.String namespace)DefaultGraphInfo(GraphInfo copy)Constructor to change the vertex Type of the given GraphInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetDescription()A short description of the graph to help user's understand what the context of the graph is, e.g.: "This provider shows the hierarchy of the defined Business Services and their computed operational states."java.lang.StringgetLabel()A user friendly name/label of the graph, e.g.java.lang.StringgetNamespace()The namespace of the graph.inthashCode()voidsetDescription(java.lang.String description)voidsetLabel(java.lang.String label)voidsetNamespace(java.lang.String namespace)java.lang.StringtoString()DefaultGraphInfowithDescription(java.lang.String description)DefaultGraphInfowithLabel(java.lang.String label)
-
-
-
Constructor Detail
-
DefaultGraphInfo
public DefaultGraphInfo(java.lang.String namespace)
-
DefaultGraphInfo
public DefaultGraphInfo(GraphInfo copy)
Constructor to change the vertex Type of the given GraphInfo.
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:GraphInfoThe namespace of the graph. Should be unique over all Graphs- Specified by:
getNamespacein interfaceGraphInfo
-
getDescription
public java.lang.String getDescription()
Description copied from interface:GraphInfoA short description of the graph to help user's understand what the context of the graph is, e.g.: "This provider shows the hierarchy of the defined Business Services and their computed operational states."- Specified by:
getDescriptionin interfaceGraphInfo
-
getLabel
public java.lang.String getLabel()
Description copied from interface:GraphInfoA user friendly name/label of the graph, e.g. "Business Service Graph"
-
setNamespace
public void setNamespace(java.lang.String namespace)
-
setDescription
public void setDescription(java.lang.String description)
-
setLabel
public void setLabel(java.lang.String label)
-
withLabel
public DefaultGraphInfo withLabel(java.lang.String label)
-
withDescription
public DefaultGraphInfo withDescription(java.lang.String description)
-
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
-
-