edu.lehigh.swat.obione
Class LAVMapView

java.lang.Object
  extended by edu.lehigh.swat.obione.Map
      extended by edu.lehigh.swat.obione.LAVMapView
Direct Known Subclasses:
SourceView

public class LAVMapView
extends Map

Models a GAV peer map

Author:
abirqasem

Field Summary
private  java.util.Vector<MapAtom> body
           
private  MapAtom head
           
 
Fields inherited from class edu.lehigh.swat.obione.Map
sourceOnt, targetOnt
 
Constructor Summary
LAVMapView(MapAtom head, java.util.Vector<MapAtom> body)
          A LAVMapView in our system is head and list of body.
 
Method Summary
 java.util.Vector<MapAtom> getBody()
           
 MapAtom getHead()
           
 org.semanticweb.kaon2.api.rules.Rule getRule()
           
 java.lang.String getSourceOnt()
           
 java.lang.String getTargetOnt()
           
 java.util.List<org.semanticweb.kaon2.api.rules.Variable> getVariables()
          Returns the variables of map
static void main(java.lang.String[] args)
          Test method
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

body

private java.util.Vector<MapAtom> body

head

private MapAtom head
Constructor Detail

LAVMapView

public LAVMapView(MapAtom head,
                  java.util.Vector<MapAtom> body)
A LAVMapView in our system is head and list of body. Reformulator attempts to match a goal node's (or its sub predicate's) atom with any of the atoms in the body of a LAVMapView

Method Detail

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 -