net.ontopia.topicmaps.query.impl.utils
Class BindingContext
java.lang.Object
net.ontopia.topicmaps.query.impl.utils.BindingContext
public class BindingContext
- extends Object
INTERNAL.
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)
|
typecheck
protected boolean typecheck
vtypes
protected Map vtypes
vtypetheory
protected Map vtypetheory
ptypes
protected Map ptypes
ptypetheory
protected Map ptypetheory
BindingContext
public BindingContext(boolean typecheck)
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.