|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.illinois.cs.cogcomp.lbj.coref.ir.relations.Relation
public class Relation
Represents a relation between entities, appearing in a document.
Field Summary | |
---|---|
private RelationEntityArgument |
m_a1
|
private RelationEntityArgument |
m_a2
|
private java.lang.String |
m_id
|
private RelationMention |
m_mention
|
private java.lang.String |
m_subType
|
private java.lang.String |
m_type
|
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
Relation(java.lang.String id,
java.lang.String type,
java.lang.String subType,
RelationEntityArgument entArg1,
RelationEntityArgument entArg2,
RelationMention m)
Constructs a relation. |
Method Summary | |
---|---|
RelationEntityArgument |
getA1()
Gets the first entity argument. |
RelationEntityArgument |
getA2()
Gets the second relation argument. |
java.lang.String |
getID()
Gets the relation ID. |
RelationMention |
getMention()
Gets the relation mention. |
static long |
getSerialVersionUID()
Gets the serialization version UID. |
java.lang.String |
getSubtype()
Gets the relation subtype. |
java.lang.String |
getType()
Gets the relation type. |
java.lang.String |
toString()
Constructs a string representation of this relation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private java.lang.String m_id
private java.lang.String m_type
private java.lang.String m_subType
private RelationEntityArgument m_a1
private RelationEntityArgument m_a2
private RelationMention m_mention
Constructor Detail |
---|
public Relation(java.lang.String id, java.lang.String type, java.lang.String subType, RelationEntityArgument entArg1, RelationEntityArgument entArg2, RelationMention m)
id
- The relation ID.type
- The relation type.subType
- The relation subtype.entArg1
- The first argument of the relation, representing an entity.entArg2
- The second argument of the relation, representing an entity.m
- The relation mention.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public static long getSerialVersionUID()
public java.lang.String getID()
public java.lang.String getType()
public java.lang.String getSubtype()
public RelationMention getMention()
public RelationEntityArgument getA1()
public RelationEntityArgument getA2()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |