Package gov.nist.secauto.oscal.lib.model
Class SystemInformation
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.SystemInformation
-
@MetaschemaAssembly(formalName="System Information", description="Contains details about all information types that are stored, processed, or transmitted by the system, such as privacy information, and those defined in [NIST SP 800-60](https://doi.org/10.6028/NIST.SP.800-60v2r1).", name="system-information", metaschema=OscalSspMetaschema.class) @ValueConstraints(allowedValues={@AllowedValues(level=ERROR,target="prop[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\')]/@name",values=@AllowedValue(value="privacy-designation",description="Is this a privacy sensitive system? yes or no")),@AllowedValues(level=ERROR,target="prop[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\') and @name=\'privacy-designation\']/@value",values={@AllowedValue(value="yes",description="The system is privacy sensitive."),@AllowedValue(value="no",description="The system is not privacy sensitive.")}),@AllowedValues(level=ERROR,target="link/@rel",allowOthers=true,values=@AllowedValue(value="privacy-impact-assessment",description="A link to the privacy impact assessment.")),@AllowedValues(level=ERROR,target="information-type/(confidentiality-impact|integrity-impact|availability-impact)/(base|selected)",allowOthers=true,values={@AllowedValue(value="fips-199-low",description="A \'low\' sensitivity level as defined in [FIPS-199](https://doi.org/10.6028/NIST.FIPS.199)."),@AllowedValue(value="fips-199-moderate",description="A \'moderate\' sensitivity level as defined in [FIPS-199](https://doi.org/10.6028/NIST.FIPS.199)."),@AllowedValue(value="fips-199-high",description="A \'high\' sensitivity level as defined in [FIPS-199](https://doi.org/10.6028/NIST.FIPS.199).")},remarks="FIPS-199 taxonomy is provided here as a starting point. We will provide other taxonomies based on community requests.")},indexHasKey=@IndexHasKey(level=ERROR,target="link[@rel=\'privacy-impact-assessment\' and starts-with(@href,\'#\')]",indexName="index-back-matter-resource",keyFields=@KeyField(target="@href",pattern="#(.*)")),matches={@Matches(level=ERROR,target="link[@rel=\'privacy-impact-assessment\']/@href[starts-with(.,\'#\')]",typeAdapter=gov.nist.secauto.metaschema.model.common.datatype.adapter.UriReferenceAdapter.class),@Matches(level=ERROR,target="link[@rel=\'privacy-impact-assessment\']/@href[not(starts-with(.,\'#\'))]",typeAdapter=gov.nist.secauto.metaschema.model.common.datatype.adapter.UriAdapter.class)}) public class SystemInformation extends ObjectContains details about all information types that are stored, processed, or transmitted by the system, such as privacy information, and those defined in NIST SP 800-60.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSystemInformation.InformationTypeContains details about one information type that is stored, processed, or transmitted by the system, such as privacy information, and those defined in NIST SP 800-60.
-
Constructor Summary
Constructors Constructor Description SystemInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddInformationType(SystemInformation.InformationType item)Add a newSystemInformation.InformationTypeitem to the underlying collection.booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.List<SystemInformation.InformationType>getInformationTypes()List<Link>getLinks()List<Property>getProps()booleanremoveInformationType(SystemInformation.InformationType item)Remove the first matchingSystemInformation.InformationTypeitem 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.voidsetInformationTypes(List<SystemInformation.InformationType> value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)StringtoString()
-
-
-
Constructor Detail
-
SystemInformation
public SystemInformation()
-
-
Method Detail
-
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
-
getInformationTypes
public List<SystemInformation.InformationType> getInformationTypes()
-
setInformationTypes
public void setInformationTypes(List<SystemInformation.InformationType> value)
-
addInformationType
public boolean addInformationType(SystemInformation.InformationType item)
Add a newSystemInformation.InformationTypeitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeInformationType
public boolean removeInformationType(SystemInformation.InformationType item)
Remove the first matchingSystemInformation.InformationTypeitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-