Class CertificationProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class CertificationProperties
    extends RelationshipProperties
    CertificationProperties describe the details of a certificate that shows that an element is certified with a particular certification type.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      java.lang.String getCertificateId()
      Return the unique identifier of the certificate.
      java.lang.String getCertifiedBy()
      Return the name of the person in the certification authority that granted this certificate.
      java.lang.String getCertifiedByPropertyName()
      Return the name of the property from the element supplying the certifiedBy property.
      java.lang.String getCertifiedByTypeName()
      Return the name of the type of the element supplying the certifiedBy property.
      java.lang.String getConditions()
      Return any conditions or endorsements to this certificate.
      java.lang.String getCustodian()
      Return the person/team responsible for ensuring that the certificate conditions are adhered to.
      java.lang.String getCustodianPropertyName()
      Return the name of the property from the element supplying the custodian property.
      java.lang.String getCustodianTypeName()
      Return the name of the type of the element supplying the custodian property.
      java.util.Date getEndDate()
      Return the date/time that this certificate is no longer valid.
      java.lang.String getNotes()
      Return any notes associated with the certificate.
      java.lang.String getRecipient()
      Return the person/team that received the certification.
      java.lang.String getRecipientPropertyName()
      Return the name of the property from the element supplying the recipient property.
      java.lang.String getRecipientTypeName()
      Return the name of the type of the element supplying the recipient property.
      java.util.Date getStartDate()
      Return the date/time that this certificate is valid from.
      int hashCode()
      Just use the GUID for the hash code as it should be unique.
      void setCertificateId​(java.lang.String certificateId)
      Set up the unique identifier of the certificate.
      void setCertifiedBy​(java.lang.String certifiedBy)
      Set up the name of the person in the certification authority that granted this certificate.
      void setCertifiedByPropertyName​(java.lang.String certifiedByPropertyName)
      Set up the name of the property from the element supplying the certifiedBy property.
      void setCertifiedByTypeName​(java.lang.String certifiedByTypeName)
      Set up the name of the type of the element supplying the certifiedBy property.
      void setConditions​(java.lang.String conditions)
      Set up any conditions or endorsements to this certificate.
      void setCustodian​(java.lang.String custodian)
      Set up the person/team responsible for ensuring that the certificate conditions are adhered to.
      void setCustodianPropertyName​(java.lang.String custodianPropertyName)
      Set up the name of the property from the element supplying the custodian property.
      void setCustodianTypeName​(java.lang.String custodianTypeName)
      Set up the name of the type of the element supplying the custodian property.
      void setEndDate​(java.util.Date endDate)
      Set up the date/time that this certificate is no longer valid.
      void setNotes​(java.lang.String notes)
      Set up any notes associated with the certificate.
      void setRecipient​(java.lang.String recipient)
      Set up the person/team that received the certification.
      void setRecipientPropertyName​(java.lang.String recipientPropertyName)
      Set up the name of the property from the element supplying the recipient property.
      void setRecipientTypeName​(java.lang.String recipientTypeName)
      Set up the name of the type of the element supplying the recipient property.
      void setStartDate​(java.util.Date startDate)
      Set up the date/time that this certificate is valid from.
      java.lang.String toString()
      JSON-style toString.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CertificationProperties

        public CertificationProperties()
        Default Constructor
      • CertificationProperties

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

      • getCertificateId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public boolean equals​(java.lang.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