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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addExample
(Example item) Add a newExample
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine
getIndex()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getName()
getProps()
getScope()
boolean
removeExample
(Example item) Remove the first matchingExample
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.void
void
setConstraint
(FlagConstraints value) void
setDefault
(String value) void
setDeprecated
(String value) void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) void
setExamples
(List<Example> value) void
setFormalName
(String value) void
setIndex
(BigInteger value) void
void
void
setRemarks
(Remarks value) void
void
setUseName
(UseName value) toString()
-
Constructor Details
-
DefineFlag
public DefineFlag() -
DefineFlag
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in 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 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
-
getUseName
-
setUseName
-
getConstraint
-
setConstraint
-
getRemarks
-
setRemarks
-
getExamples
-
setExamples
-
addExample
Add a newExample
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExample
Remove the first matchingExample
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-