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 Object
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
Nested Classes Modifier and Type Class Description static class
SystemInformation.InformationType
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
Constructors Constructor Description SystemInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addInformationType(SystemInformation.InformationType item)
Add a newSystemInformation.InformationType
item to the underlying collection.boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.List<SystemInformation.InformationType>
getInformationTypes()
List<Link>
getLinks()
List<Property>
getProps()
boolean
removeInformationType(SystemInformation.InformationType item)
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
setInformationTypes(List<SystemInformation.InformationType> value)
void
setLinks(List<Link> value)
void
setProps(List<Property> value)
String
toString()
-
-
-
Constructor Detail
-
SystemInformation
public SystemInformation()
-
-
Method Detail
-
addProp
public boolean addProp(Property item)
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
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
public List<SystemInformation.InformationType> getInformationTypes()
-
setInformationTypes
public void setInformationTypes(List<SystemInformation.InformationType> value)
-
addInformationType
public boolean addInformationType(SystemInformation.InformationType item)
Add a newSystemInformation.InformationType
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeInformationType
public boolean removeInformationType(SystemInformation.InformationType item)
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
-
-