owltools.graph.shunt
Class OWLShuntNode

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

public class OWLShuntNode
extends Object

A node reduced to nothing; for use with OWLShuntGraph. See: OWLShuntGraph and OWLShuntEdge.


Field Summary
 String id
           
 String label
           
 String metadata
           
 String type
           
 
Constructor Summary
OWLShuntNode(OWLGraphWrapper g, org.semanticweb.owlapi.model.OWLObject o)
           
OWLShuntNode(String id)
           
OWLShuntNode(String id, String label)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
           
 String getLabel()
           
 String getMetadata()
           
 String getType()
           
 int hashCode()
           
 void setId(String id)
           
 void setLabel(String label)
           
 void setMetadata(String metadata)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public String id

type

public String type

label

public String label

metadata

public String metadata
Constructor Detail

OWLShuntNode

public OWLShuntNode(String id)
Parameters:
id -

OWLShuntNode

public OWLShuntNode(String id,
                    String label)
Parameters:
id -
label -

OWLShuntNode

public OWLShuntNode(OWLGraphWrapper g,
                    org.semanticweb.owlapi.model.OWLObject o)
Parameters:
g -
o -
Method Detail

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set

getType

public String getType()
Returns:
the type

setType

public void setType(String type)
Parameters:
type - the type to set

getLabel

public String getLabel()
Returns:
the label

setLabel

public void setLabel(String label)
Parameters:
label - the label to set

getMetadata

public String getMetadata()
Returns:
the metadata

setMetadata

public void setMetadata(String metadata)
Parameters:
metadata - the metadata to set

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.