public class Region
extends java.lang.Object
| Constructor and Description |
|---|
Region() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
java.lang.Object |
getAnyOf() |
java.lang.Integer |
getByteLength()
The length of the region in bytes.
|
java.lang.Integer |
getByteOffset()
The zero-based offset from the beginning of the artifact of the first byte in the region.
|
java.lang.Integer |
getCharLength()
The length of the region in characters.
|
java.lang.Integer |
getCharOffset()
The zero-based offset from the beginning of the artifact of the first character in the region.
|
java.lang.Integer |
getEndColumn()
The column number of the character following the end of the region.
|
java.lang.Integer |
getEndLine()
The line number of the last character in the region.
|
Message |
getMessage()
Encapsulates a message intended to be read by the end user.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
ArtifactContent |
getSnippet()
Represents the contents of an artifact.
|
java.lang.String |
getSourceLanguage()
Specifies the source language, if any, of the portion of the artifact specified by the region object.
|
java.lang.Integer |
getStartColumn()
The column number of the first character in the region.
|
java.lang.Integer |
getStartLine()
The line number of the first character in the region.
|
int |
hashCode() |
void |
setAnyOf(java.lang.Object anyOf) |
void |
setByteLength(java.lang.Integer byteLength)
The length of the region in bytes.
|
void |
setByteOffset(java.lang.Integer byteOffset)
The zero-based offset from the beginning of the artifact of the first byte in the region.
|
void |
setCharLength(java.lang.Integer charLength)
The length of the region in characters.
|
void |
setCharOffset(java.lang.Integer charOffset)
The zero-based offset from the beginning of the artifact of the first character in the region.
|
void |
setEndColumn(java.lang.Integer endColumn)
The column number of the character following the end of the region.
|
void |
setEndLine(java.lang.Integer endLine)
The line number of the last character in the region.
|
void |
setMessage(Message message)
Encapsulates a message intended to be read by the end user.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setSnippet(ArtifactContent snippet)
Represents the contents of an artifact.
|
void |
setSourceLanguage(java.lang.String sourceLanguage)
Specifies the source language, if any, of the portion of the artifact specified by the region object.
|
void |
setStartColumn(java.lang.Integer startColumn)
The column number of the first character in the region.
|
void |
setStartLine(java.lang.Integer startLine)
The line number of the first character in the region.
|
java.lang.String |
toString() |
public java.lang.Integer getStartLine()
public void setStartLine(java.lang.Integer startLine)
public java.lang.Integer getStartColumn()
public void setStartColumn(java.lang.Integer startColumn)
public java.lang.Integer getEndLine()
public void setEndLine(java.lang.Integer endLine)
public java.lang.Integer getEndColumn()
public void setEndColumn(java.lang.Integer endColumn)
public java.lang.Integer getCharOffset()
public void setCharOffset(java.lang.Integer charOffset)
public java.lang.Integer getCharLength()
public void setCharLength(java.lang.Integer charLength)
public java.lang.Integer getByteOffset()
public void setByteOffset(java.lang.Integer byteOffset)
public java.lang.Integer getByteLength()
public void setByteLength(java.lang.Integer byteLength)
public ArtifactContent getSnippet()
public void setSnippet(ArtifactContent snippet)
public Message getMessage()
public void setMessage(Message message)
public java.lang.String getSourceLanguage()
public void setSourceLanguage(java.lang.String sourceLanguage)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public java.lang.Object getAnyOf()
public void setAnyOf(java.lang.Object anyOf)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object