public class FieldMapping
extends java.lang.Object
| 构造器和说明 |
|---|
FieldMapping(java.lang.reflect.Field field,
xyz.noark.reflectasm.MethodAccess methodAccess) |
| 限定符和类型 | 方法和说明 |
|---|---|
xyz.noark.core.annotation.orm.Column |
getColumn() |
java.lang.String |
getColumnComment() |
java.lang.String |
getColumnName() |
java.lang.String |
getDefaultValue() |
java.lang.reflect.Field |
getField() |
java.lang.reflect.Type |
getFieldClass() |
int |
getGetMethodIndex() |
int |
getPrecision() |
int |
getScale() |
int |
getSetMethodIndex() |
FieldType |
getType() |
int |
getWidth() |
boolean |
hasColumnComment() |
boolean |
hasDefaultValue() |
boolean |
isBlob() |
boolean |
isBoolean() |
boolean |
isDouble() |
boolean |
isFloat() |
boolean |
isInt() |
boolean |
isJson() |
boolean |
isLong() |
boolean |
isNotNull() |
boolean |
isPlayerId() |
boolean |
isPrimaryId() |
boolean |
isString() |
void |
setColumnName(java.lang.String columnName) |
void |
setWidth(int width) |
public FieldMapping(java.lang.reflect.Field field,
xyz.noark.reflectasm.MethodAccess methodAccess)
public java.lang.reflect.Field getField()
public java.lang.reflect.Type getFieldClass()
public xyz.noark.core.annotation.orm.Column getColumn()
public void setColumnName(java.lang.String columnName)
public java.lang.String getColumnName()
public void setWidth(int width)
public int getWidth()
public FieldType getType()
public boolean isPrimaryId()
public boolean isPlayerId()
public int getPrecision()
public int getScale()
public boolean isNotNull()
public boolean hasDefaultValue()
public java.lang.String getDefaultValue()
public boolean hasColumnComment()
public java.lang.String getColumnComment()
public int getGetMethodIndex()
public int getSetMethodIndex()
public boolean isString()
public boolean isBoolean()
public boolean isInt()
public boolean isLong()
public boolean isFloat()
public boolean isDouble()
public boolean isBlob()
public boolean isJson()