Example usage for javax.persistence.metamodel CollectionAttribute getName

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

Introduction

In this page you can find the example usage for javax.persistence.metamodel CollectionAttribute 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}//w w w.j ava  2s. com
 * 
 */
@Override
@SuppressWarnings("unchecked")
public <Y> CollectionJoinImpl<X, Y> join(CollectionAttribute<? super X, Y> collection, JoinType jt) {
    return (CollectionJoinImpl<X, Y>) this.join(collection.getName(), jt);
}