com.atlassian.confluence.core.persistence.hibernate
Class PropertiesType
java.lang.Object
net.sf.hibernate.type.AbstractType
net.sf.hibernate.type.NullableType
net.sf.hibernate.type.MutableType
com.atlassian.confluence.core.persistence.hibernate.PropertiesType
- All Implemented Interfaces:
- Serializable, net.sf.hibernate.type.Type
- public class PropertiesType
- extends net.sf.hibernate.type.MutableType
Handle the persistence of a properties object by converting the contents of the properties object to and
from a string.
- See Also:
- Serialized Form
Methods inherited from class net.sf.hibernate.type.MutableType |
copy, isMutable |
Methods inherited from class net.sf.hibernate.type.NullableType |
deepCopy, fromString, getColumnSpan, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, sqlTypes, toString |
Methods inherited from class net.sf.hibernate.type.AbstractType |
assemble, disassemble, equals, hashCode, hydrate, isAssociationType, isComponentType, isDirty, isEntityType, isModified, isObjectType, isPersistentCollectionType, resolveIdentifier |
PropertiesType
public PropertiesType()
get
public Object get(ResultSet rs,
String name)
throws SQLException
- Throws:
SQLException
getReturnedClass
public Class getReturnedClass()
set
public void set(PreparedStatement st,
Object value,
int index)
throws SQLException
- Throws:
SQLException
sqlType
public int sqlType()
getName
public String getName()
toString
public String toString(Object value)
fromStringValue
public Object fromStringValue(String xml)
equals
public boolean equals(Object a,
Object b)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
hasNiceEquals
public boolean hasNiceEquals()
- Deprecated.
- (Suppress compiler error)
deepCopyNotNull
public Object deepCopyNotNull(Object value)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException