Home » Search

About Metamodel

81-90 of 184Refresh
JPA Doc
4

getDeclaredAttributes()

Method javax.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: JPA 2.0
JPA Doc
4

getDeclaredCollection(name)

Method javax.persistence.metamodel.ManagedType CollectionAttribute getDeclaredCollection(   String name ) Return the Collection-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: declared
JPA Doc
4

getDeclaredCollection(name, elementType)

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

getDeclaredId(type)

Method javax.persistence.metamodel.IdentifiableType SingularAttribute getDeclaredId(   Class type ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id attribute Returns: declared
JPA Doc
4

getDeclaredList(name)

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

getDeclaredList(name, elementType)

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

getDeclaredMap(name)

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

getDeclaredMap(name, keyType, valueType)

Method javax.persistence.metamodel.ManagedType MapAttribute getDeclaredMap(   String name,   Class keyType,   Class valueType ) Return the Map-valued attribute declared by the managed type that corresponds to the specified name and Java key and value types. Parameters: name
JPA Doc
4

getDeclaredMap(name, keyType, valueType)

Method javax.persistence.metamodel.ManagedType MapAttribute getDeclaredMap(   String name,   Class keyType,   Class valueType ) 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
JPA Doc
4

getDeclaredPluralAttributes()

Method javax.persistence.metamodel.ManagedType Set> 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 multi-valued