Top Fields Constructors Methods
org.eclipse.persistence.internal.jpa.metamodel.proxy

public Class SingularAttributeProxyImpl<X, T>

extends AttributeProxyImpl<X, T>
implements SingularAttribute<X, T>
Class Inheritance
All Implemented Interfaces
jakarta.persistence.metamodel.SingularAttribute, jakarta.persistence.metamodel.Bindable, jakarta.persistence.metamodel.Attribute
Imports
jakarta.persistence.metamodel.SingularAttribute, .Type, org.eclipse.persistence.internal.jpa.metamodel.SingularAttributeImpl

Field Summary

Inherited from org.eclipse.persistence.internal.jpa.metamodel.proxy.AttributeProxyImpl:
attributefactories

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Class<T>
getBindableJavaType()

Implements jakarta.persistence.metamodel.Bindable.getBindableJavaType.

Return the Java type of the represented object.
public Bindable.BindableType
getBindableType()

Implements jakarta.persistence.metamodel.Bindable.getBindableType.

Return the bindable type of the represented object.
public Type<T>
getType()

Implements jakarta.persistence.metamodel.SingularAttribute.getType.

Return the type that represents the type of the attribute.
public boolean
isId()

Implements jakarta.persistence.metamodel.SingularAttribute.isId.

Is the attribute an id attribute.
public boolean
public boolean
isVersion()

Implements jakarta.persistence.metamodel.SingularAttribute.isVersion.

Is the attribute a version attribute.
Inherited from org.eclipse.persistence.internal.jpa.metamodel.proxy.AttributeProxyImpl:
addFactorygetAttributegetAttributeInternalgetDeclaringTypegetJavaMembergetJavaTypegetNamegetPersistentAttributeTypeisAssociationisCollectionsetAttribute

Constructor Detail

SingularAttributeProxyImplback to summary
public SingularAttributeProxyImpl()

Method Detail

getBindableJavaTypeback to summary
public Class<T> getBindableJavaType()

Implements jakarta.persistence.metamodel.Bindable.getBindableJavaType.

Doc from jakarta.persistence.metamodel.Bindable.getBindableJavaType.

Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE, the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type of the represented entity or attribute is returned.

Returns:Class<T>

Java type

Annotations
@Override
getBindableTypeback to summary
public Bindable.BindableType getBindableType()

Implements jakarta.persistence.metamodel.Bindable.getBindableType.

Doc from jakarta.persistence.metamodel.Bindable.getBindableType.

Return the bindable type of the represented object.

Returns:Bindable.BindableType

bindable type

Annotations
@Override
getTypeback to summary
public Type<T> getType()

Implements jakarta.persistence.metamodel.SingularAttribute.getType.

Doc from jakarta.persistence.metamodel.SingularAttribute.getType.

Return the type that represents the type of the attribute.

Returns:Type<T>

type of attribute

Annotations
@Override
isIdback to summary
public boolean isId()

Implements jakarta.persistence.metamodel.SingularAttribute.isId.

Doc from jakarta.persistence.metamodel.SingularAttribute.isId.

Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class.

Returns:boolean

boolean indicating whether the attribute is an id

Annotations
@Override
isOptionalback to summary
public boolean isOptional()

Implements jakarta.persistence.metamodel.SingularAttribute.isOptional.

Doc from jakarta.persistence.metamodel.SingularAttribute.isOptional.

Can the attribute be null.

Returns:boolean

boolean indicating whether the attribute can be null

Annotations
@Override
isVersionback to summary
public boolean isVersion()

Implements jakarta.persistence.metamodel.SingularAttribute.isVersion.

Doc from jakarta.persistence.metamodel.SingularAttribute.isVersion.

Is the attribute a version attribute.

Returns:boolean

boolean indicating whether the attribute is a version attribute

Annotations
@Override