slib.sglib.model.impl.graph.elements
Class Edge

java.lang.Object
  extended by slib.sglib.model.impl.graph.elements.Edge
All Implemented Interfaces:
slib.sglib.model.graph.elements.E

public class Edge
extends Object
implements slib.sglib.model.graph.elements.E

Implementation of the E interface.

Author:
Harispe Sébastien
See Also:
E

Constructor Summary
Edge(org.openrdf.model.URI source, org.openrdf.model.URI predicate, org.openrdf.model.URI target)
          Create an edge considering the given arguments.
 
Method Summary
 boolean equals(Object obj)
           
 org.openrdf.model.URI getSource()
           
 org.openrdf.model.URI getTarget()
           
 org.openrdf.model.URI getURI()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Edge

public Edge(org.openrdf.model.URI source,
            org.openrdf.model.URI predicate,
            org.openrdf.model.URI target)
Create an edge considering the given arguments.

Parameters:
source - the source of the edge, must not be null
predicate - the predicate (type) of the edge, must not be null
target - the target of the edge, must not be null
Method Detail

getSource

public org.openrdf.model.URI getSource()
Specified by:
getSource in interface slib.sglib.model.graph.elements.E

getTarget

public org.openrdf.model.URI getTarget()
Specified by:
getTarget in interface slib.sglib.model.graph.elements.E

getURI

public org.openrdf.model.URI getURI()
Specified by:
getURI in interface slib.sglib.model.graph.elements.E

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.