public static class Property.PropertyBuilder
extends java.lang.Object
Constructor and Description |
---|
Property.PropertyBuilder(Schema schema,
Entity entity,
PropertyType propertyType,
java.lang.String propertyName) |
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.PropertyBuilder customType(java.lang.String customType, java.lang.String converter)
public Property.PropertyBuilder codeBeforeField(java.lang.String code)
public Property.PropertyBuilder codeBeforeGetter(java.lang.String code)
public Property.PropertyBuilder codeBeforeSetter(java.lang.String code)
public Property.PropertyBuilder codeBeforeGetterAndSetter(java.lang.String code)
public Property.PropertyBuilder javaDocField(java.lang.String javaDoc)
public Property.PropertyBuilder javaDocGetter(java.lang.String javaDoc)
public Property.PropertyBuilder javaDocSetter(java.lang.String javaDoc)
public Property.PropertyBuilder javaDocGetterAndSetter(java.lang.String javaDoc)
public Property getProperty()
Available under the GPLv3 - Copyright © 2011-2015 greenrobot.de. All Rights Reserved.