Class StringProperty<E extends CharSequence>

java.lang.Object
org.apache.cayenne.exp.property.BaseProperty<E>
org.apache.cayenne.exp.property.StringProperty<E>
All Implemented Interfaces:
ComparableProperty<E>, Property<E>

public class StringProperty<E extends CharSequence> extends BaseProperty<E> implements ComparableProperty<E>
Property that represents attributes mapped on string types

String type is an any type inherited from CharSequence.

Provides basic string functions like like(String), concat(Object...), upper() and contains(String)}.

Example:


 ObjectSelect.query(Artist.class)
      .where(Artist.FIRST_NAME.trim().concat(Artist.LAST_NAME.trim()).length().gt(30))
 
Since:
4.2
See Also: