public class EntityIdentifier extends Object
Constructor and Description |
---|
EntityIdentifier(EntityBinding entityBinding)
Create an identifier
|
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
createIdentifierGenerator(IdentifierGeneratorFactory factory,
Properties properties) |
IdentifierGenerator |
getIdentifierGenerator() |
BasicAttributeBinding |
getValueBinding() |
boolean |
isEmbedded() |
boolean |
isIdentifierMapper() |
void |
setIdGenerator(IdGenerator idGenerator) |
void |
setValueBinding(BasicAttributeBinding attributeBinding) |
public EntityIdentifier(EntityBinding entityBinding)
entityBinding
- the entity binding for which this instance is the idpublic BasicAttributeBinding getValueBinding()
public void setValueBinding(BasicAttributeBinding attributeBinding)
public void setIdGenerator(IdGenerator idGenerator)
public boolean isEmbedded()
public boolean isIdentifierMapper()
public IdentifierGenerator createIdentifierGenerator(IdentifierGeneratorFactory factory, Properties properties)
public IdentifierGenerator getIdentifierGenerator()
Copyright © 2018 JBoss by Red Hat. All rights reserved.