javax.persistence.metamodel.Attribute - JPA interface
Represents an attribute of a Java type.
- Since:
- JPA 2.0
Return the managed type representing the type in which the attribute was declared.
Return the managed type representing the type in which the attribute was declared.
- Returns:
- declaring type
- Since:
- JPA 2.0
Return the java.lang.reflect.Member
for the represented attribute.
Return the java.lang.reflect.Member
for the represented attribute.
- Returns:
- corresponding
java.lang.reflect.Member
- Since:
- JPA 2.0
Return the Java type of the represented attribute.
Return the Java type of the represented attribute.
- Returns:
- Java type
- Since:
- JPA 2.0
Return the name of the attribute.
Return the name of the attribute.
- Returns:
- name
- Since:
- JPA 2.0
Return the persistent attribute type for the attribute.
Return the persistent attribute type for the attribute.
- Returns:
- persistent attribute type
- Since:
- JPA 2.0
Is the attribute an association.
Is the attribute an association.
- Returns:
- boolean indicating whether the attribute corresponds to an association
- Since:
- JPA 2.0
Is the attribute collection-valued (represents a Collection, Set, List, or Map).
Is the attribute collection-valued (represents a Collection, Set, List, or Map).
- Returns:
- boolean indicating whether the attribute is collection-valued
- Since:
- JPA 2.0