Example usage for javax.persistence.metamodel ListAttribute getName

List of usage examples for javax.persistence.metamodel ListAttribute getName

Introduction

In this page you can find the example usage for javax.persistence.metamodel ListAttribute getName.

Prototype

String getName();

Source Link

Document

Return the name of the attribute.

Usage

From source file:org.batoo.jpa.core.impl.criteria.join.AbstractFrom.java

/**
 * {@inheritDoc}/*from  w  w w . j a v  a 2 s  .  co m*/
 * 
 */
@Override
@SuppressWarnings("unchecked")
public <Y> ListJoinImpl<X, Y> join(ListAttribute<? super X, Y> list, JoinType jt) {
    return (ListJoinImpl<X, Y>) this.join(list.getName(), jt);
}