fun <T : Node> generateOrders(type: KClass<T>, additionalOrderBeans: Map<String, OrderPart<*>>, nodeDefinitionCollection: NodeDefinitionCollection, includeComplex: Boolean = true): Map<String, OrderPart<T>>

Generates a map from order field name (enum casing) to OrderPart. The OrderParts are detected based on the OrderProperty annotation.

Return

a map from order field enum name to OrderPart

Parameters

type

the class of T

additionalOrderBeans

lookup for additional order parts

Type Parameters

T

the type of Node for which the OrderParts should be generated