Class TupleElementImpl<E>

java.lang.Object
org.hibernate.sql.results.internal.TupleElementImpl<E>
All Implemented Interfaces:
TupleElement<E>

public class TupleElementImpl<E> extends Object implements TupleElement<E>
Implementation of the JPA TupleElement contract
Author:
Steve Ebersole
  • Constructor Details

    • TupleElementImpl

      public TupleElementImpl(Class<? extends E> javaType, String alias)
  • Method Details

    • getJavaType

      public Class<? extends E> getJavaType()
      Description copied from interface: TupleElement
      Return the Java type of the tuple element.
      Specified by:
      getJavaType in interface TupleElement<E>
      Returns:
      the Java type of the tuple element
    • getAlias

      public String getAlias()
      Description copied from interface: TupleElement
      Return the alias assigned to the tuple element or null, if no alias has been assigned.
      Specified by:
      getAlias in interface TupleElement<E>
      Returns:
      alias