From 146a0fb8b0e90f9196e569152f649baf60d6cc8f Mon Sep 17 00:00:00 2001
From: Joaquín Reñé <jrene@curisit.net>
Date: Tue, 07 Oct 2025 14:52:57 +0000
Subject: [PATCH] #4410 - Comments on classes

---
 securis/src/main/java/net/curisit/securis/db/common/Metadata.java |   68 +++++++++++++++++++++++++++++-----
 1 files changed, 58 insertions(+), 10 deletions(-)

diff --git a/securis/src/main/java/net/curisit/securis/db/common/Metadata.java b/securis/src/main/java/net/curisit/securis/db/common/Metadata.java
index 8706e36..6018d5e 100644
--- a/securis/src/main/java/net/curisit/securis/db/common/Metadata.java
+++ b/securis/src/main/java/net/curisit/securis/db/common/Metadata.java
@@ -1,16 +1,64 @@
+/*
+* Copyright @ 2013 CurisTEC, S.A.S. All Rights Reserved.
+*/
 package net.curisit.securis.db.common;
 
+/**
+* Metadata
+* <p>
+* Contract for metadata entries (key/value/mandatory).
+* Implemented by ApplicationMetadata, LicenseTypeMetadata, PackMetadata, etc.
+* 
+* @author JRA
+* Last reviewed by JRA on Oct 5, 2025.
+*/
 public interface Metadata {
-	public String getKey();
+	
+    /** 
+     * getKey<p>
+     * Return entry key.
+     * 
+     * @return key
+     */
+    String getKey();
+    
+    /** 
+     * setKey<p>
+     * Set entry key. 
+     * 
+     * @param key
+     */
+    void setKey(String key);
 
-	public void setKey(String key);
+    /** 
+     * getValue<p>
+     * Return entry value. 
+     * 
+     * @return value
+     */
+    String getValue();
+    
+    /** 
+     * setValue<p>
+     * Set entry value. 
+     * 
+     * @param value
+     */
+    void setValue(String value);
 
-	public String getValue();
-
-	public void setValue(String value);
-
-	public boolean isMandatory();
-
-	public void setMandatory(boolean mandatory);
-
+    /** 
+     * isMandatory<p>
+     * Whether this metadata is required. 
+     * 
+     * @return isMandatory
+     */
+    boolean isMandatory();
+    
+    /** 
+     * setMandatory<p>
+     * Set required flag. 
+     * 
+     * @param mandatory
+     */
+    void setMandatory(boolean mandatory);
 }

--
Gitblit v1.3.2