T - I - public class FunctionModelImpl<T> extends Object implements FunctionModel<T>
| Constructor and Description |
|---|
FunctionModelImpl(org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> typeHierarchyProvider) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getIdsByName(String name) |
Map<String,String> |
getInverses() |
String |
getNameById(String id) |
Collection<CandidateMethod<T>> |
lookup(Collection<MethodEntry<T>> candidates,
List<T> argTypes) |
MethodEntry<T> |
lookupById(String id) |
Collection<MethodEntry<T>> |
lookupByName(String name) |
Collection<CandidateMethod<T>> |
lookupByName(String functionName,
List<T> argTypes) |
CandidateMethod<T> |
lookupCoercion(T argType,
T targetType) |
void |
lookupCoercionRec(T argType,
T targetType,
int depth,
Set<CandidateMethod<T>> result) |
Set<CandidateMethod<T>> |
lookupCoercions(T argType,
T targetType) |
static void |
main(String[] args) |
void |
registerCoercion(String id,
String name,
MethodSignature<T> signature) |
void |
registerFunction(String id,
String name,
MethodSignature<T> signature) |
public FunctionModelImpl(org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> typeHierarchyProvider)
public Map<String,String> getInverses()
getInverses in interface FunctionModel<T>public String getNameById(String id)
getNameById in interface FunctionModel<T>public Collection<String> getIdsByName(String name)
getIdsByName in interface FunctionModel<T>public static void main(String[] args) throws IOException
IOExceptionpublic void lookupCoercionRec(T argType, T targetType, int depth, Set<CandidateMethod<T>> result)
public Set<CandidateMethod<T>> lookupCoercions(T argType, T targetType)
public CandidateMethod<T> lookupCoercion(T argType, T targetType)
public void registerFunction(String id, String name, MethodSignature<T> signature)
registerFunction in interface FunctionModel<T>public void registerCoercion(String id, String name, MethodSignature<T> signature)
registerCoercion in interface FunctionModel<T>public MethodEntry<T> lookupById(String id)
lookupById in interface FunctionModel<T>public Collection<MethodEntry<T>> lookupByName(String name)
public Collection<CandidateMethod<T>> lookupByName(String functionName, List<T> argTypes)
lookupByName in interface FunctionModel<T>public Collection<CandidateMethod<T>> lookup(Collection<MethodEntry<T>> candidates, List<T> argTypes)
lookup in interface FunctionModel<T>Copyright © 2013. All Rights Reserved.