Class CertificationElementsResponse

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.commonservices.ffdc.rest.CertificationElementsResponse
All Implemented Interfaces:
FFDCResponse

public class CertificationElementsResponse extends FFDCResponseBase
CertificationElementsResponse is the response structure used on the OMAS REST API calls that return a list of related certification element summaries as a response.
  • Constructor Details

    • CertificationElementsResponse

      public CertificationElementsResponse()
      Default constructor
    • CertificationElementsResponse

      public CertificationElementsResponse(CertificationElementsResponse template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getStartingElement

      public MetadataElementSummary getStartingElement()
      Return details of the starting element.
      Returns:
      element
    • setStartingElement

      public void setStartingElement(MetadataElementSummary startingElement)
      Set up details of the starting element.
      Parameters:
      startingElement - element
    • getElements

      public List<CertificationElement> getElements()
      Return the list of element identifiers.
      Returns:
      list of objects or null
    • setElements

      public void setElements(List<CertificationElement> elements)
      Set up the list of element identifiers.
      Parameters:
      elements - - list of objects or null
    • getMermaidGraph

      public String getMermaidGraph()
      Return the mermaid string used to render a graph.
      Returns:
      string in Mermaid markdown
    • setMermaidGraph

      public void setMermaidGraph(String mermaidGraph)
      Set up mermaid string used to render a graph.
      Parameters:
      mermaidGraph - string in Mermaid markdown
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class FFDCResponseBase
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class FFDCResponseBase
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class FFDCResponseBase
      Returns:
      int hash code