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
ConstructorsConstructorDescriptionAuthorizedPrivilege(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddFunctionPerformed(String item) Add a newStringitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegov.nist.secauto.metaschema.core.model.IMetaschemaDatagov.nist.secauto.metaschema.core.datatype.markup.MarkupLinegetTitle()booleanRemove the first matchingStringitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidsetFunctionsPerformed(List<String> value) voidsetTitle(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) toString()
-
Constructor Details
-
AuthorizedPrivilege
public AuthorizedPrivilege() -
AuthorizedPrivilege
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getFunctionsPerformed
-
setFunctionsPerformed
-
addFunctionPerformed
Add a newStringitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeFunctionPerformed
Remove the first matchingStringitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-