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