java.lang.Object
de.grogra.xl.impl.base.CompiletimeModel
de.grogra.xl.impl.dom.CompiletimeModel
- All Implemented Interfaces:
CompiletimeModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the base type of nodes of this model.Returns the type of producers for right-hand sides of rules for this model.Type<?>
getWrapperTypeFor
(Type type) Return the type of wrappers for values of the given type.Methods inherited from class de.grogra.xl.impl.base.CompiletimeModel
getEdgeType, getEdgeTypeFor, getQueryStateType, getRuntimeName, getStandardEdgeFor, getWrapProperty, needsWrapperFor
-
Constructor Details
-
CompiletimeModel
public CompiletimeModel()
-
-
Method Details
-
getWrapperTypeFor
Description copied from interface:CompiletimeModel
Return the type of wrappers for values of the given type. This method is only invoked whenCompiletimeModel.needsWrapperFor(de.grogra.reflect.Type<?>)
returnstrue
.- Parameters:
type
- a value type- Returns:
- the corresponding wrapper type
-
getNodeType
Description copied from interface:CompiletimeModel
Specifies the base type of nodes of this model. This type is used where no specific type is available, e.g., for the node predicate "." and for the ends of standard edges.- Returns:
- base type of nodes
-
getProducerType
Description copied from interface:CompiletimeModel
Returns the type of producers for right-hand sides of rules for this model.- Returns:
- type of producers
-