List of usage examples for javax.persistence.metamodel CollectionAttribute getName
String getName();
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); }