Class PhoneJavaType

java.lang.Object
org.hibernate.type.descriptor.java.AbstractClassJavaType<String>
ch.tocco.nice2.entityoperation.impl.phone.PhoneJavaType
All Implemented Interfaces:
Serializable, org.hibernate.type.descriptor.java.BasicJavaType<String>, org.hibernate.type.descriptor.java.JavaType<String>

public class PhoneJavaType extends org.hibernate.type.descriptor.java.AbstractClassJavaType<String>
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.hibernate.type.descriptor.java.JavaType

    org.hibernate.type.descriptor.java.JavaType.CoercionContext
  • Constructor Summary

    Constructors
    Constructor
    Description
    PhoneJavaType(L10N l10n, PhoneFormatter phoneFormatter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hibernate.type.descriptor.jdbc.JdbcType
    getRecommendedJdbcType(org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators indicators)
     
    <X> X
    unwrap(String value, Class<X> type, org.hibernate.type.descriptor.WrapperOptions options)
     
    <X> String
    wrap(X value, org.hibernate.type.descriptor.WrapperOptions options)
     

    Methods inherited from class org.hibernate.type.descriptor.java.AbstractClassJavaType

    areEqual, extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, getJavaTypeClass, getMutabilityPlan, unknownUnwrap, unknownWrap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.type.descriptor.java.BasicJavaType

    fromString

    Methods inherited from interface org.hibernate.type.descriptor.java.JavaType

    appendEncodedString, coerce, createJavaType, createJavaType, fromEncodedString, getCheckCondition, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultValue, getLongSqlLength, getReplacement, getTypeName, isInstance, isTemporalType, isWider, toString, useObjectEqualsHashCode
  • Constructor Details

  • Method Details

    • getRecommendedJdbcType

      public org.hibernate.type.descriptor.jdbc.JdbcType getRecommendedJdbcType(org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators indicators)
    • wrap

      public <X> String wrap(X value, org.hibernate.type.descriptor.WrapperOptions options)
    • unwrap

      public <X> X unwrap(String value, Class<X> type, org.hibernate.type.descriptor.WrapperOptions options)