public static class Property.PropertyBuilder
extends java.lang.Object
| Constructor and Description |
|---|
Property.PropertyBuilder(Schema schema,
Entity entity,
PropertyType propertyType,
java.lang.String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
Property.PropertyBuilder |
autoincrement() |
Property.PropertyBuilder |
columnName(java.lang.String columnName) |
Property.PropertyBuilder |
columnType(java.lang.String columnType) |
Property |
getProperty() |
Property.PropertyBuilder |
index() |
Property.PropertyBuilder |
indexAsc(java.lang.String indexNameOrNull,
boolean isUnique) |
Property.PropertyBuilder |
indexDesc(java.lang.String indexNameOrNull,
boolean isUnique) |
Property.PropertyBuilder |
notNull() |
Property.PropertyBuilder |
primaryKey() |
Property.PropertyBuilder |
primaryKeyAsc() |
Property.PropertyBuilder |
primaryKeyDesc() |
Property.PropertyBuilder |
unique() |
public Property.PropertyBuilder(Schema schema, Entity entity, PropertyType propertyType, java.lang.String propertyName)
public Property.PropertyBuilder columnName(java.lang.String columnName)
public Property.PropertyBuilder columnType(java.lang.String columnType)
public Property.PropertyBuilder primaryKey()
public Property.PropertyBuilder primaryKeyAsc()
public Property.PropertyBuilder primaryKeyDesc()
public Property.PropertyBuilder autoincrement()
public Property.PropertyBuilder unique()
public Property.PropertyBuilder notNull()
public Property.PropertyBuilder index()
public Property.PropertyBuilder indexAsc(java.lang.String indexNameOrNull, boolean isUnique)
public Property.PropertyBuilder indexDesc(java.lang.String indexNameOrNull, boolean isUnique)
public Property getProperty()
Available under the GPLv3 - Copyright © 2011-2013 greenrobot.de. All Rights Reserved.