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 void
addAttribute(Attribute attribute)
Add an attribute to the container.void
addColumn(Column column)
JaxbHbmSimpleIdType
build()
Builds the specified binded class type.String
getGeneratorClass()
void
setGeneratorClass(String generatorClazz)
void
setParameter(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:AttributeContainer
Add an attribute to the container.- Specified by:
addAttribute
in interfaceAttributeContainer
- Overrides:
addAttribute
in 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 JaxbHbmSimpleIdType build()
Description copied from interface:Bindable
Builds the specified binded class type.- Returns:
- instance of the bindable class type, never
null
-
-