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 Details

    • OriginActor

      public OriginActor()
    • OriginActor

      public OriginActor(gov.nist.secauto.metaschema.core.model.IMetaschemaData data)
  • Method Details

    • getMetaschemaData

      public gov.nist.secauto.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface gov.nist.secauto.metaschema.core.model.IBoundObject
    • getType

      public String getType()
    • setType

      public void setType(String value)
    • getActorUuid

      public UUID getActorUuid()
    • setActorUuid

      public void setActorUuid(UUID value)
    • getRoleId

      public String getRoleId()
    • setRoleId

      public void setRoleId(String value)
    • getProps

      public List<Property> getProps()
    • setProps

      public void setProps(List<Property> value)
    • addProp

      public boolean addProp(Property item)
      Add a new Property item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeProp

      public boolean removeProp(Property item)
      Remove the first matching Property item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getLinks

      public List<Link> getLinks()
    • setLinks

      public void setLinks(List<Link> value)
    • addLink

      public boolean addLink(Link item)
      Add a new Link item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeLink

      public boolean removeLink(Link item)
      Remove the first matching Link item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object