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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanaddRule(ReportingDescriptor item) Add a newReportingDescriptoritem to the underlying collection.getGuid()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetName()getRules()booleanRemove the first matchingReportingDescriptoritem from the underlying collection.voidvoidsetInformationUri(URI value) voidvoidsetOrganization(String value) voidsetProduct(String value) voidsetRules(List<ReportingDescriptor> value) voidsetSemanticVersion(String value) voidsetVersion(String value) toString() 
- 
Constructor Details
- 
ToolComponent
public ToolComponent() - 
ToolComponent
 
 - 
 - 
Method Details
- 
getMetaschemaData
- Specified by:
 getMetaschemaDatain 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 newReportingDescriptoritem to the underlying collection.- Parameters:
 item- the item to add- Returns:
 true
 - 
removeRule
Remove the first matchingReportingDescriptoritem from the underlying collection.- Parameters:
 item- the item to remove- Returns:
 trueif the item was removed orfalseotherwise
 - 
toString
 
 -