Package gov.nist.secauto.oscal.lib.model
Class ByComponent.Export
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.ByComponent.Export
-
- Enclosing class:
- ByComponent
@MetaschemaAssembly(formalName="Export", description="Identifies content intended for external consumption, such as with leveraged organizations.", name="export", metaschema=OscalSspMetaschema.class) @ValueConstraints(indexHasKey=@IndexHasKey(level=ERROR,target="responsibility",indexName="by-component-export-provided-uuid",keyFields=@KeyField(target="@provided-uuid"))) @AssemblyConstraints(hasCardinality=@HasCardinality(level=ERROR,target="provided|responsibility",minOccurs=1)) public static class ByComponent.Export extends ObjectIdentifies content intended for external consumption, such as with leveraged organizations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByComponent.Export.ProvidedDescribes a capability which may be inherited by a leveraging system.static classByComponent.Export.ResponsibilityDescribes a control implementation responsibility imposed on a leveraging system.
-
Constructor Summary
Constructors Constructor Description Export()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.booleanaddProvided(ByComponent.Export.Provided item)Add a newByComponent.Export.Provideditem to the underlying collection.booleanaddResponsibility(ByComponent.Export.Responsibility item)Add a newByComponent.Export.Responsibilityitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()List<Link>getLinks()List<Property>getProps()List<ByComponent.Export.Provided>getProvided()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()List<ByComponent.Export.Responsibility>getResponsibilities()booleanremoveLink(Link item)Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item)Remove the first matchingPropertyitem from the underlying collection.booleanremoveProvided(ByComponent.Export.Provided item)Remove the first matchingByComponent.Export.Provideditem from the underlying collection.booleanremoveResponsibility(ByComponent.Export.Responsibility item)Remove the first matchingByComponent.Export.Responsibilityitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetProvided(List<ByComponent.Export.Provided> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetResponsibilities(List<ByComponent.Export.Responsibility> value)StringtoString()
-
-
-
Constructor Detail
-
Export
public Export()
-
-
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
-
getProvided
public List<ByComponent.Export.Provided> getProvided()
-
setProvided
public void setProvided(List<ByComponent.Export.Provided> value)
-
addProvided
public boolean addProvided(ByComponent.Export.Provided item)
Add a newByComponent.Export.Provideditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProvided
public boolean removeProvided(ByComponent.Export.Provided item)
Remove the first matchingByComponent.Export.Provideditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getResponsibilities
public List<ByComponent.Export.Responsibility> getResponsibilities()
-
setResponsibilities
public void setResponsibilities(List<ByComponent.Export.Responsibility> value)
-
addResponsibility
public boolean addResponsibility(ByComponent.Export.Responsibility item)
Add a newByComponent.Export.Responsibilityitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeResponsibility
public boolean removeResponsibility(ByComponent.Export.Responsibility item)
Remove the first matchingByComponent.Export.Responsibilityitem 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)
-
-