Uses of Interface
jakarta.persistence.metamodel.Attribute
-
Packages that use Attribute Package Description jakarta.persistence Jakarta Persistence is the API for the management for persistence and object/relational mapping.jakarta.persistence.criteria Jakarta Persistence Criteria APIjakarta.persistence.metamodel Jakarta Persistence Metamodel API -
-
Uses of Attribute in jakarta.persistence
Methods in jakarta.persistence with parameters of type Attribute Modifier and Type Method Description <Y> AttributeNode<Y>Graph. addAttributeNode(Attribute<? super T,Y> attribute)Get an existing attribute node for the given attribute, or add a new attribute node if there is no existing node.voidGraph. addAttributeNodes(Attribute<? super T,?>... attribute)Add one or more attribute nodes to the entity graph.<X> Subgraph<X>Graph. addKeySubgraph(Attribute<? super T,X> attribute)Deprecated, for removal: This API element is subject to removal in a future version.<X> Subgraph<? extends X>Graph. addKeySubgraph(Attribute<? super T,X> attribute, java.lang.Class<? extends X> type)Deprecated, for removal: This API element is subject to removal in a future version.<X> Subgraph<X>Graph. addSubgraph(Attribute<? super T,X> attribute)Add a node to the graph that corresponds to a managed type.<X> Subgraph<? extends X>Graph. addSubgraph(Attribute<? super T,X> attribute, java.lang.Class<? extends X> type)Deprecated, for removal: This API element is subject to removal in a future version.<Y> Subgraph<Y>Graph. addTreatedSubgraph(Attribute<? super T,? super Y> attribute, java.lang.Class<Y> type)Add a node to the graph that corresponds to a managed type with inheritance.<Y> AttributeNode<Y>Graph. getAttributeNode(Attribute<? super T,Y> attribute)Get an existing attribute node for the given attribute.booleanGraph. hasAttributeNode(Attribute<? super T,?> attribute)Determine if there is an existing attribute node for the given attribute.<E> booleanPersistenceUnitUtil. isLoaded(E entity, Attribute<? super E,?> attribute)Determine the load state of a given persistent attribute of an entity belonging to the persistence unit.<E> voidPersistenceUnitUtil. load(E entity, Attribute<? super E,?> attribute)Load the persistent value of a given persistent attribute of an entity belonging to the persistence unit and to an open persistence context.voidGraph. removeAttributeNode(Attribute<? super T,?> attribute)Remove an attribute node from the entity graph. -
Uses of Attribute in jakarta.persistence.criteria
Methods in jakarta.persistence.criteria that return Attribute Modifier and Type Method Description Attribute<? super Z,?>Fetch. getAttribute()Return the metamodel attribute corresponding to the fetch join.Attribute<? super Z,?>Join. getAttribute()Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. -
Uses of Attribute in jakarta.persistence.metamodel
Subinterfaces of Attribute in jakarta.persistence.metamodel Modifier and Type Interface Description interfaceCollectionAttribute<X,E>Instances of the typeCollectionAttributerepresent persistentCollection-valued attributes.interfaceListAttribute<X,E>Instances of the typeListAttributerepresent persistentList-valued attributes.interfaceMapAttribute<X,K,V>Instances of the typeMapAttributerepresent persistentMap-valued attributes.interfacePluralAttribute<X,C,E>Instances of the typePluralAttributerepresent persistent collection-valued attributes.interfaceSetAttribute<X,E>Instances of the typeSetAttributerepresent persistentSet-valued attributes.interfaceSingularAttribute<X,T>Instances of the typeSingularAttributerepresents persistent single-valued properties or fields.Methods in jakarta.persistence.metamodel that return Attribute Modifier and Type Method Description Attribute<? super X,?>ManagedType. getAttribute(java.lang.String name)Return the attribute of the managed type that corresponds to the specified name.Attribute<X,?>ManagedType. getDeclaredAttribute(java.lang.String name)Return the attribute declared by the managed type that corresponds to the specified name.Methods in jakarta.persistence.metamodel that return types with arguments of type Attribute Modifier and Type Method Description java.util.Set<Attribute<? super X,?>>ManagedType. getAttributes()Return the attributes of the managed type.java.util.Set<Attribute<X,?>>ManagedType. getDeclaredAttributes()Return the attributes declared by the managed type.
-