Package org.schemastore.json.sarif.x210
Class Location
java.lang.Object
org.schemastore.json.sarif.x210.Location
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Location",
description="A location within a programming artifact.",
name="location",
moduleClass=SarifModule.class,
valueConstraints=@ValueConstraints(expect=@Expect(level=ERROR,test="@id >= -1",message="The id \'{ . }\' is not greater than or equal to \'-1\'.")))
public class Location
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A location within a programming artifact.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLogicalLocationitem to the underlying collection.getId()gov.nist.secauto.metaschema.core.model.IMetaschemaDatabooleanRemove the first matchingLogicalLocationitem from the underlying collection.voidsetId(BigInteger value) voidsetLogicalLocations(List<LogicalLocation> value) voidsetMessage(Message value) voidtoString()
-
Constructor Details
-
Location
public Location() -
Location
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getPhysicalLocation
-
setPhysicalLocation
-
getLogicalLocations
-
setLogicalLocations
-
addLogicalLocation
Add a newLogicalLocationitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLogicalLocation
Remove the first matchingLogicalLocationitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getMessage
-
setMessage
-
toString
-