Top Description Methods
org.hibernate.persister.walking.spi

public Interface EntityIdentifierDefinition

Known Direct Subinterfaces
org.hibernate.persister.walking.spi.NonEncapsulatedEntityIdentifierDefinition, org.hibernate.persister.walking.spi.EncapsulatedEntityIdentifierDefinition

Describes aspects of the identifier for an entity
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public EntityDefinition
public boolean

Returns:

true indicates the identifier is encapsulated (and therefore this is castable to EncapsulatedEntityIdentifierDefinition); false means it is not encapsulated (and therefore castable to NonEncapsulatedEntityIdentifierDefinition).
isEncapsulated
()

Is the entity identifier encapsulated?

Method Detail

getEntityDefinitionback to summary
public EntityDefinition getEntityDefinition()
isEncapsulatedback to summary
public boolean isEncapsulated()

Is the entity identifier encapsulated? Meaning, is it represented by a single attribute?

Returns:boolean

true indicates the identifier is encapsulated (and therefore this is castable to EncapsulatedEntityIdentifierDefinition); false means it is not encapsulated (and therefore castable to NonEncapsulatedEntityIdentifierDefinition).