Package gov.nist.secauto.oscal.lib.model
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 Summary
ConstructorDescriptionAuthorizedPrivilege
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addFunctionPerformed
(String item) Add a newString
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
gov.nist.secauto.metaschema.core.model.IMetaschemaData
gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine
getTitle()
boolean
Remove the first matchingString
item from the underlying collection.void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
setFunctionsPerformed
(List<String> value) void
setTitle
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) toString()
-
Constructor Details
-
AuthorizedPrivilege
public AuthorizedPrivilege() -
AuthorizedPrivilege
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getFunctionsPerformed
-
setFunctionsPerformed
-
addFunctionPerformed
Add a newString
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeFunctionPerformed
Remove the first matchingString
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-