java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.CertificationElement
All Implemented Interfaces:
Serializable

public class CertificationElement extends Object implements Serializable
CertificationElement contains the properties and header for a certification for an element. It includes the details of the specific element's certification and details of the certification type.
See Also:
  • Constructor Details

    • CertificationElement

      public CertificationElement()
      Default constructor
    • CertificationElement

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

    • getCertificationHeader

      public ElementHeader getCertificationHeader()
      Return the element header associated with the relationship.
      Returns:
      element header object
    • setCertificationHeader

      public void setCertificationHeader(ElementHeader certificationHeader)
      Set up the element header associated with the relationship.
      Parameters:
      certificationHeader - element header object
    • getCertificationProperties

      public RelationshipProperties getCertificationProperties()
      Return details of the relationship
      Returns:
      relationship properties
    • setCertificationProperties

      public void setCertificationProperties(RelationshipProperties certificationProperties)
      Set up relationship properties
      Parameters:
      certificationProperties - relationship properties
    • getCertificationTypeHeader

      public ElementHeader getCertificationTypeHeader()
      Return the element header associated with end 2 of the relationship (certification type).
      Returns:
      element stub object
    • setCertificationTypeHeader

      public void setCertificationTypeHeader(ElementHeader certificationTypeHeader)
      Set up the element header associated with end 2 of the relationship (certification type).
      Parameters:
      certificationTypeHeader - element stub object
    • getCertificationTypeProperties

      public CertificationProperties getCertificationTypeProperties()
      Return the properties of the certification type.
      Returns:
      properties
    • setCertificationTypeProperties

      public void setCertificationTypeProperties(CertificationProperties certificationTypeProperties)
      Set up the properties of the certification type.
      Parameters:
      certificationTypeProperties - properties
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      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 Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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