Package com.example.metaschema
Class AssemblyModel.ChoiceGroup.DefineAssembly
java.lang.Object
com.example.metaschema.AssemblyModel.ChoiceGroup.DefineAssembly
- All Implemented Interfaces:
 gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
 - AssemblyModel.ChoiceGroup
 
@MetaschemaAssembly(formalName="Inline Assembly Definition",
                    name="define-assembly",
                    moduleClass=MetaschemaModelModule.class)
public static class AssemblyModel.ChoiceGroup.DefineAssembly
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.MarkupLinegetFlags()getIndex()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetModel()getName()getProps()booleanremoveExample(Example item) Remove the first matchingExampleitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetConstraint(AssemblyConstraints value) voidsetDeprecated(String value) voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) voidsetDiscriminatorValue(String value) voidsetExamples(List<Example> value) voidvoidsetFormalName(String value) voidsetIndex(BigInteger value) voidsetModel(AssemblyModel value) voidvoidvoidsetRemarks(Remarks value) toString() 
- 
Constructor Details
- 
DefineAssembly
public DefineAssembly() - 
DefineAssembly
 
 - 
 - 
Method Details
- 
getMetaschemaData
- Specified by:
 getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
 - 
getName
 - 
setName
 - 
getIndex
 - 
setIndex
 - 
getDeprecated
 - 
setDeprecated
 - 
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
 - 
getDiscriminatorValue
 - 
setDiscriminatorValue
 - 
getFlags
 - 
setFlags
 - 
getModel
 - 
setModel
 - 
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
 
 -