Example usage for javax.persistence.metamodel MapAttribute getName

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

Introduction

In this page you can find the example usage for javax.persistence.metamodel MapAttribute 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  ava2 s . c o  m
 * 
 */
@Override
@SuppressWarnings("unchecked")
public <K, V> MapJoinImpl<X, K, V> join(MapAttribute<? super X, K, V> map, JoinType jt) {
    return (MapJoinImpl<X, K, V>) this.join(map.getName(), jt);
}