Package gov.nist.secauto.oscal.lib.model
Class SelectSubjectById
java.lang.Object
gov.nist.secauto.oscal.lib.model.SelectSubjectById
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Select Assessment Subject",
description="Identifies a set of assessment subjects to include/exclude by UUID.",
name="select-subject-by-id",
moduleClass=OscalAssessmentCommonModule.class)
public class SelectSubjectById
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies a set of assessment subjects to include/exclude by UUID.
-
Constructor Summary
ConstructorsConstructorDescriptionSelectSubjectById(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.getLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetType()booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidvoidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidsetSubjectUuid(UUID value) voidtoString()
-
Constructor Details
-
SelectSubjectById
public SelectSubjectById() -
SelectSubjectById
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getSubjectUuid
-
setSubjectUuid
-
getType
-
setType
-
getProps
-
setProps
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLinks
-
setLinks
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
-
setRemarks
-
toString
-