edu.illinois.cs.cogcomp.lbj.coref.ir.relations
Class RelationMentionArgument

java.lang.Object
  extended by edu.illinois.cs.cogcomp.lbj.coref.ir.relations.RelationMentionArgument
All Implemented Interfaces:
java.io.Serializable

public class RelationMentionArgument
extends java.lang.Object
implements java.io.Serializable

Represents a relation mention argument.

Author:
Eric Bengtson
See Also:
Serialized Form

Field Summary
 int m_argNum
           
 Chunk m_extent
           
 java.lang.String m_id
           
private static long serialVersionUID
           
 
Constructor Summary
RelationMentionArgument(java.lang.String id, int argNum, Chunk extent)
          Constructs a relation mention argument.
 
Method Summary
 int getArgNum()
          Gets the argument number.
 Chunk getExtent()
          Gets the extent of the relation mention argument.
 java.lang.String getID()
          Gets the ID of the relation mention argument.
 java.lang.String toString()
          Gets a string representation of this relation mention argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

m_id

public java.lang.String m_id

m_argNum

public int m_argNum

m_extent

public Chunk m_extent
Constructor Detail

RelationMentionArgument

public RelationMentionArgument(java.lang.String id,
                               int argNum,
                               Chunk extent)
Constructs a relation mention argument.

Parameters:
id - The ID.
argNum - The argument number (1 or 2).
extent - The extent of the relation mention argument.
Method Detail

getID

public java.lang.String getID()
Gets the ID of the relation mention argument.

Returns:
The ID of the relation mention argument.

getArgNum

public int getArgNum()
Gets the argument number.

Returns:
The argument number (1 or 2).

getExtent

public Chunk getExtent()
Gets the extent of the relation mention argument.

Returns:
The extent of the relation mention argument.

toString

public java.lang.String toString()
Gets a string representation of this relation mention argument.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this relation mention argument.