JPA Method
in javax.persistence.metamodel.ManagedType

Attribute<?superX,?> getAttribute(
  String name
)


Return the attribute of the managed type that corresponds to the specified name.
Parameters:
name - the name of the represented attribute
Return:
attribute with given name
Throws:
IllegalArgumentException - if attribute of the given name is not present in the managed type
Since:
JPA 2.0