IdentifiableType represent entity or
mapped superclass types.
| Modifier and Type | Method and Description |
|---|---|
| public <Y> SingularAttribute | Returns: declared id attributethe type of the represented declared
id attribute type)Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. |
| public <Y> SingularAttribute | Returns: declared version attributethe type of the represented declared version
attribute type)Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass. |
| public <Y> SingularAttribute | |
| public Set | Returns: id attributesReturn the attributes corresponding to the id class of the identifiable type. |
| public Type | |
| public IdentifiableType | Returns: supertype of identifiable type or null if no such supertypeReturn the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass. |
| public <Y> SingularAttribute | Returns: version attributethe type of the represented version attribute type)Return the attribute that corresponds to the version attribute of the entity or mapped superclass. |
| public boolean | Returns: boolean indicating whether the identifiable type has a single id attributeWhether the identifiable type has a single id attribute. |
| public boolean | Returns: boolean indicating whether the identifiable type has a version attributeWhether the identifiable type has a version attribute. |
| getDeclaredId | back to summary |
|---|---|
| public <Y> SingularAttribute Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass.
| |
| getDeclaredVersion | back to summary |
|---|---|
| public <Y> SingularAttribute Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass.
| |
| getId | back to summary |
|---|---|
| public <Y> SingularAttribute Return the attribute that corresponds to the id attribute of the entity or mapped superclass.
| |
| getIdClassAttributes | back to summary |
|---|---|
| public Set Return the attributes corresponding to the id class of the identifiable type.
| |
| getIdType | back to summary |
|---|---|
| public Type Return the type that represents the type of the id.
| |
| getSupertype | back to summary |
|---|---|
| public IdentifiableType Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass.
| |
| getVersion | back to summary |
|---|---|
| public <Y> SingularAttribute Return the attribute that corresponds to the version attribute of the entity or mapped superclass.
| |
| hasSingleIdAttribute | back to summary |
|---|---|
| public 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.
| |
| hasVersionAttribute | back to summary |
|---|---|
| public boolean hasVersionAttribute() Whether the identifiable type has a version attribute.
| |