de.greenrobot.daogenerator
Class Property.PropertyBuilder
java.lang.Object
de.greenrobot.daogenerator.Property.PropertyBuilder
- Enclosing class:
- Property
public static class Property.PropertyBuilder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Property.PropertyBuilder
public Property.PropertyBuilder(Schema schema,
Entity entity,
PropertyType propertyType,
java.lang.String propertyName)
columnName
public Property.PropertyBuilder columnName(java.lang.String columnName)
columnType
public Property.PropertyBuilder columnType(java.lang.String columnType)
primaryKey
public Property.PropertyBuilder primaryKey()
primaryKeyAsc
public Property.PropertyBuilder primaryKeyAsc()
primaryKeyDesc
public Property.PropertyBuilder primaryKeyDesc()
unique
public Property.PropertyBuilder unique()
notNull
public Property.PropertyBuilder notNull()
index
public Property.PropertyBuilder index()
indexAsc
public Property.PropertyBuilder indexAsc(java.lang.String indexNameOrNull,
boolean isUnique)
indexDesc
public Property.PropertyBuilder indexDesc(java.lang.String indexNameOrNull,
boolean isUnique)
getProperty
public Property getProperty()
Copyright © 2011 greenrobot.de. All Rights Reserved.