edu.lehigh.swat.obione
Class GAVMapView
java.lang.Object
edu.lehigh.swat.obione.Map
edu.lehigh.swat.obione.GAVMapView
public class GAVMapView
- extends Map
Models a GAV peer map
- Author:
- abirqasem
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
head
private MapAtom head
body
private java.util.Vector<MapAtom> body
GAVMapView
public GAVMapView(MapAtom head,
java.util.Vector<MapAtom> body)
GAVMapView
public GAVMapView(org.semanticweb.kaon2.api.rules.Rule r)
- Constructs a GAVMapView from a horn rule
- Parameters:
r -
getSourceOnt
public java.lang.String getSourceOnt()
- Specified by:
getSourceOnt in class Map
getTargetOnt
public java.lang.String getTargetOnt()
- Specified by:
getTargetOnt in class Map
getBody
public java.util.Vector<MapAtom> getBody()
getHead
public MapAtom getHead()
getRule
public org.semanticweb.kaon2.api.rules.Rule getRule()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getVariables
public java.util.List<org.semanticweb.kaon2.api.rules.Variable> getVariables()
- Returns the variables of map
- Specified by:
getVariables in class Map
- Parameters:
m -
- Returns:
main
public static void main(java.lang.String[] args)
- Test method
- Parameters:
args -