biz.hammurapi.legacy.review
Class SimpleSourceMarker

java.lang.Object
  extended by biz.hammurapi.legacy.review.SimpleSourceMarker
All Implemented Interfaces:
Signed, SourceMarker, java.io.Serializable, java.lang.Comparable

public class SimpleSourceMarker
extends java.lang.Object
implements SourceMarker, Signed, java.lang.Comparable, java.io.Serializable

Version:
$Revision: 1.3 $
Author:
Pavel Vlasov
See Also:
Serialized Form

Constructor Summary
SimpleSourceMarker()
           
SimpleSourceMarker(int column, int line, java.lang.String sourceURL, java.lang.Integer id)
           
SimpleSourceMarker(SourceMarker sourceMarker)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 int getColumn()
           
 int getLine()
           
 java.lang.String getSignature()
           
 java.lang.Integer getSourceId()
          Crude hack, but can't come up with anything better at the time.
 java.lang.String getSourceURL()
           
 void setColumn(int column)
           
 void setLine(int line)
           
 void setSignature(java.lang.String signature)
           
 void setSourceId(java.lang.Integer id)
           
 void setSourceURL(java.lang.String sourceURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSourceMarker

public SimpleSourceMarker()

SimpleSourceMarker

public SimpleSourceMarker(int column,
                          int line,
                          java.lang.String sourceURL,
                          java.lang.Integer id)
Parameters:
column -
line -
sourceURL -

SimpleSourceMarker

public SimpleSourceMarker(SourceMarker sourceMarker)
Method Detail

getSourceId

public java.lang.Integer getSourceId()
Description copied from interface: SourceMarker
Crude hack, but can't come up with anything better at the time.

Specified by:
getSourceId in interface SourceMarker
Returns:
Returns the id.

setSourceId

public void setSourceId(java.lang.Integer id)
Parameters:
id - The id to set.

getColumn

public int getColumn()
Specified by:
getColumn in interface SourceMarker
Returns:
Returns the column.

setColumn

public void setColumn(int column)
Parameters:
column - The column to set.

getLine

public int getLine()
Specified by:
getLine in interface SourceMarker
Returns:
Returns the line.

setLine

public void setLine(int line)
Parameters:
line - The line to set.

getSourceURL

public java.lang.String getSourceURL()
Specified by:
getSourceURL in interface SourceMarker
Returns:
Returns the sourceURL.

setSourceURL

public void setSourceURL(java.lang.String sourceURL)
Parameters:
sourceURL - The sourceURL to set.

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

getSignature

public java.lang.String getSignature()
Specified by:
getSignature in interface Signed

setSignature

public void setSignature(java.lang.String signature)


Copyright © 2003 Hammurapi Group. All Rights Reserved.