Interface IValuedDefinition
-
- All Superinterfaces:
IConstrained
,IDefinition
,gov.nist.secauto.metaschema.core.model.constraint.impl.IFeatureValueConstrained
,IModelElement
,INamedModelElement
,IValueConstrained
- All Known Subinterfaces:
IFieldDefinition
,IFlagDefinition
public interface IValuedDefinition extends IDefinition
This marker interface identifies Metaschema definition types that have associated values (i.e., field, flag).
-
-
Field Summary
-
Fields inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
DEFAULT_DEFINITION_MODEL_SCOPE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getDefaultValue()
Retrieves the default data value for this model construct.IDataTypeAdapter<?>
getJavaTypeAdapter()
Retrieves the data type of the definition's value.-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
getInlineInstance, getModuleScope, isInline, toCoordinates
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.impl.IFeatureValueConstrained
addConstraint, addConstraint, addConstraint, addConstraint, getAllowedValuesConstraints, getConstraints, getConstraintSupport, getExpectConstraints, getIndexHasKeyConstraints, getMatchesConstraints
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElement
getContainingModule, getModelType, getRemarks
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelElement
getDescription, getEffectiveDescription, getEffectiveFormalName, getEffectiveName, getFormalName, getJsonName, getName, getProperties, getPropertyValues, getUseName, hasProperty, hasPropertyValue
-
-
-
-
Method Detail
-
getJavaTypeAdapter
@NonNull IDataTypeAdapter<?> getJavaTypeAdapter()
Retrieves the data type of the definition's value.- Returns:
- the data type
-
getDefaultValue
@Nullable Object getDefaultValue()
Retrieves the default data value for this model construct.- Returns:
- the default value or
null
if there is no default
-
-