Package com.example.metaschema
Class FlagAllowedValues
java.lang.Object
com.example.metaschema.FlagAllowedValues
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Allowed Values Constraint",
name="flag-allowed-values",
moduleClass=MetaschemaModelModule.class)
public class FlagAllowedValues
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionFlagAllowedValues(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddEnum(ConstraintValueEnum item) Add a newConstraintValueEnumitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupLinegetEnums()getId()getLevel()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()booleanRemove the first matchingConstraintValueEnumitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetAllowOther(String value) voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) voidsetEnums(List<ConstraintValueEnum> value) voidsetExtensible(String value) voidsetFormalName(String value) voidvoidvoidvoidsetRemarks(Remarks value) toString()
-
Constructor Details
-
FlagAllowedValues
public FlagAllowedValues() -
FlagAllowedValues
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getLevel
-
setLevel
-
getAllowOther
-
setAllowOther
-
getExtensible
-
setExtensible
-
getFormalName
-
setFormalName
-
getDescription
-
setDescription
-
getProps
-
setProps
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getEnums
-
setEnums
-
addEnum
Add a newConstraintValueEnumitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeEnum
Remove the first matchingConstraintValueEnumitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
-
setRemarks
-
toString
-