Package com.example.metaschema
Class FieldConstraints
java.lang.Object
com.example.metaschema.FieldConstraints
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(name="field-constraints",
moduleClass=MetaschemaModelModule.class)
public class FieldConstraints
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionFieldConstraints(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newConstraintLetExpressionitem to the underlying collection.getLets()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetRules()booleanRemove the first matchingConstraintLetExpressionitem from the underlying collection.voidsetLets(List<ConstraintLetExpression> value) voidtoString()
-
Constructor Details
-
FieldConstraints
public FieldConstraints() -
FieldConstraints
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getLets
-
setLets
-
addLet
Add a newConstraintLetExpressionitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLet
Remove the first matchingConstraintLetExpressionitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRules
-
setRules
-
toString
-