| user defined embeddable classes. IdentifiableType is as a super interface of: MappedSuperclassType ... manner. The IdentifiableType adds methods for retrieving information on the primary key and the version attributes and the super type. For example: // Get the super type: IdentifiableType superType |
| JPA Interface IdentifiableType Type Parameters: - The represented entity or mapped superclass type. Super Interfaces: ManagedType , Type Instances of the type IdentifiableType represent entity or ... IdentifiableType getSupertype () Return the identifiable type that corresponds to the most specific mapped |
| JPA Method in javax.persistence.metamodel. IdentifiableType IdentifiableType getSupertype () Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass. Return: supertype of identifiable type or null if no such supertype Since: JPA 2.0 |
| JPA Method in javax.persistence.metamodel. IdentifiableType Set getIdClassAttributes () Return the attributes corresponding to the id class of the identifiable type. Return: id attributes Throws: IllegalArgumentException - if the identifiable type does not have an id class Since: JPA 2.0 |
| JPA Method in javax.persistence.metamodel. IdentifiableType Type getIdType () Return the type that represents the type of the id. Return: type of id Since: JPA 2.0 |
| JPA Method in javax.persistence.metamodel. IdentifiableType boolean hasVersionAttribute () Whether the identifiable type has a version attribute. Return: boolean indicating whether the identifiable type has a version attribute Since: JPA 2.0 |
| JPA Method in 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 Return: id attribute Throws |
| JPA Method in javax.persistence.metamodel. IdentifiableType boolean hasSingleIdAttribute () Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Return: boolean indicating whether the identifiable type has a single id attribute Since: JPA 2.0 |
| JPA Method in 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 |
| JPA Method in javax.persistence.metamodel. IdentifiableType SingularAttribute getVersion ( Class type ) Return the attribute that corresponds to the version attribute of the entity or mapped superclass. Parameters: type - the type of the represented version attribute Return |
| JPA Method in 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 |
| : IdentifiableType , ManagedType , Type Instances of the type MappedSuperclassType represent mapped ... the identifiable type or if the identifiable type has an id class Inherited from: IdentifiableType Since: JPA 2 ... : IdentifiableType Since: JPA 2.0 SingularAttribute getId (Class type) Return the attribute |
| : Bindable , IdentifiableType , ManagedType , Type Instances of the type EntityType represent entity types ... if the identifiable type has an id class Inherited from: IdentifiableType Since: JPA 2.0 ... - if version attribute of the type is not declared in the identifiable type Inherited from: IdentifiableType |