java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.CertificationProperties

public class CertificationProperties extends RelationshipProperties
CertificationProperties describe the details of a certificate that shows that an element is certified with a particular certification type.
  • Constructor Details

    • CertificationProperties

      public CertificationProperties()
      Default Constructor
    • CertificationProperties

      public CertificationProperties(CertificationProperties template)
      Copy/clone Constructor - the resulting object.
      Parameters:
      template - object being copied
  • Method Details

    • getCertificateId

      public String getCertificateId()
      Return the unique identifier of the certificate. This value comes from the certificate authority.
      Returns:
      string
    • setCertificateId

      public void setCertificateId(String certificateId)
      Set up the unique identifier of the certificate. This value comes from the certificate authority.
      Parameters:
      certificateId - string
    • getStartDate

      public Date getStartDate()
      Return the date/time that this certificate is valid from.
      Returns:
      date/time
    • setStartDate

      public void setStartDate(Date startDate)
      Set up the date/time that this certificate is valid from.
      Parameters:
      startDate - date/time
    • getEndDate

      public Date getEndDate()
      Return the date/time that this certificate is no longer valid.
      Returns:
      date/time
    • setEndDate

      public void setEndDate(Date endDate)
      Set up the date/time that this certificate is no longer valid.
      Parameters:
      endDate - date/time
    • getConditions

      public String getConditions()
      Return any conditions or endorsements to this certificate.
      Returns:
      string text
    • setConditions

      public void setConditions(String conditions)
      Set up any conditions or endorsements to this certificate.
      Parameters:
      conditions - string text
    • getCertifiedBy

      public String getCertifiedBy()
      Return the name of the person in the certification authority that granted this certificate.
      Returns:
      string name/id
    • setCertifiedBy

      public void setCertifiedBy(String certifiedBy)
      Set up the name of the person in the certification authority that granted this certificate.
      Parameters:
      certifiedBy - string name/id
    • getCertifiedByTypeName

      public String getCertifiedByTypeName()
      Return the name of the type of the element supplying the certifiedBy property.
      Returns:
      string type name
    • setCertifiedByTypeName

      public void setCertifiedByTypeName(String certifiedByTypeName)
      Set up the name of the type of the element supplying the certifiedBy property.
      Parameters:
      certifiedByTypeName - string type name
    • getCertifiedByPropertyName

      public String getCertifiedByPropertyName()
      Return the name of the property from the element supplying the certifiedBy property.
      Returns:
      string property name
    • setCertifiedByPropertyName

      public void setCertifiedByPropertyName(String certifiedByPropertyName)
      Set up the name of the property from the element supplying the certifiedBy property.
      Parameters:
      certifiedByPropertyName - string property name
    • getCustodian

      public String getCustodian()
      Return the person/team responsible for ensuring that the certificate conditions are adhered to.
      Returns:
      string name/id
    • setCustodian

      public void setCustodian(String custodian)
      Set up the person/team responsible for ensuring that the certificate conditions are adhered to.
      Parameters:
      custodian - string name/id
    • getCustodianTypeName

      public String getCustodianTypeName()
      Return the name of the type of the element supplying the custodian property.
      Returns:
      string type name
    • setCustodianTypeName

      public void setCustodianTypeName(String custodianTypeName)
      Set up the name of the type of the element supplying the custodian property.
      Parameters:
      custodianTypeName - string type name
    • getCustodianPropertyName

      public String getCustodianPropertyName()
      Return the name of the property from the element supplying the custodian property.
      Returns:
      string property name
    • setCustodianPropertyName

      public void setCustodianPropertyName(String custodianPropertyName)
      Set up the name of the property from the element supplying the custodian property.
      Parameters:
      custodianPropertyName - string property name
    • getRecipient

      public String getRecipient()
      Return the person/team that received the certification.
      Returns:
      string name/id
    • setRecipient

      public void setRecipient(String recipient)
      Set up the person/team that received the certification.
      Parameters:
      recipient - string name/id
    • getRecipientTypeName

      public String getRecipientTypeName()
      Return the name of the type of the element supplying the recipient property.
      Returns:
      string type name
    • setRecipientTypeName

      public void setRecipientTypeName(String recipientTypeName)
      Set up the name of the type of the element supplying the recipient property.
      Parameters:
      recipientTypeName - string type name
    • getRecipientPropertyName

      public String getRecipientPropertyName()
      Return the name of the property from the element supplying the recipient property.
      Returns:
      string property name
    • setRecipientPropertyName

      public void setRecipientPropertyName(String recipientPropertyName)
      Set up the name of the property from the element supplying the recipient property.
      Parameters:
      recipientPropertyName - string property name
    • getNotes

      public String getNotes()
      Return any notes associated with the certificate.
      Returns:
      string text
    • setNotes

      public void setNotes(String notes)
      Set up any notes associated with the certificate.
      Parameters:
      notes - string text
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class RelationshipProperties
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class RelationshipProperties
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Just use the GUID for the hash code as it should be unique.
      Overrides:
      hashCode in class RelationshipProperties
      Returns:
      int code