Class Certification
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.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
- All Implemented Interfaces:
Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Stringprotected ExternalReferenceprotected Stringprotected Stringprotected Dateprotected StringFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedNameFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties, urlFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCertification(Certification templateCertification) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.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.voidSet 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.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, getURL, setExtendedProperties, setURLMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersionsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
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:
toStringin 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:
equalsin classReferenceable- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCodein classReferenceable- Returns:
- int
-