Class Certification
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.Certification
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
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected Date
protected String
protected ExternalReference
protected String
protected String
protected Date
protected String
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedName
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorCertification
(Certification templateCertification) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.getLink()
Return the link to the full text of the certification.getNotes()
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
hashCode()
Hash of propertiesvoid
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
setLink
(ExternalReference link) 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.toString()
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
-
Field Details
-
certificateGUID
-
certificationTypeName
-
examiner
-
summary
-
link
-
startDate
-
endDate
-
certificationConditions
-
createdBy
-
custodian
-
recipient
-
notes
-
-
Constructor Details
-
Certification
public Certification()Default constructor -
Certification
Copy/clone constructor.- Parameters:
templateCertification
- element to copy
-
-
Method Details
-
getCertificateGUID
Return the unique id for the type of certification.- Returns:
- String certification type GUID
-
setCertificateGUID
Set up the unique id for the type of certification.- Parameters:
certificateGUID
- String certification type GUID
-
getCertificationTypeName
Return the type of the certification.- Returns:
- String certification type
-
setCertificationTypeName
Set up the type of the certification.- Parameters:
certificationTypeName
- String certification type
-
getExaminer
Return the name of the organization or person that issued the certification.- Returns:
- String name
-
setExaminer
Set up the name of the organization or person that issued the certification.- Parameters:
examiner
- String name
-
getSummary
Return a brief summary of the certification.- Returns:
- String summary
-
setSummary
Set up a brief summary of the certification.- Parameters:
summary
- String summary
-
setLink
Set up the link to the full text of the certification.- Parameters:
link
- ExternalReference for full text
-
getLink
Return the link to the full text of the certification.- Returns:
- ExternalReference for full text
-
setStartDate
Set up the start date for the certification. Null means unknown or not relevant.- Parameters:
startDate
- start date for the certification
-
getStartDate
Return the start date for the certification. Null means unknown or not relevant.- Returns:
- Date start date for the certification
-
getEndDate
Return the end date for the certification. Null means it does not expire.- Returns:
- Date end date for the certification
-
setEndDate
Set up the end date for the certification. Null means it does not expire.- Parameters:
endDate
- end date for the certification
-
getCertificationConditions
Return any special conditions that apply to the certification - such as endorsements.- Returns:
- String certification conditions
-
setCertificationConditions
Set up any special conditions that apply to the certification - such as endorsements.- Parameters:
certificationConditions
- String certification conditions
-
getCreatedBy
Return the name of the person or organization that set up the certification for this asset.- Returns:
- String name
-
setCreatedBy
Set up the name of the person or organization that set up the certification for this asset.- Parameters:
createdBy
- String name
-
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
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
Return the identifier of the person or organization that received the certification.- Returns:
- string identifier
-
setRecipient
Set up the identifier of the person or organization that received the certification.- Parameters:
recipient
- string identifier
-
getNotes
Return the notes from the custodian.- Returns:
- String notes
-
setNotes
Set up the notes from the custodian.- Parameters:
notes
- String notes
-
toString
Standard toString method.- Overrides:
toString
in classReferenceable
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classReferenceable
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCode
in classReferenceable
- Returns:
- int
-