All Implemented Interfaces:
Serializable

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.
See Also:
  • Field Details

    • certificateGUID

      protected String certificateGUID
    • certificationTypeName

      protected String certificationTypeName
    • examiner

      protected String examiner
    • summary

      protected String summary
    • startDate

      protected Date startDate
    • endDate

      protected Date endDate
    • certificationConditions

      protected String certificationConditions
    • createdBy

      protected String createdBy
    • custodian

      protected String custodian
    • recipient

      protected String recipient
    • notes

      protected String notes
  • 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