Package org.schemastore.json.sarif.x210
Class Region
java.lang.Object
org.schemastore.json.sarif.x210.Region
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Region",
description="A region within an artifact where a result was detected.",
name="region",
moduleClass=SarifModule.class,
valueConstraints=@ValueConstraints(expect=@Expect(level=ERROR,test="exists(startLine|charOffset|byteOffset)",message="At least a startLine, charOffset, or byteOffset must be provided.")))
public class Region
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A region within an artifact where a result was detected.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongov.nist.secauto.metaschema.core.model.IMetaschemaData
void
setByteLength
(BigInteger value) void
setByteOffset
(BigInteger value) void
setCharLength
(BigInteger value) void
setCharOffset
(BigInteger value) void
setEndColumn
(BigInteger value) void
setEndLine
(BigInteger value) void
setMessage
(Message value) void
setStartColumn
(BigInteger value) void
setStartLine
(BigInteger value) toString()
-
Constructor Details
-
Region
public Region() -
Region
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getStartLine
-
setStartLine
-
getStartColumn
-
setStartColumn
-
getEndLine
-
setEndLine
-
getEndColumn
-
setEndColumn
-
getCharOffset
-
setCharOffset
-
getCharLength
-
setCharLength
-
getByteOffset
-
setByteOffset
-
getByteLength
-
setByteLength
-
getMessage
-
setMessage
-
toString
-