edu.colby.cs.JeSS.util
Class Location

java.lang.Object
  extended byedu.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


Field Summary
private  int charEnd
           
private  int charStart
           
private  org.eclipse.core.resources.IFile file
           
private  java.lang.String key
           
private  int lineNumber
           
 
Constructor Summary
Location()
           
 
Method Summary
 int getCharEnd()
           
 int getCharStart()
           
 org.eclipse.core.resources.IFile getFile()
           
 java.lang.String getKey()
           
 int getLineNumber()
           
 void setCharEnd(int charEnd)
           
 void setCharStart(int charStart)
           
 void setFile(org.eclipse.core.resources.IFile file)
           
 void setKey(java.lang.String key)
           
 void setLineNumber(int lineNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Location

public Location()
Method Detail

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.