de.greenrobot.daogenerator
Class Property
java.lang.Object
de.greenrobot.daogenerator.Property
-
public class Property
- extends java.lang.Object
-
Model class for an entity's property: a Java property mapped to a data base column.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Property
public Property(Schema schema,
Entity entity,
PropertyType propertyType,
java.lang.String propertyName)
getPropertyName
public java.lang.String getPropertyName()
-
getPropertyType
public PropertyType getPropertyType()
-
setPropertyType
public void setPropertyType(PropertyType propertyType)
-
getColumnName
public java.lang.String getColumnName()
-
getColumnType
public java.lang.String getColumnType()
-
isPrimaryKey
public boolean isPrimaryKey()
-
getConstraints
public java.lang.String getConstraints()
-
isUnique
public boolean isUnique()
-
isNotNull
public boolean isNotNull()
-
getJavaType
public java.lang.String getJavaType()
-
getOrdinal
public int getOrdinal()
-
setOrdinal
public void setOrdinal(int ordinal)
-
getEntity
public Entity getEntity()
-
toString
public java.lang.String toString()
-
- Overrides:
-
toString
in class java.lang.Object
-
Copyright © 2011-2012 greenrobot.de. All Rights Reserved.