Package gov.nist.secauto.oscal.lib.model
Class NetworkArchitecture
java.lang.Object
gov.nist.secauto.oscal.lib.model.NetworkArchitecture
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Network Architecture",
description="A description of the system\'s network architecture, optionally supplemented by diagrams that illustrate the network architecture.",
name="network-architecture",
moduleClass=OscalSspModule.class,
modelConstraints=@AssemblyConstraints(unique=@IsUnique(id="unique-ssp-network-architecture-diagram",level=ERROR,target="diagram",keyFields=@KeyField(target="@uuid"),remarks="A given `uuid` must be assigned only once to a diagram.")))
public class NetworkArchitecture
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A description of the system's network architecture, optionally supplemented by diagrams that illustrate the network architecture.
-
Constructor Summary
ConstructorsConstructorDescriptionNetworkArchitecture(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddDiagram(Diagram item) Add a newDiagramitem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinebooleanremoveDiagram(Diagram item) Remove the first matchingDiagramitem from the underlying collection.booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidsetDiagrams(List<Diagram> value) voidvoidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) toString()
-
Constructor Details
-
NetworkArchitecture
public NetworkArchitecture() -
NetworkArchitecture
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
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
-
getLinks
-
setLinks
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getDiagrams
-
setDiagrams
-
addDiagram
Add a newDiagramitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeDiagram
Remove the first matchingDiagramitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
-
setRemarks
-
toString
-