Class DefaultIndexConstraint
- java.lang.Object
-
- gov.nist.secauto.metaschema.core.model.constraint.AbstractConstraint
-
- gov.nist.secauto.metaschema.core.model.constraint.AbstractKeyConstraint
-
- gov.nist.secauto.metaschema.core.model.constraint.DefaultIndexConstraint
-
- All Implemented Interfaces:
IConstraint
,IIndexConstraint
,IKeyConstraint
public final class DefaultIndexConstraint extends AbstractKeyConstraint implements IIndexConstraint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultIndexConstraint.Builder
-
Nested classes/interfaces inherited from class gov.nist.secauto.metaschema.core.model.constraint.AbstractKeyConstraint
AbstractKeyConstraint.AbstractKeyConstraintBuilder<T extends AbstractKeyConstraint.AbstractKeyConstraintBuilder<T,R>,R extends AbstractKeyConstraint>
-
Nested classes/interfaces inherited from class gov.nist.secauto.metaschema.core.model.constraint.AbstractConstraint
AbstractConstraint.AbstractConstraintBuilder<T extends AbstractConstraint.AbstractConstraintBuilder<T,R>,R extends AbstractConstraint>
-
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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,R>
Raccept(IConstraintVisitor<T,R> visitor, T state)
static DefaultIndexConstraint.Builder
builder()
String
getName()
Get the name of the index, which is used to refer to the index by anIIndexHasKeyConstraint
.-
Methods inherited from class gov.nist.secauto.metaschema.core.model.constraint.AbstractKeyConstraint
getKeyFields
-
Methods inherited from class gov.nist.secauto.metaschema.core.model.constraint.AbstractConstraint
getDescription, getFormalName, getId, getLevel, getProperties, getRemarks, getSource, getTarget
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IConstraint
getDescription, getFormalName, getId, getLevel, getProperties, getRemarks, getSource, getTarget, matchTargets, matchTargets
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IKeyConstraint
getKeyFields
-
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IIndexConstraint
Get the name of the index, which is used to refer to the index by anIIndexHasKeyConstraint
.- Specified by:
getName
in interfaceIIndexConstraint
- Returns:
- the name of the index
-
accept
public <T,R> R accept(IConstraintVisitor<T,R> visitor, T state)
- Specified by:
accept
in interfaceIConstraint
-
builder
@NonNull public static DefaultIndexConstraint.Builder builder()
-
-