/* * Copyright @ 2013 CurisTEC, S.A.S. All Rights Reserved. */ package net.curisit.securis.db.common; /** * Metadata *
* 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 { /** * getKey
* Return entry key. * * @return key */ String getKey(); /** * setKey
* Set entry key. * * @param key */ void setKey(String key); /** * getValue
* Return entry value. * * @return value */ String getValue(); /** * setValue
* Set entry value. * * @param value */ void setValue(String value); /** * isMandatory
* Whether this metadata is required. * * @return isMandatory */ boolean isMandatory(); /** * setMandatory
* Set required flag. * * @param mandatory */ void setMandatory(boolean mandatory); }