edu.washington.cs.knowitall.ontology
Class OntologicalForm

java.lang.Object
  extended by edu.washington.cs.knowitall.ontology.OntologicalForm
All Implemented Interfaces:
Serializable

public class OntologicalForm
extends Object
implements Serializable

A representation of a class of ontological relation.

Author:
schmmd
See Also:
Serialized Form

Field Summary
 edu.washington.cs.knowitall.commonlib.ArraySet<OntologicalFormArgument> arguments
           
 String name
           
 
Constructor Summary
OntologicalForm(String name, Collection<OntologicalFormArgument> arguments)
           
OntologicalForm(String name, Iterable<OntologicalFormArgument> arguments)
           
OntologicalForm(String name, OntologicalFormArgument[] arguments)
           
 
Method Summary
 boolean equals(Object other)
           
static OntologicalForm fromXmlElement(org.jdom.Element e)
           
 int hashCode()
           
 OntologicalRelation instance(RelationExtraction extraction)
          Create an instance of this class by applying the argument constraints to the supplied extraction.
 OntologicalForm simplify()
           
 String toMultilineString()
           
 String toString()
           
 String toString(com.google.common.base.Joiner joiner)
           
 org.jdom.Element toXmlElement()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public final String name

arguments

public final edu.washington.cs.knowitall.commonlib.ArraySet<OntologicalFormArgument> arguments
Constructor Detail

OntologicalForm

public OntologicalForm(String name,
                       Collection<OntologicalFormArgument> arguments)

OntologicalForm

public OntologicalForm(String name,
                       OntologicalFormArgument[] arguments)

OntologicalForm

public OntologicalForm(String name,
                       Iterable<OntologicalFormArgument> arguments)
Method Detail

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(com.google.common.base.Joiner joiner)

toMultilineString

public String toMultilineString()

simplify

public OntologicalForm simplify()

instance

public OntologicalRelation instance(RelationExtraction extraction)
Create an instance of this class by applying the argument constraints to the supplied extraction.

Parameters:
extraction -
Returns:

fromXmlElement

public static OntologicalForm fromXmlElement(org.jdom.Element e)

toXmlElement

public org.jdom.Element toXmlElement()


Copyright © 2011 University of Washington CSE. All Rights Reserved.