Class CertificateUsageEntity
- java.lang.Object
-
- de.xima.fc.certificate.ms.impl.dao.entities.CertificateUsageEntity
-
- All Implemented Interfaces:
Comparable<CertificateUsageEntity>
@Entity @ValidCertificateUsage public class CertificateUsageEntity extends Object implements Comparable<CertificateUsageEntity>
An entity representing the usage of a certificate.
-
-
Constructor Summary
Constructors Constructor Description CertificateUsageEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CertificateUsageEntity other)Compares this CertificateUsageEntity to another based on usageType and subject.CertificateEntitygetCertificate()LonggetId()StringgetSubject()ECertificateUsageTypegetUsageType()voidsetCertificate(CertificateEntity certificate)voidsetId(Long id)voidsetSubject(String subject)voidsetUsageType(ECertificateUsageType usageType)StringtoString()
-
-
-
Method Detail
-
compareTo
public int compareTo(CertificateUsageEntity other)
Compares this CertificateUsageEntity to another based on usageType and subject.- Specified by:
compareToin interfaceComparable<CertificateUsageEntity>
-
getId
public Long getId()
-
getUsageType
public ECertificateUsageType getUsageType()
-
getSubject
public String getSubject()
-
getCertificate
public CertificateEntity getCertificate()
-
setId
public void setId(Long id)
-
setUsageType
public void setUsageType(ECertificateUsageType usageType)
-
setSubject
public void setSubject(String subject)
-
setCertificate
public void setCertificate(CertificateEntity certificate)
-
-