com.atlassian.bamboo.hibernate
Class EscapedLikeExpression

java.lang.Object
  extended by net.sf.hibernate.expression.AbstractCriterion
      extended by com.atlassian.bamboo.hibernate.EscapedLikeExpression
All Implemented Interfaces:
net.sf.hibernate.expression.Criterion

public class EscapedLikeExpression
extends net.sf.hibernate.expression.AbstractCriterion


Constructor Summary
EscapedLikeExpression(java.lang.String propertyName, java.lang.Object value, java.lang.String escapeChar)
           
EscapedLikeExpression(java.lang.String propertyName, java.lang.Object value, java.lang.String escapeChar, boolean ignoreCase)
           
 
Method Summary
 net.sf.hibernate.engine.TypedValue[] getTypedValues(net.sf.hibernate.engine.SessionFactoryImplementor sessionFactory, java.lang.Class persistentClass, java.util.Map aliasClasses)
           
 EscapedLikeExpression ignoreCase()
           
 java.lang.String toSqlString(net.sf.hibernate.engine.SessionFactoryImplementor sessionFactory, java.lang.Class persistentClass, java.lang.String alias, java.util.Map aliasClasses)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.hibernate.expression.AbstractCriterion
getColumns, getType, getTypedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EscapedLikeExpression

public EscapedLikeExpression(java.lang.String propertyName,
                             java.lang.Object value,
                             java.lang.String escapeChar)

EscapedLikeExpression

public EscapedLikeExpression(java.lang.String propertyName,
                             java.lang.Object value,
                             java.lang.String escapeChar,
                             boolean ignoreCase)
Method Detail

ignoreCase

public EscapedLikeExpression ignoreCase()

toSqlString

public java.lang.String toSqlString(net.sf.hibernate.engine.SessionFactoryImplementor sessionFactory,
                                    java.lang.Class persistentClass,
                                    java.lang.String alias,
                                    java.util.Map aliasClasses)
                             throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

getTypedValues

public net.sf.hibernate.engine.TypedValue[] getTypedValues(net.sf.hibernate.engine.SessionFactoryImplementor sessionFactory,
                                                           java.lang.Class persistentClass,
                                                           java.util.Map aliasClasses)
                                                    throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

toString

public java.lang.String toString()
Specified by:
toString in class net.sf.hibernate.expression.AbstractCriterion


Copyright © 2012 Atlassian. All Rights Reserved.