Package com.example.metaschema
Class METASCHEMA.DefineFlag
java.lang.Object
com.example.metaschema.METASCHEMA.DefineFlag
- All Implemented Interfaces:
 gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
 - METASCHEMA
 
@MetaschemaAssembly(formalName="Global Flag Definition",
                    name="define-flag",
                    moduleClass=MetaschemaModelModule.class)
public static class METASCHEMA.DefineFlag
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanaddExample(Example item) Add a newExampleitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupLinegetIndex()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetName()getProps()getScope()booleanremoveExample(Example item) Remove the first matchingExampleitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidvoidsetConstraint(FlagConstraints value) voidsetDefault(String value) voidsetDeprecated(String value) voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) voidsetExamples(List<Example> value) voidsetFormalName(String value) voidsetIndex(BigInteger value) voidvoidvoidsetRemarks(Remarks value) voidvoidsetUseName(UseName value) toString() 
- 
Constructor Details
- 
DefineFlag
public DefineFlag() - 
DefineFlag
 
 - 
 - 
Method Details
- 
getMetaschemaData
- Specified by:
 getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
 - 
getName
 - 
setName
 - 
getIndex
 - 
setIndex
 - 
getScope
 - 
setScope
 - 
getDeprecated
 - 
setDeprecated
 - 
getAsType
 - 
setAsType
 - 
getDefault
 - 
setDefault
 - 
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
 - 
getUseName
 - 
setUseName
 - 
getConstraint
 - 
setConstraint
 - 
getRemarks
 - 
setRemarks
 - 
getExamples
 - 
setExamples
 - 
addExample
Add a newExampleitem to the underlying collection.- Parameters:
 item- the item to add- Returns:
 true
 - 
removeExample
Remove the first matchingExampleitem from the underlying collection.- Parameters:
 item- the item to remove- Returns:
 trueif the item was removed orfalseotherwise
 - 
toString
 
 -