Class SimplePathReference

  • All Implemented Interfaces:
    com.blazebit.persistence.parser.expression.PathReference, com.blazebit.persistence.Path

    public class SimplePathReference
    extends Object
    implements com.blazebit.persistence.parser.expression.PathReference, com.blazebit.persistence.Path
    Since:
    1.2.0
    Author:
    Christian Beikov
    • Constructor Detail

      • SimplePathReference

        public SimplePathReference​(JoinNode baseNode,
                                   String field,
                                   javax.persistence.metamodel.Type<?> type)
    • Method Detail

      • getBaseNode

        public com.blazebit.persistence.parser.expression.BaseNode getBaseNode()
        Specified by:
        getBaseNode in interface com.blazebit.persistence.parser.expression.PathReference
      • getField

        public String getField()
        Specified by:
        getField in interface com.blazebit.persistence.parser.expression.PathReference
      • getType

        public javax.persistence.metamodel.Type<?> getType()
        Specified by:
        getType in interface com.blazebit.persistence.Path
        Specified by:
        getType in interface com.blazebit.persistence.parser.expression.PathReference
      • getFrom

        public com.blazebit.persistence.From getFrom()
        Specified by:
        getFrom in interface com.blazebit.persistence.Path
      • getPath

        public String getPath()
        Specified by:
        getPath in interface com.blazebit.persistence.Path
      • getJavaType

        public Class<?> getJavaType()
        Specified by:
        getJavaType in interface com.blazebit.persistence.Path
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object