Package org.hibernate.envers.boot.model
Class SimpleIdentifier
- java.lang.Object
-
- org.hibernate.envers.boot.model.AbstractIdentifier
-
- org.hibernate.envers.boot.model.SimpleIdentifier
-
- All Implemented Interfaces:
AttributeContainer,Bindable<Serializable>,Identifier
public class SimpleIdentifier extends AbstractIdentifier
Represents a simple identifier mapping.
-
-
Constructor Summary
Constructors Constructor Description SimpleIdentifier(String name, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(Attribute attribute)Add an attribute to the container.voidaddColumn(Column column)org.hibernate.boot.jaxb.hbm.spi.JaxbHbmSimpleIdTypebuild()Builds the specified binded class type.StringgetGeneratorClass()voidsetGeneratorClass(String generatorClazz)voidsetParameter(String name, String value)-
Methods inherited from class org.hibernate.envers.boot.model.AbstractIdentifier
getAttributes, getName
-
-
-
-
Method Detail
-
addAttribute
public void addAttribute(Attribute attribute)
Description copied from interface:AttributeContainerAdd an attribute to the container.- Specified by:
addAttributein interfaceAttributeContainer- Overrides:
addAttributein classAbstractIdentifier- Parameters:
attribute- the attribute, should not benull
-
addColumn
public void addColumn(Column column)
-
getGeneratorClass
public String getGeneratorClass()
-
setGeneratorClass
public void setGeneratorClass(String generatorClazz)
-
build
public org.hibernate.boot.jaxb.hbm.spi.JaxbHbmSimpleIdType build()
Description copied from interface:BindableBuilds the specified binded class type.- Returns:
- instance of the bindable class type, never
null
-
-