Class CertificationProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.CertificationProperties
CertificationProperties describe the details of a certificate that shows that an element is certified with a particular certification type.
-
Constructor Summary
ConstructorDescriptionDefault ConstructorCopy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the unique identifier of the certificate.Return the name of the person in the certification authority that granted this certificate.Return the name of the property from the element supplying the certifiedBy property.Return the name of the type of the element supplying the certifiedBy property.Return any conditions or endorsements to this certificate.Return the person/team responsible for ensuring that the certificate conditions are adhered to.Return the name of the property from the element supplying the custodian property.Return the name of the type of the element supplying the custodian property.Return the date/time that this certificate is no longer valid.getNotes()
Return any notes associated with the certificate.Return the person/team that received the certification.Return the name of the property from the element supplying the recipient property.Return the name of the type of the element supplying the recipient property.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
(String certificateId) Set up the unique identifier of the certificate.void
setCertifiedBy
(String certifiedBy) Set up the name of the person in the certification authority that granted this certificate.void
setCertifiedByPropertyName
(String certifiedByPropertyName) Set up the name of the property from the element supplying the certifiedBy property.void
setCertifiedByTypeName
(String certifiedByTypeName) Set up the name of the type of the element supplying the certifiedBy property.void
setConditions
(String conditions) Set up any conditions or endorsements to this certificate.void
setCustodian
(String custodian) Set up the person/team responsible for ensuring that the certificate conditions are adhered to.void
setCustodianPropertyName
(String custodianPropertyName) Set up the name of the property from the element supplying the custodian property.void
setCustodianTypeName
(String custodianTypeName) Set up the name of the type of the element supplying the custodian property.void
setEndDate
(Date endDate) Set up the date/time that this certificate is no longer valid.void
Set up any notes associated with the certificate.void
setRecipient
(String recipient) Set up the person/team that received the certification.void
setRecipientPropertyName
(String recipientPropertyName) Set up the name of the property from the element supplying the recipient property.void
setRecipientTypeName
(String recipientTypeName) Set up the name of the type of the element supplying the recipient property.void
setStartDate
(Date startDate) Set up the date/time that this certificate is valid from.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
CertificationProperties
public CertificationProperties()Default Constructor -
CertificationProperties
Copy/clone Constructor - the resulting object.- Parameters:
template
- object being copied
-
-
Method Details
-
getCertificateId
Return the unique identifier of the certificate. This value comes from the certificate authority.- Returns:
- string
-
setCertificateId
Set up the unique identifier of the certificate. This value comes from the certificate authority.- Parameters:
certificateId
- string
-
getStartDate
Return the date/time that this certificate is valid from.- Returns:
- date/time
-
setStartDate
Set up the date/time that this certificate is valid from.- Parameters:
startDate
- date/time
-
getEndDate
Return the date/time that this certificate is no longer valid.- Returns:
- date/time
-
setEndDate
Set up the date/time that this certificate is no longer valid.- Parameters:
endDate
- date/time
-
getConditions
Return any conditions or endorsements to this certificate.- Returns:
- string text
-
setConditions
Set up any conditions or endorsements to this certificate.- Parameters:
conditions
- string text
-
getCertifiedBy
Return the name of the person in the certification authority that granted this certificate.- Returns:
- string name/id
-
setCertifiedBy
Set up the name of the person in the certification authority that granted this certificate.- Parameters:
certifiedBy
- string name/id
-
getCertifiedByTypeName
Return the name of the type of the element supplying the certifiedBy property.- Returns:
- string type name
-
setCertifiedByTypeName
Set up the name of the type of the element supplying the certifiedBy property.- Parameters:
certifiedByTypeName
- string type name
-
getCertifiedByPropertyName
Return the name of the property from the element supplying the certifiedBy property.- Returns:
- string property name
-
setCertifiedByPropertyName
Set up the name of the property from the element supplying the certifiedBy property.- Parameters:
certifiedByPropertyName
- string property name
-
getCustodian
Return the person/team responsible for ensuring that the certificate conditions are adhered to.- Returns:
- string name/id
-
setCustodian
Set up the person/team responsible for ensuring that the certificate conditions are adhered to.- Parameters:
custodian
- string name/id
-
getCustodianTypeName
Return the name of the type of the element supplying the custodian property.- Returns:
- string type name
-
setCustodianTypeName
Set up the name of the type of the element supplying the custodian property.- Parameters:
custodianTypeName
- string type name
-
getCustodianPropertyName
Return the name of the property from the element supplying the custodian property.- Returns:
- string property name
-
setCustodianPropertyName
Set up the name of the property from the element supplying the custodian property.- Parameters:
custodianPropertyName
- string property name
-
getRecipient
Return the person/team that received the certification.- Returns:
- string name/id
-
setRecipient
Set up the person/team that received the certification.- Parameters:
recipient
- string name/id
-
getRecipientTypeName
Return the name of the type of the element supplying the recipient property.- Returns:
- string type name
-
setRecipientTypeName
Set up the name of the type of the element supplying the recipient property.- Parameters:
recipientTypeName
- string type name
-
getRecipientPropertyName
Return the name of the property from the element supplying the recipient property.- Returns:
- string property name
-
setRecipientPropertyName
Set up the name of the property from the element supplying the recipient property.- Parameters:
recipientPropertyName
- string property name
-
getNotes
Return any notes associated with the certificate.- Returns:
- string text
-
setNotes
Set up any notes associated with the certificate.- Parameters:
notes
- string text
-
toString
JSON-style toString.- Overrides:
toString
in classRelationshipProperties
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classRelationshipProperties
- 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 classRelationshipProperties
- Returns:
- int code
-