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
ConstructorDescriptionFlagAllowedValues
(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) toString()
-
Constructor Details
-
FlagAllowedValues
public FlagAllowedValues() -
FlagAllowedValues
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getLevel
-
setLevel
-
getAllowOther
-
setAllowOther
-
getExtensible
-
setExtensible
-
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
-