Package gov.nist.secauto.oscal.lib.model
Class SelectSubjectById
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.SelectSubjectById
-
@MetaschemaAssembly(formalName="Select Assessment Subject", description="Identifies a set of assessment subjects to include/exclude by UUID.", name="select-subject-by-id", metaschema=OscalAssessmentCommonMetaschema.class) public class SelectSubjectById extends ObjectIdentifies a set of assessment subjects to include/exclude by UUID.
-
-
Constructor Summary
Constructors Constructor Description SelectSubjectById()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.List<Link>getLinks()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()UUIDgetSubjectUuid()StringgetType()booleanremoveLink(Link item)Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item)Remove the first matchingPropertyitem from the underlying collection.voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetSubjectUuid(UUID value)voidsetType(String value)StringtoString()
-
-
-
Constructor Detail
-
SelectSubjectById
public SelectSubjectById()
-
-
Method Detail
-
getSubjectUuid
public UUID getSubjectUuid()
-
setSubjectUuid
public void setSubjectUuid(UUID value)
-
addProp
public boolean addProp(Property item)
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addLink
public boolean addLink(Link item)
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getRemarks()
-
setRemarks
public void setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-