Class AuthorizedPrivilege

java.lang.Object
gov.nist.secauto.oscal.lib.model.AuthorizedPrivilege
All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject

@MetaschemaAssembly(formalName="Privilege", description="Identifies a specific system privilege held by the user, along with an associated description and/or rationale for the privilege.", name="authorized-privilege", moduleClass=OscalImplementationCommonModule.class) public class AuthorizedPrivilege extends Object implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies a specific system privilege held by the user, along with an associated description and/or rationale for the privilege.
  • Constructor Details

  • Method Details

    • getMetaschemaData

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

      public gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine getTitle()
    • setTitle

      public void setTitle(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value)
    • getDescription

      public gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline getDescription()
    • setDescription

      public void setDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value)
    • getFunctionsPerformed

    • setFunctionsPerformed

      public void setFunctionsPerformed(List<String> value)
    • addFunctionPerformed

      public boolean addFunctionPerformed(String item)
      Add a new String item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeFunctionPerformed

      public boolean removeFunctionPerformed(String item)
      Remove the first matching String 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