Class DefaultGraphInfo

  • All Implemented Interfaces:
    GraphInfo

    public class DefaultGraphInfo
    extends java.lang.Object
    implements GraphInfo
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 interface GraphInfo
      • 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 interface GraphInfo
      • getLabel

        public java.lang.String getLabel()
        Description copied from interface: GraphInfo
        A user friendly name/label of the graph, e.g. "Business Service Graph"
        Specified by:
        getLabel in interface GraphInfo
      • setNamespace

        public void setNamespace​(java.lang.String namespace)
      • setDescription

        public void setDescription​(java.lang.String description)
      • setLabel

        public void setLabel​(java.lang.String label)
      • withDescription

        public DefaultGraphInfo withDescription​(java.lang.String description)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object