public class Property
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
columnName |
java.lang.String |
name |
int |
ordinal |
boolean |
primaryKey |
java.lang.Class<?> |
type |
Constructor and Description |
---|
Property(int ordinal,
java.lang.Class<?> type,
java.lang.String name,
boolean primaryKey,
java.lang.String columnName) |
Modifier and Type | Method and Description |
---|---|
WhereCondition |
between(java.lang.Object value1,
java.lang.Object value2)
Creates an "BETWEEN ...
|
WhereCondition |
eq(java.lang.Object value)
Creates an "equal ('=')" condition for this property.
|
WhereCondition |
ge(java.lang.Object value)
Creates an "greater or equal ('>=')" condition for this property.
|
WhereCondition |
gt(java.lang.Object value)
Creates an "greater than ('>')" condition for this property.
|
WhereCondition |
in(java.util.Collection<?> inValues)
Creates an "IN (..., ..., ...)" condition for this property.
|
WhereCondition |
in(java.lang.Object... inValues)
Creates an "IN (..., ..., ...)" condition for this property.
|
WhereCondition |
isNotNull()
Creates an "IS NOT NULL" condition for this property.
|
WhereCondition |
isNull()
Creates an "IS NULL" condition for this property.
|
WhereCondition |
le(java.lang.Object value)
Creates an "less or equal ('<=')" condition for this property.
|
WhereCondition |
like(java.lang.String value)
Creates an "LIKE" condition for this property.
|
WhereCondition |
lt(java.lang.Object value)
Creates an "less than ('<')" condition for this property.
|
WhereCondition |
notEq(java.lang.Object value)
Creates an "not equal ('<>')" condition for this property.
|
WhereCondition |
notIn(java.util.Collection<?> notInValues)
Creates an "NOT IN (..., ..., ...)" condition for this property.
|
WhereCondition |
notIn(java.lang.Object... notInValues)
Creates an "NOT IN (..., ..., ...)" condition for this property.
|
public final int ordinal
public final java.lang.Class<?> type
public final java.lang.String name
public final boolean primaryKey
public final java.lang.String columnName
public Property(int ordinal, java.lang.Class<?> type, java.lang.String name, boolean primaryKey, java.lang.String columnName)
public WhereCondition eq(java.lang.Object value)
public WhereCondition notEq(java.lang.Object value)
public WhereCondition like(java.lang.String value)
public WhereCondition between(java.lang.Object value1, java.lang.Object value2)
public WhereCondition in(java.lang.Object... inValues)
public WhereCondition in(java.util.Collection<?> inValues)
public WhereCondition notIn(java.lang.Object... notInValues)
public WhereCondition notIn(java.util.Collection<?> notInValues)
public WhereCondition gt(java.lang.Object value)
public WhereCondition lt(java.lang.Object value)
public WhereCondition ge(java.lang.Object value)
public WhereCondition le(java.lang.Object value)
public WhereCondition isNull()
public WhereCondition isNotNull()
Available under the Apache License, Version 2.0 - Copyright © 2011-2015 greenrobot.de. All Rights Reserved.