Package gov.nist.secauto.oscal.lib.model
Class SystemInformation
java.lang.Object
gov.nist.secauto.oscal.lib.model.SystemInformation
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@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",
moduleClass=OscalSspModule.class,
valueConstraints=@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.core.datatype.adapter.UriReferenceAdapter.class),@Matches(level=ERROR,target="link[@rel=\'privacy-impact-assessment\']/@href[not(starts-with(.,\'#\'))]",typeAdapter=gov.nist.secauto.metaschema.core.datatype.adapter.UriAdapter.class)}))
public class SystemInformation
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Contains 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
ConstructorDescriptionSystemInformation
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newSystemInformation.InformationType
item to the underlying collection.boolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
boolean
Remove the first matchingSystemInformation.InformationType
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
void
void
toString()
-
Constructor Details
-
SystemInformation
public SystemInformation() -
SystemInformation
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
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
-
getInformationTypes
-
setInformationTypes
-
addInformationType
Add a newSystemInformation.InformationType
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeInformationType
Remove the first matchingSystemInformation.InformationType
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-