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 Object
Identifies 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 boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.List<Link>
getLinks()
List<Property>
getProps()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getRemarks()
UUID
getSubjectUuid()
String
getType()
boolean
removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.boolean
removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.void
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setSubjectUuid(UUID value)
void
setType(String value)
String
toString()
-
-
-
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 newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
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)
-
-