Package gov.nist.secauto.oscal.lib.model
Class DataFlow
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.DataFlow
-
@MetaschemaAssembly(formalName="Data Flow", description="A description of the logical flow of information within the system and across its boundaries, optionally supplemented by diagrams that illustrate these flows.", name="data-flow", metaschema=OscalSspMetaschema.class) @AssemblyConstraints(isUnique=@IsUnique(id="unique-ssp-data-flow-diagram",level=ERROR,target="diagram",keyFields=@KeyField(target="@uuid"),remarks="A given `uuid` must be assigned only once to a diagram.")) public class DataFlow extends ObjectA description of the logical flow of information within the system and across its boundaries, optionally supplemented by diagrams that illustrate these flows.
-
-
Constructor Summary
Constructors Constructor Description DataFlow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddDiagram(Diagram item)Add a newDiagramitem to the underlying collection.booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()List<Diagram>getDiagrams()List<Link>getLinks()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()booleanremoveDiagram(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.model.common.datatype.markup.MarkupMultiline value)voidsetDiagrams(List<Diagram> value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)StringtoString()
-
-
-
Constructor Detail
-
DataFlow
public DataFlow()
-
-
Method Detail
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
addProp
public boolean addProp(Property item)
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addLink
public boolean addLink(Link item)
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getDiagrams
public List<Diagram> getDiagrams()
-
setDiagrams
public void setDiagrams(List<Diagram> value)
-
addDiagram
public boolean addDiagram(Diagram item)
Add a newDiagramitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeDiagram
public boolean removeDiagram(Diagram item)
Remove the first matchingDiagramitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getRemarks()
-
setRemarks
public void setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-