public class Property
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Property.PropertyBuilder |
Constructor and Description |
---|
Property(Schema schema,
Entity entity,
PropertyType propertyType,
java.lang.String propertyName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCodeBeforeField() |
java.lang.String |
getCodeBeforeGetter() |
java.lang.String |
getCodeBeforeSetter() |
java.lang.String |
getColumnName() |
java.lang.String |
getColumnType() |
java.lang.String |
getConstraints() |
java.lang.String |
getConverter() |
java.lang.String |
getConverterClassName() |
java.lang.String |
getCustomType() |
java.lang.String |
getCustomTypeClassName() |
java.lang.String |
getDatabaseValueExpression() |
java.lang.String |
getDatabaseValueExpression(java.lang.String entityValue) |
java.lang.String |
getDatabaseValueExpressionNotNull() |
Entity |
getEntity() |
java.lang.String |
getEntityValueExpression(java.lang.String databaseValue) |
java.lang.String |
getJavaDocField() |
java.lang.String |
getJavaDocGetter() |
java.lang.String |
getJavaDocSetter() |
java.lang.String |
getJavaType() |
java.lang.String |
getJavaTypeInEntity() |
int |
getOrdinal() |
java.lang.String |
getPropertyName() |
PropertyType |
getPropertyType() |
boolean |
isAutoincrement() |
boolean |
isNotNull() |
boolean |
isPrimaryKey() |
boolean |
isUnique() |
void |
setPropertyType(PropertyType propertyType) |
java.lang.String |
toString() |
public Property(Schema schema, Entity entity, PropertyType propertyType, java.lang.String propertyName)
public java.lang.String getPropertyName()
public PropertyType getPropertyType()
public void setPropertyType(PropertyType propertyType)
public java.lang.String getColumnName()
public java.lang.String getColumnType()
public boolean isPrimaryKey()
public boolean isAutoincrement()
public java.lang.String getConstraints()
public boolean isUnique()
public boolean isNotNull()
public java.lang.String getJavaType()
public java.lang.String getJavaTypeInEntity()
public int getOrdinal()
public java.lang.String getCustomType()
public java.lang.String getCustomTypeClassName()
public java.lang.String getConverter()
public java.lang.String getConverterClassName()
public java.lang.String getCodeBeforeField()
public java.lang.String getCodeBeforeGetter()
public java.lang.String getCodeBeforeSetter()
public java.lang.String getJavaDocField()
public java.lang.String getJavaDocGetter()
public java.lang.String getJavaDocSetter()
public java.lang.String getDatabaseValueExpression()
public java.lang.String getDatabaseValueExpressionNotNull()
public java.lang.String getDatabaseValueExpression(java.lang.String entityValue)
public java.lang.String getEntityValueExpression(java.lang.String databaseValue)
public Entity getEntity()
public java.lang.String toString()
toString
in class java.lang.Object
Available under the GPLv3 - Copyright © 2011-2015 greenrobot.de. All Rights Reserved.