Class Certification
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Certification
-
- 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcertificateGUIDprotected StringcertificationConditionsprotected StringcertificationTypeNameprotected StringcreatedByprotected Stringcustodianprotected DateendDateprotected Stringexaminerprotected ExternalReferencelinkprotected Stringnotesprotected Stringrecipientprotected DatestartDateprotected Stringsummary-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, confidenceGovernanceClassification, confidentialityGovernanceClassification, criticalityGovernanceClassification, latestChange, latestChangeDetails, meanings, qualifiedName, retentionGovernanceClassification, searchKeywords, securityTags
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
classifications, extendedProperties, guid, type, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description Certification()Default constructorCertification(Certification templateCertification)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetCertificateGUID()Return the unique id for the type of certification.StringgetCertificationConditions()Return any special conditions that apply to the certification - such as endorsements.StringgetCertificationTypeName()Return the type of the certification.StringgetCreatedBy()Return the name of the person or organization that set up the certification for this asset.StringgetCustodian()Return the name of the person or organization that is responsible for the correct management of the asset according to the certification.DategetEndDate()Return the end date for the certification.StringgetExaminer()Return the name of the organization or person that issued the certification.ExternalReferencegetLink()Return the link to the full text of the certification.StringgetNotes()Return the notes from the custodian.StringgetRecipient()Return the identifier of the person or organization that received the certification.DategetStartDate()Return the start date for the certification.StringgetSummary()Return a brief summary of the certification.inthashCode()Hash of propertiesvoidsetCertificateGUID(String certificateGUID)Set up the unique id for the type of certification.voidsetCertificationConditions(String certificationConditions)Set up any special conditions that apply to the certification - such as endorsements.voidsetCertificationTypeName(String certificationTypeName)Set up the type of the certification.voidsetCreatedBy(String createdBy)Set up the name of the person or organization that set up the certification for this asset.voidsetCustodian(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.voidsetEndDate(Date endDate)Set up the end date for the certification.voidsetExaminer(String examiner)Set up the name of the organization or person that issued the certification.voidsetLink(ExternalReference link)Set up the link to the full text of the certification.voidsetNotes(String notes)Set up the notes from the custodian.voidsetRecipient(String recipient)Set up the identifier of the person or organization that received the certification.voidsetStartDate(Date startDate)Set up the start date for the certification.voidsetSummary(String summary)Set up a brief summary of the certification.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getConfidenceGovernanceClassification, getConfidentialityGovernanceClassification, getCriticalityGovernanceClassification, getLatestChange, getLatestChangeDetails, getMeanings, getQualifiedName, getRetentionGovernanceClassification, getSearchKeywords, getSecurityTags, setAdditionalProperties, setConfidenceGovernanceClassification, setConfidentialityGovernanceClassification, setCriticalityGovernanceClassification, setLatestChange, setLatestChangeDetails, setMeanings, setQualifiedName, setRetentionGovernanceClassification, setSearchKeywords, setSecurityTags
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Field Detail
-
certificateGUID
protected String certificateGUID
-
certificationTypeName
protected String certificationTypeName
-
examiner
protected String examiner
-
summary
protected String summary
-
link
protected ExternalReference link
-
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 Detail
-
Certification
public Certification()
Default constructor
-
Certification
public Certification(Certification templateCertification)
Copy/clone constructor.- Parameters:
templateCertification- element to copy
-
-
Method Detail
-
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:
toStringin classReferenceable- 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:
equalsin classReferenceable- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classReferenceable- Returns:
- int
-
-