Package com.example.metaschema
Class TargetedAllowedValuesConstraint
java.lang.Object
com.example.metaschema.TargetedAllowedValuesConstraint
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Allowed Values Constraint",
name="targeted-allowed-values-constraint",
moduleClass=MetaschemaModelModule.class)
public class TargetedAllowedValuesConstraint
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorDescriptionTargetedAllowedValuesConstraint
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addEnum
(ConstraintValueEnum item) Add a newConstraintValueEnum
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine
getEnums()
getId()
getLevel()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
boolean
Remove the first matchingConstraintValueEnum
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.void
setAllowOther
(String value) void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) void
setEnums
(List<ConstraintValueEnum> value) void
setExtensible
(String value) void
setFormalName
(String value) void
void
void
void
setRemarks
(Remarks value) void
toString()
-
Constructor Details
-
TargetedAllowedValuesConstraint
public TargetedAllowedValuesConstraint() -
TargetedAllowedValuesConstraint
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getLevel
-
setLevel
-
getAllowOther
-
setAllowOther
-
getExtensible
-
setExtensible
-
getTarget
-
setTarget
-
getFormalName
-
setFormalName
-
getDescription
-
setDescription
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getEnums
-
setEnums
-
addEnum
Add a newConstraintValueEnum
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeEnum
Remove the first matchingConstraintValueEnum
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRemarks
-
setRemarks
-
toString
-