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
Modifier and TypeClassDescriptionstatic class
An individual characteristic that is part of a larger set produced by the same actor. -
Constructor Summary
ConstructorDescriptionCharacterization
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newCharacterization.Facet
item to the underlying collection.boolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
boolean
Remove the first matchingCharacterization.Facet
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
setFacets
(List<Characterization.Facet> value) void
void
void
toString()
-
Constructor Details
-
Characterization
public Characterization() -
Characterization
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLinks
-
setLinks
-
addLink
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getOrigin
-
setOrigin
-
getFacets
-
setFacets
-
addFacet
Add a newCharacterization.Facet
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeFacet
Remove the first matchingCharacterization.Facet
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-