Attribute
- Type Parameters:
<X>
- The represented type that contains the attribute<Y>
- The type of the represented attribute
Represents an attribute of a Java type.
- Since:
- JPA 2.0
Public Methods
ManagedType<X> getDeclaringType()
- Return:
- declaring type
- Since:
- JPA 2.0
Member getJavaMember()
- Return:
- corresponding
java.lang.reflect.Member
- Since:
- JPA 2.0
Class<Y> getJavaType()
- Return:
- Java type
- Since:
- JPA 2.0
String getName()
- Return:
- name
- Since:
- JPA 2.0
- Return:
- persistent attribute type
- Since:
- JPA 2.0
boolean isAssociation()
- Return:
- boolean indicating whether the attribute corresponds to an association
- Since:
- JPA 2.0
boolean isCollection()
- Return:
- boolean indicating whether the attribute is collection-valued
- Since:
- JPA 2.0