ObjectDB Database Search

101-150 of 200 results

Get the last occurence of a list attribut

Get the last occurence of a list attribut

Accessiblity of attributes in entities in several OSGi-Bundles

Accessiblity of attributes in entities in several OSGi-Bundles

jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String,Class,Class)

) Return the Map-valued attribute declared by the managed type that corresponds to the specified name and Java key and value types. Parameters: name - the name of the represented attribute keyType - the key type of the represented attribute valueType - the value type of the represented attribute Returns

jakarta.persistence.criteria.Path.get(SingularAttribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Path Path get (    SingularAttribute attribute ) Create a path corresponding to the referenced single-valued attribute . Parameters: attribute - single-valued attribute Returns: path corresponding to the referenced attribute . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Graph.addAttributeNodes(String...)

; String... attributeName ) Add one or more attribute nodes to the entity graph. If there is already an existing node for one of the given attribute names, that particular argument is ignored and has no effect. Parameters: attributeName - name of the attribute Throws: IllegalStateException

jakarta.persistence.Graph.addElementSubgraph(PluralAttribute)

;  PluralAttribute attribute ) Add a node to the graph that corresponds to a collection element ... related managed types. Parameters: attribute - attribute Returns: subgraph for the element attribute ... . IllegalArgumentException - if the attribute's target type is not an entity. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.Graph.addTreatedElementSubgraph(PluralAttribute,Class)

(    PluralAttribute attribute ,    Class type ) Add a node to the graph ... entity graphs that include related managed types. Parameters: attribute - attribute Returns: subgraph for the element attribute . Throws: IllegalStateException - if this EntityGraph has been statically

jakarta.persistence.Graph.addMapKeySubgraph(MapAttribute)

;  MapAttribute attribute ) Add a node to the graph that corresponds to a map key ... . Parameters: attribute - attribute Returns: subgraph for the key attribute . Throws ... - if the attribute's target type is not a managed type entity. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getSingularAttribute(String)

getSingularAttribute (    String name ) Return the single-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: single-valued attribute with the given name. Throws: IllegalArgumentException

jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute(String)

getDeclaredSingularAttribute (    String name ) Return the single-valued attribute declared ... of the represented attribute Returns: declared single-valued attribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not declared in the managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getPluralAttributes()

getPluralAttributes() Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes ) of the managed type. Returns empty set if the managed type has no multi-valued attributes . Returns: Collection-, Set-, List-, and Map-valued attributes . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getDeclaredPluralAttributes()

getDeclaredPluralAttributes() Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes ) declared by the managed type. Returns empty set if the managed type has no declared multivalued attributes . Returns: declared Collection-, Set-, List-, and Map-valued attributes . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.isLoaded(Object,String)

persistent attribute of an entity belonging to the persistence unit. Parameters: attributeName - name of attribute whose load state is to be determined entity - entity instance containing the attribute Returns: false if entity's state has not been loaded or if the attribute state has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.SingularAttribute.isVersion()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.SingularAttribute boolean isVersion() Is the attribute a version attribute ? Returns: boolean indicating whether the attribute is a version attribute . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getList(String,Class)

getList (    String name ,    Class elementType ) Return the List-valued attribute ... - the name of the represented attribute elementType - the element type of the represented attribute ... - if attribute of the given name and type is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getDeclaredList(String,Class)

attribute declared by the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared ListAttribute of the given name and element type. Throws

jakarta.persistence.metamodel.ManagedType.getCollection(String,Class)

-valued attribute of the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: CollectionAttribute of the given name and element type. Throws

jakarta.persistence.metamodel.ManagedType.getDeclaredCollection(String,Class)

the Collection-valued attribute declared by the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared CollectionAttribute of the given name and element

jakarta.persistence.metamodel.ManagedType.getSet(String,Class)

(    String name ,    Class elementType ) Return the Set-valued attribute ... - the name of the represented attribute elementType - the element type of the represented attribute Returns: SetAttribute of the given name and element type. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.ManagedType.getDeclaredSet(String,Class)

attribute declared by the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared SetAttribute of the given name and element type. Throws

jakarta.persistence.criteria.Path.get(String)

; String attributeName ) Create a path corresponding to the referenced attribute . Note: Applications using ... of the attribute Returns: path corresponding to the referenced attribute . Throws: IllegalStateException - if invoked on a path that corresponds to a basic type. IllegalArgumentException - if attribute

jakarta.persistence.Graph.removeAttributeNode(String)

;  String attributeName ) Remove an attribute node from the entity graph. When this graph is interpreted as a load graph, this operation suppresses inclusion of an attribute mapped for eager fetching ... Graph.addSubgraph . If there is no existing node for the given attribute name, this operation

jakarta.persistence.Graph.addSubgraph(String,Class)

of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs Parameters: attributeName - name of the attribute type - entity subclass Returns: subgraph for the attribute . Throws: IllegalStateException - if this EntityGraph has been statically

jakarta.persistence.Graph.addKeySubgraph(String,Class)

graphs that include related managed types. Subclass subgraphs will include the specified attributes of superclass subgraphs Parameters: attributeName - name of the attribute type - entity subclass Returns: subgraph for the attribute . Throws: IllegalStateException - if this EntityGraph

jakarta.persistence.ManyToMany

the relationship attribute within the embedded attribute . The value of each identifier used with the dot

jakarta.persistence.ManyToOne

the relationship attribute within the embedded attribute . The value of each identifier used

jakarta.persistence.EmbeddedId

those attributes of the embedded id that do not correspond to the relationship to the parent entity ... column name for "name" attribute is overridden @AttributeOverride(name = "name", column = @Column(name

jakarta.persistence.metamodel.Type

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.Type Type Parameters: - The type of the represented object or attribute An instance of the type Type represents a persistent object or attribute type. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Class getJavaType

jakarta.persistence.metamodel.ManagedType.getCollection(String)

getCollection (    String name ) Return the Collection-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: CollectionAttribute of the given name. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.ManagedType.getDeclaredCollection(String)

getDeclaredCollection (    String name ) Return the Collection-valued attribute declared ... of the represented attribute Returns: declared CollectionAttribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not declared in the managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.load(Object,String)

persistent attribute of an entity belonging to the persistence unit and to an open persistence context ... and attribute . Parameters: attributeName - the name of the attribute to be loaded entity - entity

jakarta.persistence.metamodel.ManagedType.getMap(String)

(    String name ) Return the Map-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: MapAttribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not present

jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String)

getDeclaredMap (    String name ) Return the Map-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: declared MapAttribute of the given name. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.ManagedType.getSet(String)

(    String name ) Return the Set-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: SetAttribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not present

jakarta.persistence.metamodel.ManagedType.getDeclaredSet(String)

getDeclaredSet (    String name ) Return the Set-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: declared SetAttribute of the given name. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.ManagedType.getList(String)

getList (    String name ) Return the List-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: ListAttribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not

jakarta.persistence.metamodel.ManagedType.getDeclaredList(String)

getDeclaredList (    String name ) Return the List-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: declared ListAttribute of the given name. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.Bindable.getBindableJavaType()

_ 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: Java type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getSingularAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getSingularAttributes() Return the single-valued attributes of the managed type. Returns empty set if the managed type has no single-valued attributes . Returns: single-valued attributes . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredSingularAttributes() Return the single-valued attributes declared by the managed type. Returns empty set if the managed type has no declared single-valued attributes . Returns: declared single-valued attributes . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getDeclaredAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredAttributes() Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes . Returns: declared attributes of the managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Join.getAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Join Attribute getAttribute() Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Returns: metamodel attribute or null. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.From.joinMap(String,JoinType)

attribute using the given join type. Parameters: attributeName - name of the attribute for the target ... - if attribute of the given name does not exist. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.get(MapAttribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Path Expression get (    MapAttribute map ) Create a path corresponding to the referenced map-valued attribute . Parameters: map - map-valued attribute Returns: expression corresponding to the referenced attribute . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.get(PluralAttribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Path Expression get (    PluralAttribute collection ) Create a path corresponding to the referenced collection-valued attribute . Parameters: collection - collection-valued attribute Returns: expression corresponding to the referenced attribute . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Graph.removeAttributeNodes(PersistentAttributeType)

Jakarta Persistence (JPA) Method in jakarta.persistence.Graph void removeAttributeNodes (    PersistentAttributeType nodeTypes ) Remove all attribute nodes of the given attribute types. When this graph is interpreted as a load graph, this operation suppresses inclusion of attributes

jakarta.persistence.Graph.addSubgraph(String)

: attributeName - name of the attribute Returns: subgraph for the attribute . Throws: IllegalStateException - if this EntityGraph has been statically defined. IllegalArgumentException - if the attribute's target

jakarta.persistence.Graph.addKeySubgraph(String)

. Parameters: attributeName - name of the attribute Returns: subgraph for the key attribute . Throws ... - if the attribute's target type is not a managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Graph.addElementSubgraph(String)

managed types. Parameters: attributeName - name of the attribute Returns: subgraph for the element attribute . Throws: IllegalStateException - if this EntityGraph has been statically defined. IllegalArgumentException - if the attribute's target type is not a managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Graph.addElementSubgraph(String,Class)

graphs that include related managed types. Parameters: attributeName - name of the attribute type - entity subclass Returns: subgraph for the element attribute . Throws: IllegalStateException - if this EntityGraph has been statically defined. IllegalArgumentException - if the attribute's target type