public class SQLProperty extends ManagedModelProperty
isProperty| Modifier and Type | Field and Description |
|---|---|
String |
columnName
typeName of the column
|
ColumnType |
columnType
type of column
|
String |
foreignClassName
class name of referred table
|
protected boolean |
nullable |
protected boolean |
primaryKey |
bindPropertyannotations, fieldWithGetter, fieldWithIs, fieldWithSetter, parent, propertyType, publicFieldelement, name| Constructor and Description |
|---|
SQLProperty(SQLEntity entity,
Element element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasForeignKeyClassName() |
boolean |
isNullable() |
boolean |
isPrimaryKey() |
void |
setNullable(boolean nullable) |
void |
setPrimaryKey(boolean primaryKey) |
accept, addAnnotation, equals, getAnnotation, getParent, getPropertyType, hasAnnotation, hashCode, isFieldWithGetter, isFieldWithIs, isFieldWithSetter, isProperty, isPublicField, isType, isType, setFieldWithGetter, setFieldWithIs, setFieldWithSettergetElement, getNameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetElementpublic String columnName
protected boolean nullable
protected boolean primaryKey
public ColumnType columnType
public String foreignClassName
public void setPrimaryKey(boolean primaryKey)
primaryKey - the primaryKey to setpublic boolean isNullable()
public void setNullable(boolean nullable)
nullable - the nullable to setpublic boolean isPrimaryKey()
public boolean hasForeignKeyClassName()
Copyright © 2017. All rights reserved.