Package gov.nist.secauto.oscal.lib.model
Class OriginActor
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.OriginActor
-
@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", metaschema=OscalAssessmentCommonMetaschema.class) public class OriginActor extends Object
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
Constructors Constructor Description OriginActor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.UUID
getActorUuid()
List<Link>
getLinks()
List<Property>
getProps()
String
getRoleId()
String
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
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setRoleId(String value)
void
setType(String value)
String
toString()
-
-
-
Constructor Detail
-
OriginActor
public OriginActor()
-
-
Method Detail
-
getActorUuid
public UUID getActorUuid()
-
setActorUuid
public void setActorUuid(UUID value)
-
addProp
public boolean addProp(Property item)
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-