Package org.schemastore.json.sarif.x210
Class ToolComponent
java.lang.Object
org.schemastore.json.sarif.x210.ToolComponent
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(name="toolComponent",
moduleClass=SarifModule.class)
public class ToolComponent
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addRule
(ReportingDescriptor item) Add a newReportingDescriptor
item to the underlying collection.getGuid()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getName()
getRules()
boolean
Remove the first matchingReportingDescriptor
item from the underlying collection.void
void
setInformationUri
(URI value) void
void
setOrganization
(String value) void
setProduct
(String value) void
setRules
(List<ReportingDescriptor> value) void
setSemanticVersion
(String value) void
setVersion
(String value) toString()
-
Constructor Details
-
ToolComponent
public ToolComponent() -
ToolComponent
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getGuid
-
setGuid
-
getName
-
setName
-
getOrganization
-
setOrganization
-
getProduct
-
setProduct
-
getVersion
-
setVersion
-
getSemanticVersion
-
setSemanticVersion
-
getInformationUri
-
setInformationUri
-
getRules
-
setRules
-
addRule
Add a newReportingDescriptor
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeRule
Remove the first matchingReportingDescriptor
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-