org.gcube.contentmanagement.lexicalmatcher.analysis.guesser.treeStructure.graph
Class RelationEdge

java.lang.Object
  extended by org.jgrapht.graph.DefaultEdge
      extended by org.jgrapht.graph.DefaultWeightedEdge
          extended by org.gcube.contentmanagement.lexicalmatcher.analysis.guesser.treeStructure.graph.RelationEdge
All Implemented Interfaces:
Serializable, Cloneable

public class RelationEdge
extends org.jgrapht.graph.DefaultWeightedEdge

See Also:
Serialized Form

Constructor Summary
RelationEdge(String name, long from, long to)
           
 
Method Summary
 String getCategoryFrom()
           
 String getCategoryTo()
           
 long getFrom()
           
 String getName()
           
 long getTo()
           
 BigInteger getWeigth()
           
static void main(String[] args)
           
 void setCategoryFrom(String categoryFrom)
           
 void setCategoryTo(String categoryTo)
           
 void setName(String name)
           
 void setWeigth(BigInteger Weight)
           
 String toString()
           
 
Methods inherited from class org.jgrapht.graph.DefaultWeightedEdge
getWeight
 
Methods inherited from class org.jgrapht.graph.DefaultEdge
getSource, getTarget
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelationEdge

public RelationEdge(String name,
                    long from,
                    long to)
Method Detail

main

public static void main(String[] args)
Parameters:
args -

getWeigth

public BigInteger getWeigth()

setWeigth

public void setWeigth(BigInteger Weight)

getTo

public long getTo()

getFrom

public long getFrom()

getName

public String getName()

setName

public void setName(String name)

toString

public String toString()
Overrides:
toString in class org.jgrapht.graph.DefaultEdge

setCategoryFrom

public void setCategoryFrom(String categoryFrom)

getCategoryFrom

public String getCategoryFrom()

setCategoryTo

public void setCategoryTo(String categoryTo)

getCategoryTo

public String getCategoryTo()


Copyright © 2012. All Rights Reserved.