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 TypeMethodDescriptionboolean
Add a newLogicalLocation
item to the underlying collection.getId()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
Remove the first matchingLogicalLocation
item from the underlying collection.void
setId
(BigInteger value) void
setLogicalLocations
(List<LogicalLocation> value) void
setMessage
(Message value) void
toString()
-
Constructor Details
-
Location
public Location() -
Location
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getPhysicalLocation
-
setPhysicalLocation
-
getLogicalLocations
-
setLogicalLocations
-
addLogicalLocation
Add a newLogicalLocation
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLogicalLocation
Remove the first matchingLogicalLocation
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getMessage
-
setMessage
-
toString
-