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 Details

    • TypeSpecification

      public TypeSpecification(String name)
    • TypeSpecification

      public TypeSpecification(TypeSpecification other)
  • Method Details

    • getParameters

      public Map<String,String> getParameters()
      Description copied from interface: ConfigParameterContainer
      Get the configuration parameters
      Specified by:
      getParameters in interface ConfigParameterContainer
      Returns:
      an immutable map of configuration parameters
    • setParameter

      public void setParameter(String name, String value)
      Description copied from interface: ConfigParameterContainer
      Set a parameter
      Specified by:
      setParameter in interface ConfigParameterContainer
      Parameters:
      name - the parameter name, should never be null
      value - the parameter value, should never be null
    • build

      public org.hibernate.boot.jaxb.hbm.spi.JaxbHbmTypeSpecificationType build()
      Description copied from interface: Bindable
      Builds the specified binded class type.
      Specified by:
      build in interface Bindable<org.hibernate.boot.jaxb.hbm.spi.JaxbHbmTypeSpecificationType>
      Returns:
      instance of the bindable class type, never null
    • deepCopy

      public TypeSpecification deepCopy()
      Description copied from interface: Cloneable
      Creates a new, deep-copied instance of this object
      Specified by:
      deepCopy in interface Cloneable<TypeSpecification>
      Returns:
      a deep-copy clone of the referenced object