Package gov.nist.secauto.oscal.lib.model
Class Characterization
java.lang.Object
gov.nist.secauto.oscal.lib.model.Characterization
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Characterization",
description="A collection of descriptive data about the containing object from a specific origin.",
name="characterization",
moduleClass=OscalAssessmentCommonModule.class)
public class Characterization
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A collection of descriptive data about the containing object from a specific origin.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn individual characteristic that is part of a larger set produced by the same actor. -
Constructor Summary
ConstructorsConstructorDescriptionCharacterization(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newCharacterization.Facetitem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.getLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()booleanRemove the first matchingCharacterization.Facetitem 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.voidsetFacets(List<Characterization.Facet> value) voidvoidvoidtoString()
-
Constructor Details
-
Characterization
public Characterization() -
Characterization
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getProps
-
setProps
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLinks
-
setLinks
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getOrigin
-
setOrigin
-
getFacets
-
setFacets
-
addFacet
Add a newCharacterization.Facetitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeFacet
Remove the first matchingCharacterization.Facetitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-