~ubuntu-branches/ubuntu/wily/libhibernate3-java/wily-proposed

« back to all changes in this revision

Viewing changes to src/org/hibernate/usertype/LoggableUserType.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-10-14 14:43:34 UTC
  • Revision ID: james.westby@ubuntu.com-20071014144334-eamc8i0q10gs1aro
Tags: upstream-3.2.5
ImportĀ upstreamĀ versionĀ 3.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.hibernate.usertype;
 
2
 
 
3
import org.hibernate.engine.SessionFactoryImplementor;
 
4
 
 
5
/**
 
6
 * Marker interface for user types which want to perform custom
 
7
 * logging of their corresponding values
 
8
 *
 
9
 * @author Steve Ebersole
 
10
 */
 
11
public interface LoggableUserType {
 
12
        /**
 
13
         * Generate a loggable string representation of the collection (value).
 
14
         *
 
15
         * @param value The collection to be logged; guarenteed to be non-null and initialized.
 
16
         * @param factory The factory.
 
17
         * @return The loggable string representation.
 
18
         */
 
19
        public String toLoggableString(Object value, SessionFactoryImplementor factory);
 
20
}