uk.ac.essex.malexa.nlp.dp.GuiTAR
Class Property

java.lang.Object
  extended byuk.ac.essex.malexa.nlp.dp.GuiTAR.Property

public class Property
extends Object

A class that encapsulates the general functionality of a Property (of a Discourse Entity).

Version:
1.1
Author:
Mijail A. Kabadjov

Field Summary
private  DiscourseEntity argument
           
static byte ATTRIBUTE
           
private  Sense predicate
           
static byte RELATION
           
private  byte type
           
static byte TYPE
           
 
Constructor Summary
Property(byte tp, Sense pred)
           
Property(Sense pred, DiscourseEntity arg)
           
 
Method Summary
 boolean equals(Object o)
           
 DiscourseEntity getArgument()
           
 Sense getPredicate()
           
 byte getType()
           
 int hashCode()
          It seems that this method has to be overriden as well, in order for the the set framework to work
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final byte TYPE
See Also:
Constant Field Values

ATTRIBUTE

public static final byte ATTRIBUTE
See Also:
Constant Field Values

RELATION

public static final byte RELATION
See Also:
Constant Field Values

type

private byte type

predicate

private Sense predicate

argument

private DiscourseEntity argument
Constructor Detail

Property

public Property(byte tp,
                Sense pred)

Property

public Property(Sense pred,
                DiscourseEntity arg)
Method Detail

getType

public byte getType()

getPredicate

public Sense getPredicate()

getArgument

public DiscourseEntity getArgument()

equals

public boolean equals(Object o)

hashCode

public int hashCode()
It seems that this method has to be overriden as well, in order for the the set framework to work


toString

public String toString()