Interface IKeyConstraint
-
- All Superinterfaces:
IConstraint
- All Known Subinterfaces:
IIndexConstraint
,IIndexHasKeyConstraint
,IUniqueConstraint
- All Known Implementing Classes:
AbstractKeyConstraint
,DefaultIndexConstraint
,DefaultIndexHasKeyConstraint
,DefaultUniqueConstraint
public interface IKeyConstraint extends IConstraint
A common interface used for constraints oriented around key-based indexes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IConstraint
IConstraint.ExternalModelSource, IConstraint.ExternalSource, IConstraint.InternalModelSource, IConstraint.ISource, IConstraint.Level
-
-
Field Summary
-
Fields inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IConstraint
DEFAULT_LEVEL, DEFAULT_TARGET, DEFAULT_TARGET_METAPATH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends IKeyField>
getKeyFields()
Retrieve the list of keys to use in creating and looking up an entry in a given index.-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IConstraint
accept, getDescription, getFormalName, getId, getLevel, getProperties, getRemarks, getSource, getTarget, matchTargets, matchTargets
-
-
-
-
Method Detail
-
getKeyFields
@NonNull List<? extends IKeyField> getKeyFields()
Retrieve the list of keys to use in creating and looking up an entry in a given index.- Returns:
- one or more keys
-
-