Class CertificationProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.CertificationProperties
-
- All Implemented Interfaces:
Serializable
public class CertificationProperties extends RelationshipProperties
CertificationProperties describe the details of a certificate that shows that an element is certified with a particular certification type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CertificationProperties()Default ConstructorCertificationProperties(CertificationProperties template)Copy/clone Constructor - the resulting object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetCertificateId()Return the unique identifier of the certificate.StringgetCertifiedBy()Return the name of the person in the certification authority that granted this certificate.StringgetCertifiedByPropertyName()Return the name of the property from the element supplying the certifiedBy property.StringgetCertifiedByTypeName()Return the name of the type of the element supplying the certifiedBy property.StringgetConditions()Return any conditions or endorsements to this certificate.StringgetCustodian()Return the person/team responsible for ensuring that the certificate conditions are adhered to.StringgetCustodianPropertyName()Return the name of the property from the element supplying the custodian property.StringgetCustodianTypeName()Return the name of the type of the element supplying the custodian property.DategetEndDate()Return the date/time that this certificate is no longer valid.StringgetNotes()Return any notes associated with the certificate.StringgetRecipient()Return the person/team that received the certification.StringgetRecipientPropertyName()Return the name of the property from the element supplying the recipient property.StringgetRecipientTypeName()Return the name of the type of the element supplying the recipient property.DategetStartDate()Return the date/time that this certificate is valid from.inthashCode()Just use the GUID for the hash code as it should be unique.voidsetCertificateId(String certificateId)Set up the unique identifier of the certificate.voidsetCertifiedBy(String certifiedBy)Set up the name of the person in the certification authority that granted this certificate.voidsetCertifiedByPropertyName(String certifiedByPropertyName)Set up the name of the property from the element supplying the certifiedBy property.voidsetCertifiedByTypeName(String certifiedByTypeName)Set up the name of the type of the element supplying the certifiedBy property.voidsetConditions(String conditions)Set up any conditions or endorsements to this certificate.voidsetCustodian(String custodian)Set up the person/team responsible for ensuring that the certificate conditions are adhered to.voidsetCustodianPropertyName(String custodianPropertyName)Set up the name of the property from the element supplying the custodian property.voidsetCustodianTypeName(String custodianTypeName)Set up the name of the type of the element supplying the custodian property.voidsetEndDate(Date endDate)Set up the date/time that this certificate is no longer valid.voidsetNotes(String notes)Set up any notes associated with the certificate.voidsetRecipient(String recipient)Set up the person/team that received the certification.voidsetRecipientPropertyName(String recipientPropertyName)Set up the name of the property from the element supplying the recipient property.voidsetRecipientTypeName(String recipientTypeName)Set up the name of the type of the element supplying the recipient property.voidsetStartDate(Date startDate)Set up the date/time that this certificate is valid from.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
CertificationProperties
public CertificationProperties()
Default Constructor
-
CertificationProperties
public CertificationProperties(CertificationProperties template)
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Detail
-
getCertificateId
public String getCertificateId()
Return the unique identifier of the certificate. This value comes from the certificate authority.- Returns:
- string
-
setCertificateId
public void setCertificateId(String certificateId)
Set up the unique identifier of the certificate. This value comes from the certificate authority.- Parameters:
certificateId- string
-
getStartDate
public Date getStartDate()
Return the date/time that this certificate is valid from.- Returns:
- date/time
-
setStartDate
public void setStartDate(Date startDate)
Set up the date/time that this certificate is valid from.- Parameters:
startDate- date/time
-
getEndDate
public Date getEndDate()
Return the date/time that this certificate is no longer valid.- Returns:
- date/time
-
setEndDate
public void setEndDate(Date endDate)
Set up the date/time that this certificate is no longer valid.- Parameters:
endDate- date/time
-
getConditions
public String getConditions()
Return any conditions or endorsements to this certificate.- Returns:
- string text
-
setConditions
public void setConditions(String conditions)
Set up any conditions or endorsements to this certificate.- Parameters:
conditions- string text
-
getCertifiedBy
public String getCertifiedBy()
Return the name of the person in the certification authority that granted this certificate.- Returns:
- string name/id
-
setCertifiedBy
public void setCertifiedBy(String certifiedBy)
Set up the name of the person in the certification authority that granted this certificate.- Parameters:
certifiedBy- string name/id
-
getCertifiedByTypeName
public String getCertifiedByTypeName()
Return the name of the type of the element supplying the certifiedBy property.- Returns:
- string type name
-
setCertifiedByTypeName
public void setCertifiedByTypeName(String certifiedByTypeName)
Set up the name of the type of the element supplying the certifiedBy property.- Parameters:
certifiedByTypeName- string type name
-
getCertifiedByPropertyName
public String getCertifiedByPropertyName()
Return the name of the property from the element supplying the certifiedBy property.- Returns:
- string property name
-
setCertifiedByPropertyName
public void setCertifiedByPropertyName(String certifiedByPropertyName)
Set up the name of the property from the element supplying the certifiedBy property.- Parameters:
certifiedByPropertyName- string property name
-
getCustodian
public String getCustodian()
Return the person/team responsible for ensuring that the certificate conditions are adhered to.- Returns:
- string name/id
-
setCustodian
public void setCustodian(String custodian)
Set up the person/team responsible for ensuring that the certificate conditions are adhered to.- Parameters:
custodian- string name/id
-
getCustodianTypeName
public String getCustodianTypeName()
Return the name of the type of the element supplying the custodian property.- Returns:
- string type name
-
setCustodianTypeName
public void setCustodianTypeName(String custodianTypeName)
Set up the name of the type of the element supplying the custodian property.- Parameters:
custodianTypeName- string type name
-
getCustodianPropertyName
public String getCustodianPropertyName()
Return the name of the property from the element supplying the custodian property.- Returns:
- string property name
-
setCustodianPropertyName
public void setCustodianPropertyName(String custodianPropertyName)
Set up the name of the property from the element supplying the custodian property.- Parameters:
custodianPropertyName- string property name
-
getRecipient
public String getRecipient()
Return the person/team that received the certification.- Returns:
- string name/id
-
setRecipient
public void setRecipient(String recipient)
Set up the person/team that received the certification.- Parameters:
recipient- string name/id
-
getRecipientTypeName
public String getRecipientTypeName()
Return the name of the type of the element supplying the recipient property.- Returns:
- string type name
-
setRecipientTypeName
public void setRecipientTypeName(String recipientTypeName)
Set up the name of the type of the element supplying the recipient property.- Parameters:
recipientTypeName- string type name
-
getRecipientPropertyName
public String getRecipientPropertyName()
Return the name of the property from the element supplying the recipient property.- Returns:
- string property name
-
setRecipientPropertyName
public void setRecipientPropertyName(String recipientPropertyName)
Set up the name of the property from the element supplying the recipient property.- Parameters:
recipientPropertyName- string property name
-
getNotes
public String getNotes()
Return any notes associated with the certificate.- Returns:
- string text
-
setNotes
public void setNotes(String notes)
Set up any notes associated with the certificate.- Parameters:
notes- string text
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classRelationshipProperties- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.- Overrides:
equalsin 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:
hashCodein classRelationshipProperties- Returns:
- int code
-
-