About Metamodel

71-80 of 185Refresh
JPA Doc
4

Bindable.BindableType.SINGULAR_ATTRIBUTE

Enum Constant javax.persistence.metamodel.Bindable.BindableType SINGULAR_ATTRIBUTE Single-valued attribute type Since: JPA 2.0
JPA Doc
4

from(entity)

Method javax.persistence.criteria.AbstractQuery Root from(   EntityType entity ) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots. Parameters: entity - metamodel entity representing the entity of type X Returns: query root corresponding to the given entity Since: JPA 2.0
JPA Doc
4

getAttribute(name)

Method javax.persistence.metamodel.ManagedType Attribute getAttribute(   String name ) Return the attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: attribute with given name Throws: IllegalArgumentException
JPA Doc
4

getAttributes()

Method javax.persistence.metamodel.ManagedType Set> getAttributes() Return the attributes of the managed type. Returns: attributes of the managed type Since: JPA 2.0
JPA Doc
4

getBindableJavaType()

Method javax.persistence.metamodel.Bindable Class 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
JPA Doc
4

getBindableType()

Method javax.persistence.metamodel.Bindable BindableType getBindableType() Return the bindable type of the represented object. Returns: bindable type Since: JPA 2.0
JPA Doc
4

getCollection(name)

Method javax.persistence.metamodel.ManagedType CollectionAttribute 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
JPA Doc
4

getCollection(name, elementType)

Method javax.persistence.metamodel.ManagedType CollectionAttribute getCollection(   String name,   Class elementType ) Return the Collection-valued attribute of the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented
JPA Doc
4

getCollectionType()

Method javax.persistence.metamodel.PluralAttribute CollectionType getCollectionType() Return the collection type. Returns: collection type Since: JPA 2.0
JPA Doc
4

getDeclaredAttribute(name)

Method javax.persistence.metamodel.ManagedType Attribute getDeclaredAttribute(   String name ) Return the attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: attribute with given name Throws