Package org.silverpeas.components.mydb.model.predicates

# Class Like

java.lang.Object
org.silverpeas.components.mydb.model.predicates.AbstractColumnValuePredicate
org.silverpeas.components.mydb.model.predicates.Like

All Implemented Interfaces:
  `ColumnValuePredicate`

public class Like extends AbstractColumnValuePredicate
The like predicate.

Author:
  silveryocha

- ## Field Summary

  ### Fields inherited from class org.silverpeas.components.mydb.model.predicates.AbstractColumnValuePredicate

  `EMPTY_VALUE, NULL_VALUE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Like(DbColumn column, String refValue)`
  Constructs a new predicate on the specified database table's column and with the given reference value.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.silverpeas.core.persistence.jdbc.sql.JdbcSqlQuery`
  `apply(org.silverpeas.core.persistence.jdbc.sql.JdbcSqlQuery query)`

  ### Methods inherited from class org.silverpeas.components.mydb.model.predicates.AbstractColumnValuePredicate

  `getColumn`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### Like

    public Like(DbColumn column, String refValue)
    Constructs a new predicate on the specified database table's column and with the given reference value.
    Parameters:
      `column` - the name of a column.
      `refValue` - a reference value.

- ## Method Details

  - ### apply

    public org.silverpeas.core.persistence.jdbc.sql.JdbcSqlQuery apply(org.silverpeas.core.persistence.jdbc.sql.JdbcSqlQuery query)
    Specified by:
      `apply` in class `AbstractColumnValuePredicate`