Class QueryKeyImpl

  • All Implemented Interfaces:
    QueryKey

    public final class QueryKeyImpl
    extends Object
    implements QueryKey
    At the moment, some generated methods use QueryKey.getTemplateNode().getNodeId() to identify methods, while others need getQueryNodeId(). Since ReflectiveQueryProvider gone (which could not live without #getQueryNodeId() as it's the identity to derive method name from in most cases), it seems I can implement equals/hashCode here to allow code like "myGeneratedField.contains(queryKey)" in QG (to replace "string id = queryKey.getTemplateNode().getNodeId().toString()) FIXME equals/hashCode and not exposure of internal structure in generated templates!
    Since:
    3.4