java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader

public class Certification extends Referenceable
The Certification bean extends the Certification from the OCF properties package with a default constructor and setter methods. This means it can be used for REST calls and other JSON based functions.
  • Field Summary

    Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader

    CURRENT_AUDIT_HEADER_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Certification(Certification templateCertification)
    Copy/clone constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare the values of the supplied object with those stored in the current object.
    Return the unique id for the type of certification.
    Return any special conditions that apply to the certification - such as endorsements.
    Return the type of the certification.
    Return the name of the person or organization that set up the certification for this asset.
    Return the name of the person or organization that is responsible for the correct management of the asset according to the certification.
    Return the end date for the certification.
    Return the name of the organization or person that issued the certification.
    Return the link to the full text of the certification.
    Return the notes from the custodian.
    Return the identifier of the person or organization that received the certification.
    Return the start date for the certification.
    Return a brief summary of the certification.
    int
    Hash of properties
    void
    setCertificateGUID(String certificateGUID)
    Set up the unique id for the type of certification.
    void
    setCertificationConditions(String certificationConditions)
    Set up any special conditions that apply to the certification - such as endorsements.
    void
    setCertificationTypeName(String certificationTypeName)
    Set up the type of the certification.
    void
    setCreatedBy(String createdBy)
    Set up the name of the person or organization that set up the certification for this asset.
    void
    setCustodian(String custodian)
    Set up the name of the person or organization that is responsible for the correct management of the asset according to the certification.
    void
    setEndDate(Date endDate)
    Set up the end date for the certification.
    void
    setExaminer(String examiner)
    Set up the name of the organization or person that issued the certification.
    void
    Set up the link to the full text of the certification.
    void
    Set up the notes from the custodian.
    void
    setRecipient(String recipient)
    Set up the identifier of the person or organization that received the certification.
    void
    setStartDate(Date startDate)
    Set up the start date for the certification.
    void
    setSummary(String summary)
    Set up a brief summary of the certification.
    Standard toString method.

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable

    getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase

    getExtendedProperties, setExtendedProperties

    Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader

    getClassifications, getGUID, setClassifications, setGUID

    Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader

    getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Certification

      public Certification()
      Default constructor
    • Certification

      public Certification(Certification templateCertification)
      Copy/clone constructor.
      Parameters:
      templateCertification - element to copy
  • Method Details

    • getCertificateGUID

      public String getCertificateGUID()
      Return the unique id for the type of certification.
      Returns:
      String certification type GUID
    • setCertificateGUID

      public void setCertificateGUID(String certificateGUID)
      Set up the unique id for the type of certification.
      Parameters:
      certificateGUID - String certification type GUID
    • getCertificationTypeName

      public String getCertificationTypeName()
      Return the type of the certification.
      Returns:
      String certification type
    • setCertificationTypeName

      public void setCertificationTypeName(String certificationTypeName)
      Set up the type of the certification.
      Parameters:
      certificationTypeName - String certification type
    • getExaminer

      public String getExaminer()
      Return the name of the organization or person that issued the certification.
      Returns:
      String name
    • setExaminer

      public void setExaminer(String examiner)
      Set up the name of the organization or person that issued the certification.
      Parameters:
      examiner - String name
    • getSummary

      public String getSummary()
      Return a brief summary of the certification.
      Returns:
      String summary
    • setSummary

      public void setSummary(String summary)
      Set up a brief summary of the certification.
      Parameters:
      summary - String summary
    • setLink

      public void setLink(ExternalReference link)
      Set up the link to the full text of the certification.
      Parameters:
      link - ExternalReference for full text
    • getLink

      public ExternalReference getLink()
      Return the link to the full text of the certification.
      Returns:
      ExternalReference for full text
    • setStartDate

      public void setStartDate(Date startDate)
      Set up the start date for the certification. Null means unknown or not relevant.
      Parameters:
      startDate - start date for the certification
    • getStartDate

      public Date getStartDate()
      Return the start date for the certification. Null means unknown or not relevant.
      Returns:
      Date start date for the certification
    • getEndDate

      public Date getEndDate()
      Return the end date for the certification. Null means it does not expire.
      Returns:
      Date end date for the certification
    • setEndDate

      public void setEndDate(Date endDate)
      Set up the end date for the certification. Null means it does not expire.
      Parameters:
      endDate - end date for the certification
    • getCertificationConditions

      public String getCertificationConditions()
      Return any special conditions that apply to the certification - such as endorsements.
      Returns:
      String certification conditions
    • setCertificationConditions

      public void setCertificationConditions(String certificationConditions)
      Set up any special conditions that apply to the certification - such as endorsements.
      Parameters:
      certificationConditions - String certification conditions
    • getCreatedBy

      public String getCreatedBy()
      Return the name of the person or organization that set up the certification for this asset.
      Returns:
      String name
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Set up the name of the person or organization that set up the certification for this asset.
      Parameters:
      createdBy - String name
    • getCustodian

      public String getCustodian()
      Return the name of the person or organization that is responsible for the correct management of the asset according to the certification.
      Returns:
      String name
    • setCustodian

      public void setCustodian(String custodian)
      Set up the name of the person or organization that is responsible for the correct management of the asset according to the certification.
      Parameters:
      custodian - String name
    • getRecipient

      public String getRecipient()
      Return the identifier of the person or organization that received the certification.
      Returns:
      string identifier
    • setRecipient

      public void setRecipient(String recipient)
      Set up the identifier of the person or organization that received the certification.
      Parameters:
      recipient - string identifier
    • getNotes

      public String getNotes()
      Return the notes from the custodian.
      Returns:
      String notes
    • setNotes

      public void setNotes(String notes)
      Set up the notes from the custodian.
      Parameters:
      notes - String notes
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Referenceable
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Referenceable
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class Referenceable
      Returns:
      int