Package gov.nist.secauto.oscal.lib.model
Class BackMatter
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.metadata.AbstractBackMatter
-
- gov.nist.secauto.oscal.lib.model.BackMatter
-
- All Implemented Interfaces:
IBackMatter
@MetaschemaAssembly(formalName="Back matter", description="A collection of resources that may be referenced from within the OSCAL document instance.", name="back-matter", metaschema=OscalMetadataMetaschema.class, remarks="Provides a collection of identified `resource` objects that can be referenced by a `link` with a `rel` value of \"reference\" and an `href` value that is a fragment \"#\" followed by a reference to a reference\'s `uuid`. Other specialized link \"rel\" values also use this pattern when indicated in that context of use.") @AssemblyConstraints(index=@Index(level=ERROR,target="resource",name="index-back-matter-resource",keyFields=@KeyField(target="@uuid"))) public class BackMatter extends AbstractBackMatterA collection of resources that may be referenced from within the OSCAL document instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBackMatter.ResourceA resource associated with content in the containing document instance.
-
Constructor Summary
Constructors Constructor Description BackMatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddResource(BackMatter.Resource item)Add a newBackMatter.Resourceitem to the underlying collection.List<BackMatter.Resource>getResources()booleanremoveResource(BackMatter.Resource item)Remove the first matchingBackMatter.Resourceitem from the underlying collection.voidsetResources(List<BackMatter.Resource> value)StringtoString()-
Methods inherited from class gov.nist.secauto.oscal.lib.model.metadata.AbstractBackMatter
getResourceByUuid
-
-
-
-
Constructor Detail
-
BackMatter
public BackMatter()
-
-
Method Detail
-
getResources
public List<BackMatter.Resource> getResources()
-
setResources
public void setResources(List<BackMatter.Resource> value)
-
addResource
public boolean addResource(BackMatter.Resource item)
Add a newBackMatter.Resourceitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeResource
public boolean removeResource(BackMatter.Resource item)
Remove the first matchingBackMatter.Resourceitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-