Package org.hibernate.envers.boot.model
Class TypeSpecification
java.lang.Object
org.hibernate.envers.boot.model.TypeSpecification
- All Implemented Interfaces:
Bindable<JaxbHbmTypeSpecificationType>
,Cloneable<TypeSpecification>
,ConfigParameterContainer
public class TypeSpecification
extends Object
implements ConfigParameterContainer, Bindable<JaxbHbmTypeSpecificationType>, Cloneable<TypeSpecification>
Contract for a type specification mapping.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the specified binded class type.deepCopy()
Creates a new, deep-copied instance of this objectGet the configuration parametersvoid
setParameter
(String name, String value) Set a parameter
-
Constructor Details
-
TypeSpecification
-
TypeSpecification
-
-
Method Details
-
getParameters
Description copied from interface:ConfigParameterContainer
Get the configuration parameters- Specified by:
getParameters
in interfaceConfigParameterContainer
- Returns:
- an immutable map of configuration parameters
-
setParameter
Description copied from interface:ConfigParameterContainer
Set a parameter- Specified by:
setParameter
in interfaceConfigParameterContainer
- Parameters:
name
- the parameter name, should never benull
value
- the parameter value, should never benull
-
build
Description copied from interface:Bindable
Builds the specified binded class type.- Specified by:
build
in interfaceBindable<JaxbHbmTypeSpecificationType>
- Returns:
- instance of the bindable class type, never
null
-
deepCopy
Description copied from interface:Cloneable
Creates a new, deep-copied instance of this object- Specified by:
deepCopy
in interfaceCloneable<TypeSpecification>
- Returns:
- a deep-copy clone of the referenced object
-