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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.getLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()getType()booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetActorUuid(UUID value) voidvoidvoidvoidtoString()
-
Constructor Details
-
OriginActor
public OriginActor() -
OriginActor
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getType
-
setType
-
getActorUuid
-
setActorUuid
-
getRoleId
-
setRoleId
-
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
-
toString
-