Home » Search

About Metamodel

91-100 of 185Refresh
JPA Doc
4

getDeclaredSet(name)

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

getDeclaredSet(name, elementType)

Method javax.persistence.metamodel.ManagedType SetAttribute getDeclaredSet(   String name,   Class elementType ) Return the Set-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

getDeclaredSingularAttribute(name)

Method javax.persistence.metamodel.ManagedType SingularAttribute getDeclaredSingularAttribute(   String name ) Return the single-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

getDeclaredSingularAttribute(name, type)

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

getDeclaredSingularAttributes()

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

getDeclaredVersion(type)

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

getDeclaringType()

Method javax.persistence.metamodel.Attribute ManagedType getDeclaringType() Return the managed type representing the type in which the attribute was declared. Returns: declaring type Since: JPA 2.0
JPA Doc
4

getElementType()

Method javax.persistence.metamodel.PluralAttribute Type getElementType() Return the type representing the element type of the collection. Returns: element type Since: JPA 2.0
JPA Doc
4

getId(type)

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

getIdClassAttributes()

Method javax.persistence.metamodel.IdentifiableType Set> getIdClassAttributes() Return the attributes corresponding to the id class of the identifiable type. Returns: id attributes Throws: IllegalArgumentException - if the identifiable type does not have an id class Since: JPA 2.0