| .. | .. |
|---|
| 1 | +/* |
|---|
| 2 | +* Copyright @ 2013 CurisTEC, S.A.S. All Rights Reserved. |
|---|
| 3 | +*/ |
|---|
| 1 | 4 | package net.curisit.securis.db.common; |
|---|
| 2 | 5 | |
|---|
| 3 | 6 | import net.curisit.securis.db.LicenseStatus; |
|---|
| 4 | 7 | |
|---|
| 8 | +/** |
|---|
| 9 | +* LicenseStatusType |
|---|
| 10 | +* <p> |
|---|
| 11 | +* Hibernate user type that persists {@link LicenseStatus} using its code. |
|---|
| 12 | +* Delegates specifics to {@link PersistentEnumUserType}. |
|---|
| 13 | +* |
|---|
| 14 | +* @author JRA |
|---|
| 15 | +* Last reviewed by JRA on Oct 5, 2025. |
|---|
| 16 | +*/ |
|---|
| 5 | 17 | public class LicenseStatusType extends PersistentEnumUserType<LicenseStatus> { |
|---|
| 6 | 18 | |
|---|
| 19 | + /** |
|---|
| 20 | + * returnedClass<p> |
|---|
| 21 | + * Return the enum class handled by this type. |
|---|
| 22 | + * |
|---|
| 23 | + * @return licenseStatus |
|---|
| 24 | + */ |
|---|
| 7 | 25 | @Override |
|---|
| 8 | 26 | public Class<LicenseStatus> returnedClass() { |
|---|
| 9 | 27 | return LicenseStatus.class; |
|---|
| 10 | 28 | } |
|---|
| 11 | | - |
|---|
| 12 | 29 | } |
|---|
| 30 | + |
|---|