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 -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(CertificateUsageEntity other) Compares this CertificateUsageEntity to another based on usageType and subject.getId()voidsetCertificate(CertificateEntity certificate) voidvoidsetSubject(String subject) voidsetUsageType(ECertificateUsageType usageType) toString()
-
Constructor Details
-
CertificateUsageEntity
public CertificateUsageEntity()
-
-
Method Details
-
compareTo
Compares this CertificateUsageEntity to another based on usageType and subject.- Specified by:
compareToin interfaceComparable<CertificateUsageEntity>
-
getId
-
getUsageType
-
getSubject
-
getCertificate
-
setId
-
setUsageType
-
setSubject
-
setCertificate
-
toString
-