Joaquín Reñé
2025-10-07 146a0fb8b0e90f9196e569152f649baf60d6cc8f
securis/src/main/java/net/curisit/securis/db/common/PackStatusType.java
....@@ -1,12 +1,29 @@
1
+/*
2
+* Copyright @ 2013 CurisTEC, S.A.S. All Rights Reserved.
3
+*/
14 package net.curisit.securis.db.common;
25
36 import net.curisit.securis.db.PackStatus;
47
8
+/**
9
+* PackStatusType
10
+* <p>
11
+* Hibernate {@code UserType} for persisting {@link PackStatus} as its short code.
12
+* Delegates common enum-code mapping behavior to {@link PersistentEnumUserType}.
13
+*
14
+* @author JRA
15
+* Last reviewed by JRA on Oct 7, 2025.
16
+*/
517 public class PackStatusType extends PersistentEnumUserType<PackStatus> {
618
19
+ /**
20
+ * returnedClass<p>
21
+ * Return enum class handled by this type.
22
+ *
23
+ * @return packStatus
24
+ */
725 @Override
826 public Class<PackStatus> returnedClass() {
927 return PackStatus.class;
1028 }
11
-
1229 }