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 ObjectIdentifies 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 booleanaddFunctionPerformed(String item)Add a newStringitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()List<String>getFunctionsPerformed()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLinegetTitle()booleanremoveFunctionPerformed(String item)Remove the first matchingStringitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetFunctionsPerformed(List<String> value)voidsetTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)StringtoString()
-
-
-
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 newStringitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeFunctionPerformed
public boolean removeFunctionPerformed(String item)
Remove the first matchingStringitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-