Package gov.nist.secauto.oscal.lib.model
Class AuthorizedPrivilege
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.AuthorizedPrivilege
-
@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", metaschema=OscalImplementationCommonMetaschema.class) public class AuthorizedPrivilege extends Object
Identifies a specific system privilege held by the user, along with an associated description and/or rationale for the privilege.
-
-
Constructor Summary
Constructors Constructor Description AuthorizedPrivilege()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addFunctionPerformed(String item)
Add a newString
item to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getDescription()
List<String>
getFunctionsPerformed()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine
getTitle()
boolean
removeFunctionPerformed(String item)
Remove the first matchingString
item from the underlying collection.void
setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setFunctionsPerformed(List<String> value)
void
setTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
String
toString()
-
-
-
Constructor Detail
-
AuthorizedPrivilege
public AuthorizedPrivilege()
-
-
Method Detail
-
getTitle
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine getTitle()
-
setTitle
public void setTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
getFunctionsPerformed
public List<String> getFunctionsPerformed()
-
setFunctionsPerformed
public void setFunctionsPerformed(List<String> value)
-
addFunctionPerformed
public boolean addFunctionPerformed(String item)
Add a newString
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeFunctionPerformed
public boolean removeFunctionPerformed(String item)
Remove the first matchingString
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-