|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.greenrobot.dao.Property
public class Property
Meta data describing a property mapped to a database column; used to create WhereCondition object used by the query builder.
Field Summary | |
---|---|
java.lang.String |
columnName |
java.lang.String |
name |
int |
oridinal |
boolean |
primaryKey |
java.lang.Class> |
type |
Constructor Summary | |
---|---|
Property(int oridinal, java.lang.Class> type, java.lang.String name, boolean primaryKey, java.lang.String columnName) |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final int oridinal
public final java.lang.Class> type
public final java.lang.String name
public final boolean primaryKey
public final java.lang.String columnName
Constructor Detail |
---|
public Property(int oridinal, java.lang.Class> type, java.lang.String name, boolean primaryKey, java.lang.String columnName)
Method Detail |
---|
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 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |