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 Mapptypesprotected Mapptypetheoryprotected booleantypecheckprotected Mapvtypesprotected Mapvtypetheory
-
Constructor Summary
Constructors Constructor Description BindingContext(boolean typecheck)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddArgumentTypes(Object argument, Class[] types, PredicateIF predicate)booleangetCheckingTypes()MapgetParameterTypes()MapgetVariableTypes()protected static Object[]intersect(Object[] array1, Object[] array2)voidmergeAssymetric(BindingContext bc)voidmergeIntersect(BindingContext bc)protected voidmergeTypeMapsAssymetric(Map map1, Map map2, Map theory1, Map theory2)protected MapmergeTypeMapsIntersect(Map map1, Map map2, boolean variables)protected MapmergeTypeMapsUnion(Map map1, Map map2)voidmergeUnion(BindingContext bc)StringtoString()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)
-
-