Package gov.nist.secauto.oscal.lib.model
Class SystemImplementation
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.SystemImplementation
-
@MetaschemaAssembly(formalName="System Implementation", description="Provides information as to how the system is implemented.", name="system-implementation", metaschema=OscalSspMetaschema.class) @ValueConstraints(allowedValues=@AllowedValues(level=ERROR,target="(component | inventory-item)/prop[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\') and @name=\'allows-authenticated-scan\']/@value",values={@AllowedValue(value="yes",description="The component allows an authenticated scan."),@AllowedValue(value="no",description="The component does not allow an authenticated scan.")}),indexHasKey={@IndexHasKey(level=ERROR,target="component/prop[@name=\'leveraged-authorization-uuid\']",indexName="index-system-implementation-leveraged-authorization-uuid",keyFields=@KeyField(target="@value")),@IndexHasKey(level=ERROR,target="component/link[@rel=\'depends-on\']",indexName="index-system-implementation-component-uuid",keyFields=@KeyField(target="@href")),@IndexHasKey(level=ERROR,target="component/link[@rel=\'validated-by\']",indexName="index-system-implementation-component-uuid-validation",keyFields=@KeyField(target="@href")),@IndexHasKey(level=ERROR,target="component/link[@rel=\'proof-of-compliance\']",indexName="index-system-implementation-component-uuid-validation",keyFields=@KeyField(target="@href")),@IndexHasKey(level=ERROR,target="component/link[@rel=\'uses-service\']",indexName="index-system-implementation-component-uuid-service",keyFields=@KeyField(target="@href")),@IndexHasKey(level=ERROR,target="component[@type=\'service\']/link[@rel=\'provided-by\']",indexName="index-system-implementation-component-uuid-software",keyFields=@KeyField(target="@href"))}) @AssemblyConstraints(index={@Index(level=ERROR,target="leveraged-authorization",name="index-system-implementation-leveraged-authorization-uuid",keyFields=@KeyField(target="@uuid")),@Index(level=ERROR,target="component",name="index-system-implementation-component-uuid",keyFields=@KeyField(target="@uuid")),@Index(level=ERROR,target="component[@type=\'validation\']",name="index-system-implementation-component-uuid-validation",keyFields=@KeyField(target="@uuid")),@Index(level=ERROR,target="component[@type=\'service\']",name="index-system-implementation-component-uuid-service",keyFields=@KeyField(target="@uuid")),@Index(level=ERROR,target="component[@type=\'service\']",name="index-system-implementation-component-uuid-software",keyFields=@KeyField(target="@uuid"))},isUnique=@IsUnique(id="unique-ssp-system-implementation-user",level=ERROR,target="user",keyFields=@KeyField(target="@uuid"),remarks="A given `uuid` must be assigned only once to a user.")) public class SystemImplementation extends ObjectProvides information as to how the system is implemented.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSystemImplementation.LeveragedAuthorizationA description of another authorized system from which this system inherits capabilities that satisfy security requirements.
-
Constructor Summary
Constructors Constructor Description SystemImplementation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddComponent(SystemComponent item)Add a newSystemComponentitem to the underlying collection.booleanaddInventoryItem(InventoryItem item)Add a newInventoryItemitem to the underlying collection.booleanaddLeveragedAuthorization(SystemImplementation.LeveragedAuthorization item)Add a newSystemImplementation.LeveragedAuthorizationitem to the underlying collection.booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.booleanaddUser(SystemUser item)Add a newSystemUseritem to the underlying collection.List<SystemComponent>getComponents()List<InventoryItem>getInventoryItems()List<SystemImplementation.LeveragedAuthorization>getLeveragedAuthorizations()List<Link>getLinks()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()List<SystemUser>getUsers()booleanremoveComponent(SystemComponent item)Remove the first matchingSystemComponentitem from the underlying collection.booleanremoveInventoryItem(InventoryItem item)Remove the first matchingInventoryItemitem from the underlying collection.booleanremoveLeveragedAuthorization(SystemImplementation.LeveragedAuthorization item)Remove the first matchingSystemImplementation.LeveragedAuthorizationitem 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.booleanremoveUser(SystemUser item)Remove the first matchingSystemUseritem from the underlying collection.voidsetComponents(List<SystemComponent> value)voidsetInventoryItems(List<InventoryItem> value)voidsetLeveragedAuthorizations(List<SystemImplementation.LeveragedAuthorization> value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetUsers(List<SystemUser> value)StringtoString()
-
-
-
Constructor Detail
-
SystemImplementation
public SystemImplementation()
-
-
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
-
getLeveragedAuthorizations
public List<SystemImplementation.LeveragedAuthorization> getLeveragedAuthorizations()
-
setLeveragedAuthorizations
public void setLeveragedAuthorizations(List<SystemImplementation.LeveragedAuthorization> value)
-
addLeveragedAuthorization
public boolean addLeveragedAuthorization(SystemImplementation.LeveragedAuthorization item)
Add a newSystemImplementation.LeveragedAuthorizationitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLeveragedAuthorization
public boolean removeLeveragedAuthorization(SystemImplementation.LeveragedAuthorization item)
Remove the first matchingSystemImplementation.LeveragedAuthorizationitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getUsers
public List<SystemUser> getUsers()
-
setUsers
public void setUsers(List<SystemUser> value)
-
addUser
public boolean addUser(SystemUser item)
Add a newSystemUseritem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeUser
public boolean removeUser(SystemUser item)
Remove the first matchingSystemUseritem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getComponents
public List<SystemComponent> getComponents()
-
setComponents
public void setComponents(List<SystemComponent> value)
-
addComponent
public boolean addComponent(SystemComponent item)
Add a newSystemComponentitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeComponent
public boolean removeComponent(SystemComponent item)
Remove the first matchingSystemComponentitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getInventoryItems
public List<InventoryItem> getInventoryItems()
-
setInventoryItems
public void setInventoryItems(List<InventoryItem> value)
-
addInventoryItem
public boolean addInventoryItem(InventoryItem item)
Add a newInventoryItemitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeInventoryItem
public boolean removeInventoryItem(InventoryItem item)
Remove the first matchingInventoryItemitem 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)
-
-