net.ontopia.topicmaps.query.impl.utils
Class BindingContext

java.lang.Object
  extended by net.ontopia.topicmaps.query.impl.utils.BindingContext

public class BindingContext
extends Object

INTERNAL.


Field Summary
protected  Map ptypes
           
protected  Map ptypetheory
           
protected  boolean typecheck
           
protected  Map vtypes
           
protected  Map vtypetheory
           
 
Constructor Summary
BindingContext(boolean typecheck)
           
 
Method Summary
 void addArgumentTypes(Object argument, Class[] types, PredicateIF predicate)
           
 boolean getCheckingTypes()
           
 Map getParameterTypes()
           
 Map getVariableTypes()
           
protected static Object[] intersect(Object[] array1, Object[] array2)
           
 void mergeAssymetric(BindingContext bc)
           
 void mergeIntersect(BindingContext bc)
           
protected  void mergeTypeMapsAssymetric(Map map1, Map map2, Map theory1, Map theory2)
           
protected  Map mergeTypeMapsIntersect(Map map1, Map map2, boolean variables)
           
protected  Map mergeTypeMapsUnion(Map map1, Map map2)
           
 void mergeUnion(BindingContext bc)
           
 String toString()
           
protected static Object[] union(Object[] array1, Object[] array2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

typecheck

protected boolean typecheck

vtypes

protected Map vtypes

vtypetheory

protected Map vtypetheory

ptypes

protected Map ptypes

ptypetheory

protected Map ptypetheory
Constructor Detail

BindingContext

public BindingContext(boolean typecheck)
Method Detail

getCheckingTypes

public boolean getCheckingTypes()

getVariableTypes

public Map getVariableTypes()

getParameterTypes

public Map getParameterTypes()

addArgumentTypes

public void addArgumentTypes(Object argument,
                             Class[] types,
                             PredicateIF predicate)
                      throws InvalidQueryException
Throws:
InvalidQueryException

mergeIntersect

public void mergeIntersect(BindingContext bc)
                    throws InvalidQueryException
Throws:
InvalidQueryException

mergeTypeMapsIntersect

protected Map mergeTypeMapsIntersect(Map map1,
                                     Map map2,
                                     boolean variables)
                              throws InvalidQueryException
Throws:
InvalidQueryException

mergeUnion

public void mergeUnion(BindingContext bc)

mergeTypeMapsUnion

protected Map mergeTypeMapsUnion(Map map1,
                                 Map map2)

mergeAssymetric

public void mergeAssymetric(BindingContext bc)

mergeTypeMapsAssymetric

protected void mergeTypeMapsAssymetric(Map map1,
                                       Map map2,
                                       Map theory1,
                                       Map theory2)

intersect

protected static Object[] intersect(Object[] array1,
                                    Object[] array2)

union

protected static Object[] union(Object[] array1,
                                Object[] array2)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2012 Ontopia.