Top Description Fields Constructors Methods
org.eclipse.persistence.internal.jpa

public Class AttributeNodeImpl<X>

extends Object
implements AttributeNode<X>
Class Inheritance
All Implemented Interfaces
jakarta.persistence.AttributeNode
Known Direct Subclasses
org.eclipse.persistence.internal.jpa.EntityGraphImpl
Annotations
@SuppressWarnings:rawtypes
Imports
java.util.HashMap, .Map, jakarta.persistence.AttributeNode, .Subgraph

Concrete JPA AttributeNode class. For this implementation the AttributeNode includes information from live AttributeItems.

Field Summary

Modifier and TypeField and Description
protected String
protected Map<Class<T>, Subgraph<T>>
protected Map<Class<T>, Subgraph<T>>

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
public void
addKeySubgraph(EntityGraphImpl<X> entityGraphImpl)

public void
addSubgraph(EntityGraphImpl<X> entityGraphImpl)

public String
getAttributeName()

Implements jakarta.persistence.AttributeNode.getAttributeName.

Return the name of the attribute corresponding to the attribute node.
public Map<Class<T>, Subgraph<T>>
getKeySubgraphs()

Implements jakarta.persistence.AttributeNode.getKeySubgraphs.

Return the Map<Class, Subgraph> of subgraphs associated with this attribute node's map key.
public Map<Class<T>, Subgraph<T>>
getSubgraphs()

Implements jakarta.persistence.AttributeNode.getSubgraphs.

Return the Map<Class, Subgraph> of subgraphs associated with this attribute node.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentAttributeback to summary
protected String currentAttribute
keySubgraphsback to summary
protected Map<Class<T>, Subgraph<T>> keySubgraphs
subgraphsback to summary
protected Map<Class<T>, Subgraph<T>> subgraphs

Constructor Detail

AttributeNodeImplback to summary
protected AttributeNodeImpl()
AttributeNodeImplback to summary
protected AttributeNodeImpl(String attribute)

Method Detail

addKeySubgraphback to summary
public void addKeySubgraph(EntityGraphImpl<X> entityGraphImpl)
addSubgraphback to summary
public void addSubgraph(EntityGraphImpl<X> entityGraphImpl)
getAttributeNameback to summary
public String getAttributeName()

Implements jakarta.persistence.AttributeNode.getAttributeName.

Doc from jakarta.persistence.AttributeNode.getAttributeName.

Return the name of the attribute corresponding to the attribute node.

Returns:String

name of the attribute

Annotations
@Override
getKeySubgraphsback to summary
public Map<Class<T>, Subgraph<T>> getKeySubgraphs()

Implements jakarta.persistence.AttributeNode.getKeySubgraphs.

Doc from jakarta.persistence.AttributeNode.getKeySubgraphs.

Return the Map<Class, Subgraph> of subgraphs associated with this attribute node's map key.

Returns:Map<Class<T>, Subgraph<T>>

Map of subgraphs associated with this attribute node's map key or empty Map if none have been defined

Annotations
@Override
getSubgraphsback to summary
public Map<Class<T>, Subgraph<T>> getSubgraphs()

Implements jakarta.persistence.AttributeNode.getSubgraphs.

Doc from jakarta.persistence.AttributeNode.getSubgraphs.

Return the Map<Class, Subgraph> of subgraphs associated with this attribute node.

Returns:Map<Class<T>, Subgraph<T>>

Map of subgraphs associated with this attribute node or empty Map if none have been defined

Annotations
@Override