1 /* 2 * SPDX-FileCopyrightText: none 3 * SPDX-License-Identifier: CC0-1.0 4 */ 5 6 package gov.nist.secauto.metaschema.core.model; 7 8 import gov.nist.secauto.metaschema.core.datatype.IDataTypeAdapter; 9 10 import edu.umd.cs.findbugs.annotations.NonNull; 11 12 /** 13 * This marker interface identifies Metaschema definition types that have 14 * associated values (i.e., field, flag). 15 */ 16 public interface IValuedDefinition extends IDefinition { 17 /** 18 * Retrieves the data type of the definition's value. 19 * 20 * @return the data type 21 */ 22 @NonNull 23 IDataTypeAdapter<?> getJavaTypeAdapter(); 24 }