Package org.hibernate.envers.boot.model
Class TypeSpecification
- java.lang.Object
-
- org.hibernate.envers.boot.model.TypeSpecification
-
- All Implemented Interfaces:
Bindable<org.hibernate.boot.jaxb.hbm.spi.JaxbHbmTypeSpecificationType>,Cloneable<TypeSpecification>,ConfigParameterContainer
public class TypeSpecification extends Object implements ConfigParameterContainer, Bindable<org.hibernate.boot.jaxb.hbm.spi.JaxbHbmTypeSpecificationType>, Cloneable<TypeSpecification>
Contract for a type specification mapping.
-
-
Constructor Summary
Constructors Constructor Description TypeSpecification(String name)TypeSpecification(TypeSpecification other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.boot.jaxb.hbm.spi.JaxbHbmTypeSpecificationTypebuild()Builds the specified binded class type.TypeSpecificationdeepCopy()Creates a new, deep-copied instance of this objectMap<String,String>getParameters()Get the configuration parametersvoidsetParameter(String name, String value)Set a parameter
-
-
-
Constructor Detail
-
TypeSpecification
public TypeSpecification(String name)
-
TypeSpecification
public TypeSpecification(TypeSpecification other)
-
-
Method Detail
-
getParameters
public Map<String,String> getParameters()
Description copied from interface:ConfigParameterContainerGet the configuration parameters- Specified by:
getParametersin interfaceConfigParameterContainer- Returns:
- an immutable map of configuration parameters
-
setParameter
public void setParameter(String name, String value)
Description copied from interface:ConfigParameterContainerSet a parameter- Specified by:
setParameterin interfaceConfigParameterContainer- Parameters:
name- the parameter name, should never benullvalue- the parameter value, should never benull
-
build
public org.hibernate.boot.jaxb.hbm.spi.JaxbHbmTypeSpecificationType build()
Description copied from interface:BindableBuilds the specified binded class type.
-
deepCopy
public TypeSpecification deepCopy()
Description copied from interface:CloneableCreates a new, deep-copied instance of this object- Specified by:
deepCopyin interfaceCloneable<TypeSpecification>- Returns:
- a deep-copy clone of the referenced object
-
-