Class Property.PropertyBuilder
- java.lang.Object
-
- org.greenrobot.greendao.generator.Property.PropertyBuilder
-
- Enclosing class:
- Property
public static class Property.PropertyBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PropertyBuilder(Schema schema, Entity entity, PropertyType propertyType, java.lang.String propertyName)
-
Method Summary
-
-
-
Constructor Detail
-
PropertyBuilder
public PropertyBuilder(Schema schema, Entity entity, PropertyType propertyType, java.lang.String propertyName)
-
-
Method Detail
-
columnName
@Deprecated public Property.PropertyBuilder columnName(java.lang.String columnName)
Deprecated.
-
dbName
public Property.PropertyBuilder dbName(java.lang.String dbName)
-
columnType
@Deprecated public Property.PropertyBuilder columnType(java.lang.String columnType)
Deprecated.
-
dbType
public Property.PropertyBuilder dbType(java.lang.String dbType)
-
primaryKey
public Property.PropertyBuilder primaryKey()
-
primaryKeyAsc
public Property.PropertyBuilder primaryKeyAsc()
-
primaryKeyDesc
public Property.PropertyBuilder primaryKeyDesc()
-
autoincrement
public Property.PropertyBuilder autoincrement()
-
unique
public Property.PropertyBuilder unique()
-
notNull
public Property.PropertyBuilder notNull()
-
nonPrimitiveType
public Property.PropertyBuilder nonPrimitiveType()
-
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)
-
customType
public Property.PropertyBuilder customType(java.lang.String customType, java.lang.String converter)
-
codeBeforeField
public Property.PropertyBuilder codeBeforeField(java.lang.String code)
-
codeBeforeGetter
public Property.PropertyBuilder codeBeforeGetter(java.lang.String code)
-
codeBeforeSetter
public Property.PropertyBuilder codeBeforeSetter(java.lang.String code)
-
codeBeforeGetterAndSetter
public Property.PropertyBuilder codeBeforeGetterAndSetter(java.lang.String code)
-
javaDocField
public Property.PropertyBuilder javaDocField(java.lang.String javaDoc)
-
javaDocGetter
public Property.PropertyBuilder javaDocGetter(java.lang.String javaDoc)
-
javaDocSetter
public Property.PropertyBuilder javaDocSetter(java.lang.String javaDoc)
-
javaDocGetterAndSetter
public Property.PropertyBuilder javaDocGetterAndSetter(java.lang.String javaDoc)
-
getProperty
public Property getProperty()
-
-