org.hibernate.metamodel.binding
Class EntityIdentifier
java.lang.Object
org.hibernate.metamodel.binding.EntityIdentifier
public class EntityIdentifier
- extends Object
Binds the entity identifier.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityIdentifier
public EntityIdentifier(EntityBinding entityBinding)
- Create an identifier
- Parameters:
entityBinding
- the entity binding for which this instance is the id
getValueBinding
public BasicAttributeBinding getValueBinding()
setValueBinding
public void setValueBinding(BasicAttributeBinding attributeBinding)
setIdGenerator
public void setIdGenerator(IdGenerator idGenerator)
isEmbedded
public boolean isEmbedded()
isIdentifierMapper
public boolean isIdentifierMapper()
createIdentifierGenerator
public IdentifierGenerator createIdentifierGenerator(IdentifierGeneratorFactory factory,
Properties properties)
getIdentifierGenerator
public IdentifierGenerator getIdentifierGenerator()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.