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 boolean
equals(Object o)
String
getDescription()
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."String
getLabel()
A user friendly name/label of the graph, e.g.String
getNamespace()
The namespace of the graph.int
hashCode()
void
setDescription(String description)
void
setLabel(String label)
void
setNamespace(String namespace)
String
toString()
DefaultGraphInfo
withDescription(String description)
DefaultGraphInfo
withLabel(String label)
-
-
-
Method Detail
-
getNamespace
public String getNamespace()
Description copied from interface:GraphInfo
The namespace of the graph. Should be unique over all Graphs- Specified by:
getNamespace
in interfaceGraphInfo
-
getDescription
public String getDescription()
Description copied from interface:GraphInfo
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."- Specified by:
getDescription
in interfaceGraphInfo
-
getLabel
public String getLabel()
Description copied from interface:GraphInfo
A 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)
-
-