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
ConstructorDescriptionNetworkArchitecture
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addDiagram
(Diagram item) Add a newDiagram
item to the underlying collection.boolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
boolean
removeDiagram
(Diagram item) Remove the first matchingDiagram
item from the underlying collection.boolean
removeLink
(Link item) Remove the first matchingLink
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
setDiagrams
(List<Diagram> value) void
void
void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) toString()
-
Constructor Details
-
NetworkArchitecture
public NetworkArchitecture() -
NetworkArchitecture
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
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
-
getLinks
-
setLinks
-
addLink
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getDiagrams
-
setDiagrams
-
addDiagram
Add a newDiagram
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeDiagram
Remove the first matchingDiagram
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRemarks
-
setRemarks
-
toString
-