Class DefaultGraphInfo
- java.lang.Object
-
- org.opennms.netmgt.graph.api.info.DefaultGraphInfo
-
-
Constructor Summary
Constructors Constructor Description DefaultGraphInfo(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(Object o)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."StringgetLabel()A user friendly name/label of the graph, e.g.StringgetNamespace()The namespace of the graph.inthashCode()voidsetDescription(String description)voidsetLabel(String label)voidsetNamespace(String namespace)StringtoString()DefaultGraphInfowithDescription(String description)DefaultGraphInfowithLabel(String label)
-
-
-
Method Detail
-
getNamespace
public String getNamespace()
Description copied from interface:GraphInfoThe namespace of the graph. Should be unique over all Graphs- Specified by:
getNamespacein interfaceGraphInfo
-
getDescription
public 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 String getLabel()
Description copied from interface:GraphInfoA user friendly name/label of the graph, e.g. "Business Service Graph"
-
setNamespace
public void setNamespace(String namespace)
-
setDescription
public void setDescription(String description)
-
setLabel
public void setLabel(String label)
-
withLabel
public DefaultGraphInfo withLabel(String label)
-
withDescription
public DefaultGraphInfo withDescription(String description)
-
-