public class UrlType extends AbstractSingleColumnStandardBasicType<URL> implements DiscriminatorType<URL>
| Constructor and Description | 
|---|
UrlType()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getName()
Returns the abbreviated name of the type. 
 | 
String | 
objectToSQLString(URL value,
                 Dialect dialect)
Convert the value into a string representation, suitable for embedding in an SQL statement as a
 literal. 
 | 
protected boolean | 
registerUnderJavaType()  | 
URL | 
stringToObject(String xml)
Convert the value from the mapping file to a Java object. 
 | 
String | 
toString(URL value)
Render the value to the string representation. 
 | 
nullSafeSet, sqlTypeassemble, beforeAssemble, canDoExtraction, compare, deepCopy, deepCopy, defaultSizes, dictatedSizes, disassemble, extract, extract, fromString, fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, getDefaultSize, getDictatedSize, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getRegistrationKeys, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, remapSqlTypeDescriptor, replace, replace, resolve, semiResolve, set, setJavaTypeDescriptor, setSqlTypeDescriptor, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toXMLStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableStringfromStringValue, get, nullSafeGet, setpublic static final UrlType INSTANCE
public String getName()
Typeprotected boolean registerUnderJavaType()
registerUnderJavaType in class AbstractStandardBasicType<URL>public String toString(URL value)
StringRepresentableTypetoString in interface SingleColumnType<URL>toString in interface StringRepresentableType<URL>toString in class AbstractStandardBasicType<URL>value - The value to render to string.public String objectToSQLString(URL value, Dialect dialect) throws Exception
LiteralTypeobjectToSQLString in interface LiteralType<URL>value - The value to convertdialect - The SQL dialectException - Indicates an issue converting the value to literal string.public URL stringToObject(String xml) throws Exception
IdentifierTypestringToObject in interface IdentifierType<URL>xml - the value of discriminator-value or unsaved-value attributeException - Indicates a problem converting from the stringCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.