javax.persistence.metamodel
Interface Attribute<X,Y>
- All Known Subinterfaces:
- CollectionAttribute<X,E>, ListAttribute<X,E>, MapAttribute<X,K,V>, PluralAttribute<X,C,E>, SetAttribute<X,E>, SingularAttribute<X,T>
public interface Attribute<X,Y>
Reflection model for a JPA attribute
- Since:
- JPA 2.0
getDeclaringType
ManagedType<X> getDeclaringType()
getJavaMember
java.lang.reflect.Member getJavaMember()
getJavaType
java.lang.Class<Y> getJavaType()
getName
java.lang.String getName()
getPersistentAttributeType
Attribute.PersistentAttributeType getPersistentAttributeType()
isAssociation
boolean isAssociation()
isCollection
boolean isCollection()