Package com.example.metaschema
Class METASCHEMA.DefineAssembly
java.lang.Object
com.example.metaschema.METASCHEMA.DefineAssembly
- All Implemented Interfaces:
 gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
 - METASCHEMA
 
@MetaschemaAssembly(formalName="Global Assembly Definition",
                    description="In XML, an element with structured element content. In JSON, an object with properties. Defined globally, an assembly can be assigned to appear in the `model` of any assembly (another assembly type, or itself), by `assembly` reference.",
                    name="define-assembly",
                    moduleClass=MetaschemaModelModule.class)
public static class METASCHEMA.DefineAssembly
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
In XML, an element with structured element content. In JSON, an object with properties. Defined globally, an assembly can be assigned to appear in the 
model of any assembly (another assembly type, or itself), by assembly reference.- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProvides a root name, for when the definition is used as the root of a node hierarchy. - 
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()getScope()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) voidsetExamples(List<Example> value) voidvoidsetFormalName(String value) voidsetIndex(BigInteger value) voidsetJsonKey(JsonKey value) voidsetModel(AssemblyModel value) voidvoidvoidsetRemarks(Remarks value) voidvoidvoidsetUseName(UseName 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
 - 
getScope
 - 
setScope
 - 
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
 - 
getUseName
 - 
setUseName
 - 
getRootName
 - 
setRootName
 - 
getJsonKey
 - 
setJsonKey
 - 
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
 
 -