owltools.graph.shunt
Class OWLShuntEdge

java.lang.Object
  extended by owltools.graph.shunt.OWLShuntEdge

public class OWLShuntEdge
extends Object

An edge reduced to nothing; for use with OWLShuntGraph. TODO: As we are just testing/doing POC right now, the predicate is being ignored (and until I figure out how to squeeze it out of OWL--see Chris). See: OWLShuntGraph and OWLShuntNode.


Field Summary
 String object_id
           
 String predicate_id
           
 String subject_id
           
 
Constructor Summary
OWLShuntEdge(String subject_id, String object_id)
           
OWLShuntEdge(String subject_id, String object_id, String predicate_id)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subject_id

public String subject_id

object_id

public String object_id

predicate_id

public String predicate_id
Constructor Detail

OWLShuntEdge

public OWLShuntEdge(String subject_id,
                    String object_id)
Parameters:
subject_id -
object_id -

OWLShuntEdge

public OWLShuntEdge(String subject_id,
                    String object_id,
                    String predicate_id)
Parameters:
subject_id -
object_id -
predicate_id -
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010-2012. All Rights Reserved.