X
- The represented type that contains the attributeT
- The type of the represented attributepublic abstract class AttributeImpl<X,T>
extends java.lang.Object
implements javax.persistence.metamodel.Attribute<X,T>, java.io.Serializable
Purpose: Provides the implementation for the Attribute interface of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)
Description: An attribute of a Java type
Attribute
,
Serialized FormModifier and Type | Method and Description |
---|---|
javax.persistence.metamodel.ManagedType<X> |
getDeclaringType()
Return the managed type representing the type in which
the attribute was declared.
|
java.lang.reflect.Member |
getJavaMember()
Return the java.lang.reflect.Member for the represented attribute.
|
abstract java.lang.Class<T> |
getJavaType()
Return the Java type of the represented attribute.
|
ManagedTypeImpl<X> |
getManagedTypeImpl()
INTERNAL:
Return the managed type representing the type in which the member was
declared.
|
DatabaseMapping |
getMapping()
INTERNAL:
Return the databaseMapping that represents the type
|
java.lang.String |
getName()
Return the name of the attribute.
|
javax.persistence.metamodel.Attribute.PersistentAttributeType |
getPersistentAttributeType()
Return the persistent attribute type for the attribute.
|
boolean |
isAssociation()
Is the attribute an association.
|
boolean |
isCollection()
Is the attribute collection-valued.
|
abstract boolean |
isPlural()
INTERNAL:
Return whether the attribute is plural or singular
|
public javax.persistence.metamodel.ManagedType<X> getDeclaringType()
public java.lang.reflect.Member getJavaMember()
public abstract java.lang.Class<T> getJavaType()
public ManagedTypeImpl<X> getManagedTypeImpl()
public DatabaseMapping getMapping()
public java.lang.String getName()
public javax.persistence.metamodel.Attribute.PersistentAttributeType getPersistentAttributeType()
public boolean isAssociation()
public boolean isCollection()
isCollection
in interface javax.persistence.metamodel.Attribute<X,T>
This will be true for the mappings CollectionMapping, AbstractCompositeCollectionMapping, AbstractCompositeDirectCollectionMapping and their subclasses
public abstract boolean isPlural()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference