de.greenrobot.daogenerator
Class Property.PropertyBuilder

java.lang.Object
  extended by de.greenrobot.daogenerator.Property.PropertyBuilder
Enclosing class:
Property

public static class Property.PropertyBuilder
extends java.lang.Object

    


Constructor Summary
Property.PropertyBuilder(Schema schema, Entity entity, PropertyType propertyType, java.lang.String propertyName)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property.PropertyBuilder

public Property.PropertyBuilder(Schema schema,
                                Entity entity,
                                PropertyType propertyType,
                                java.lang.String propertyName)
Method Detail

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-2012 greenrobot.de. All Rights Reserved.