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
Modifier and TypeClassDescriptionstatic class
Provides a root name, for when the definition is used as the root of a node hierarchy. -
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
getFlags()
getIndex()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getModel()
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
setConstraint
(AssemblyConstraints value) void
setDeprecated
(String value) void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) void
setExamples
(List<Example> value) void
void
setFormalName
(String value) void
setIndex
(BigInteger value) void
setJsonKey
(JsonKey value) void
setModel
(AssemblyModel value) void
void
void
setRemarks
(Remarks value) void
void
void
setUseName
(UseName value) toString()
-
Constructor Details
-
DefineAssembly
public DefineAssembly() -
DefineAssembly
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getName
-
setName
-
getIndex
-
setIndex
-
getScope
-
setScope
-
getDeprecated
-
setDeprecated
-
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
-
getRootName
-
setRootName
-
getJsonKey
-
setJsonKey
-
getFlags
-
setFlags
-
getModel
-
setModel
-
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
-