edu.colby.cs.JeSS.util
Class Location
java.lang.Object
edu.colby.cs.JeSS.util.Location
- public class Location
- extends java.lang.Object
This class stores the information about a problem to be
used in marker creation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
private org.eclipse.core.resources.IFile file
key
private java.lang.String key
charStart
private int charStart
charEnd
private int charEnd
lineNumber
private int lineNumber
Location
public Location()
getLineNumber
public int getLineNumber()
- Returns:
- lineNumber - the line number of the problem.
setLineNumber
public void setLineNumber(int lineNumber)
- Parameters:
lineNumber
- The lineNumber to set.
getCharEnd
public int getCharEnd()
- Returns:
- charEnd - the last character of the problem in the file
setCharEnd
public void setCharEnd(int charEnd)
- Parameters:
charEnd
- The charEnd to set.
getCharStart
public int getCharStart()
- Returns:
- Returns the charStart.
setCharStart
public void setCharStart(int charStart)
- Parameters:
charStart
- The charStart to set.
getFile
public org.eclipse.core.resources.IFile getFile()
- Returns:
- Returns the file.
setFile
public void setFile(org.eclipse.core.resources.IFile file)
- Parameters:
file
- The file to set.
getKey
public java.lang.String getKey()
- Returns:
- Returns the key.
setKey
public void setKey(java.lang.String key)
- Parameters:
key
- The key to set.