Class DefaultAllowedValuesConstraint.Builder
- java.lang.Object
-
- gov.nist.secauto.metaschema.core.model.constraint.AbstractConstraint.AbstractConstraintBuilder<DefaultAllowedValuesConstraint.Builder,DefaultAllowedValuesConstraint>
-
- gov.nist.secauto.metaschema.core.model.constraint.DefaultAllowedValuesConstraint.Builder
-
- Enclosing class:
- DefaultAllowedValuesConstraint
public static final class DefaultAllowedValuesConstraint.Builder extends AbstractConstraint.AbstractConstraintBuilder<DefaultAllowedValuesConstraint.Builder,DefaultAllowedValuesConstraint>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultAllowedValuesConstraint.Builder
allowedOther(boolean bool)
DefaultAllowedValuesConstraint.Builder
allowedValue(DefaultAllowedValue allowedValue)
DefaultAllowedValuesConstraint.Builder
allowedValues(Map<String,DefaultAllowedValue> allowedValues)
DefaultAllowedValuesConstraint.Builder
extensible(IAllowedValuesConstraint.Extensible extensible)
protected Map<String,DefaultAllowedValue>
getAllowedValues()
protected IAllowedValuesConstraint.Extensible
getExtensible()
protected DefaultAllowedValuesConstraint.Builder
getThis()
protected boolean
isAllowedOther()
protected DefaultAllowedValuesConstraint
newInstance()
-
Methods inherited from class gov.nist.secauto.metaschema.core.model.constraint.AbstractConstraint.AbstractConstraintBuilder
build, description, formalName, getDescription, getFormalName, getId, getLevel, getProperties, getRemarks, getSource, getTarget, identifier, level, properties, property, property, remarks, source, target, validate
-
-
-
-
Method Detail
-
allowedValue
public DefaultAllowedValuesConstraint.Builder allowedValue(@NonNull DefaultAllowedValue allowedValue)
-
allowedValues
public DefaultAllowedValuesConstraint.Builder allowedValues(@NonNull Map<String,DefaultAllowedValue> allowedValues)
-
allowedOther
public DefaultAllowedValuesConstraint.Builder allowedOther(boolean bool)
-
extensible
public DefaultAllowedValuesConstraint.Builder extensible(@NonNull IAllowedValuesConstraint.Extensible extensible)
-
getThis
protected DefaultAllowedValuesConstraint.Builder getThis()
-
getAllowedValues
@NonNull protected Map<String,DefaultAllowedValue> getAllowedValues()
-
isAllowedOther
protected boolean isAllowedOther()
-
getExtensible
@NonNull protected IAllowedValuesConstraint.Extensible getExtensible()
-
newInstance
protected DefaultAllowedValuesConstraint newInstance()
-
-