Class BindingContext
- java.lang.Object
-
- net.ontopia.topicmaps.query.impl.utils.BindingContext
-
public class BindingContext extends Object
INTERNAL.
-
-
Field Summary
Fields Modifier and Type Field Description protected Map
ptypes
protected Map
ptypetheory
protected boolean
typecheck
protected Map
vtypes
protected Map
vtypetheory
-
Constructor Summary
Constructors Constructor Description BindingContext(boolean typecheck)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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)
-
mergeAssymetric
public void mergeAssymetric(BindingContext bc)
-
mergeTypeMapsAssymetric
protected void mergeTypeMapsAssymetric(Map map1, Map map2, Map theory1, Map theory2)
-
-