Class AssessmentSubject
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.AssessmentSubjectinstance with no metadata.AssessmentSubject(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.AssessmentSubjectinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newSelectSubjectByIditem to the underlying collection.booleanAdd a newSelectSubjectByIditem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Include Subjects Description".Get the "Select Assessment Subject".Get the "Include All".Get the "Select Assessment Subject".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".getType()Get the "Subject Type".booleanRemove the first matchingSelectSubjectByIditem from the underlying collection.booleanRemove the first matchingSelectSubjectByIditem from the underlying collection.booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Include Subjects Description".voidsetExcludeSubjects(List<SelectSubjectById> value) Set the "Select Assessment Subject".voidsetIncludeAll(IncludeAll value) Set the "Include All".voidsetIncludeSubjects(List<SelectSubjectById> value) Set the "Select Assessment Subject".voidSet the "Link".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidSet the "Subject Type".toString()
-
Constructor Details
-
AssessmentSubject
public AssessmentSubject()Constructs a newdev.metaschema.oscal.lib.model.AssessmentSubjectinstance with no metadata. -
AssessmentSubject
Constructs a newdev.metaschema.oscal.lib.model.AssessmentSubjectinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getType
Get the "Subject Type".Indicates the type of assessment subject, such as a component, inventory, item, location, or party represented by this selection statement.
- Returns:
- the type value
-
setType
Set the "Subject Type".Indicates the type of assessment subject, such as a component, inventory, item, location, or party represented by this selection statement.
- Parameters:
value- the type value to set
-
getDescription
Get the "Include Subjects Description".A human-readable description of the collection of subjects being included in this assessment.
- Returns:
- the description value, or
nullif not set
-
setDescription
Set the "Include Subjects Description".A human-readable description of the collection of subjects being included in this assessment.
- Parameters:
value- the description value to set, ornullto clear
-
getProps
Get the "Property".An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.
- Returns:
- the prop value
-
setProps
Set the "Property".An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.
- Parameters:
value- the prop value to set
-
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
Get the "Link".A reference to a local or remote resource, that has a specific relation to the containing object.
- Returns:
- the link value
-
setLinks
Set the "Link".A reference to a local or remote resource, that has a specific relation to the containing object.
- Parameters:
value- the link value to set
-
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
-
getIncludeAll
Get the "Include All".Include all controls from the imported catalog or profile resources.
- Returns:
- the include-all value, or
nullif not set
-
setIncludeAll
Set the "Include All".Include all controls from the imported catalog or profile resources.
- Parameters:
value- the include-all value to set, ornullto clear
-
getIncludeSubjects
Get the "Select Assessment Subject".Identifies a set of assessment subjects to include/exclude by UUID.
- Returns:
- the include-subject value
-
setIncludeSubjects
Set the "Select Assessment Subject".Identifies a set of assessment subjects to include/exclude by UUID.
- Parameters:
value- the include-subject value to set
-
addIncludeSubject
Add a newSelectSubjectByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeSubject
Remove the first matchingSelectSubjectByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeSubjects
Get the "Select Assessment Subject".Identifies a set of assessment subjects to include/exclude by UUID.
- Returns:
- the exclude-subject value
-
setExcludeSubjects
Set the "Select Assessment Subject".Identifies a set of assessment subjects to include/exclude by UUID.
- Parameters:
value- the exclude-subject value to set
-
addExcludeSubject
Add a newSelectSubjectByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeSubject
Remove the first matchingSelectSubjectByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
Get the "Remarks".Additional commentary about the containing object.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the "Remarks".Additional commentary about the containing object.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-