slib.sglib.model.impl.graph.elements
Class Edge
java.lang.Object
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. |
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 nullpredicate
- the predicate (type) of the edge, must not be nulltarget
- the target of the edge, must not be null
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.