Package gov.nist.secauto.oscal.lib.model
Class OriginActor
java.lang.Object
gov.nist.secauto.oscal.lib.model.OriginActor
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Originating Actor",
description="The actor that produces an observation, a finding, or a risk. One or more actor type can be used to specify a person that is using a tool.",
name="origin-actor",
moduleClass=OscalAssessmentCommonModule.class)
public class OriginActor
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
The actor that produces an observation, a finding, or a risk. One or more actor type can be used to specify a person that is using a tool.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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()
getType()
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
setActorUuid
(UUID value) void
void
void
void
toString()
-
Constructor Details
-
OriginActor
public OriginActor() -
OriginActor
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getType
-
setType
-
getActorUuid
-
setActorUuid
-
getRoleId
-
setRoleId
-
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
-
toString
-