Jakarta Persistence (JPA) Interface
jakarta.persistence.metamodel.Attribute<X,Y>
- Type Parameters:
-
<Y>- The type of the represented attribute -
<X>- The represented type that contains the attribute
Represents an attribute of a Java type.
- Since:
- Jakarta Persistence (JPA) 2.0
Public Instance Methods
- Returns:
- declaring type.
- Since:
- Jakarta Persistence (JPA) 1.0
Member
getJavaMember
()
- Returns:
-
corresponding
Member.
- Since:
- Jakarta Persistence (JPA) 1.0
Class<Y>
getJavaType
()
- Returns:
- Java type.
- Since:
- Jakarta Persistence (JPA) 1.0
String
getName
()
- Returns:
- name.
- Since:
- Jakarta Persistence (JPA) 1.0
- Returns:
- persistent attribute type.
- Since:
- Jakarta Persistence (JPA) 1.0
boolean
isAssociation
()
- Returns:
- boolean indicating whether the attribute corresponds to an association.
- Since:
- Jakarta Persistence (JPA) 1.0
boolean
isCollection
()
- Returns:
- boolean indicating whether the attribute is collection-valued.
- Since:
- Jakarta Persistence (JPA) 1.0