public class FieldInfo extends Object
| Constructor and Description |
|---|
FieldInfo(EntityInfo entityInfo,
Field field,
String column,
org.hibernate.mapping.Column tableColumn,
boolean lazyObject,
boolean lazyCollection,
Class<?> collectionGenericType,
Boolean nullable,
Integer length,
Integer scale,
Integer precision,
String columnDefinition) |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(String value) |
Object |
fieldValue(Object target) |
void |
fieldValue(Object target,
Object value) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
<T extends Annotation> |
getAnnotationsByType(Class<T> annotationClass) |
Class<?> |
getCollectionGenericType() |
String |
getColumn() |
String |
getColumnDefinition() |
Converter |
getConverter() |
EntityInfo |
getEntityInfo() |
String |
getFormat() |
Integer |
getLength() |
String |
getName() |
Boolean |
getNullable() |
Integer |
getPrecision() |
Integer |
getScale() |
org.hibernate.mapping.Column |
getTableColumn() |
Class<?> |
getType() |
Object |
getValue(Object target) |
boolean |
isLazyCollection() |
boolean |
isLazyObject() |
void |
setConverter(Converter converter) |
void |
setValue(Object target,
Object value) |
public EntityInfo getEntityInfo()
public String getColumn()
public String getName()
public Class<?> getType()
public Class<?> getCollectionGenericType()
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass)
public Annotation[] getAnnotations()
public Converter getConverter()
public void setConverter(Converter converter)
public boolean isLazyObject()
public boolean isLazyCollection()
public String getFormat()
public Boolean getNullable()
public Integer getLength()
public Integer getScale()
public Integer getPrecision()
public String getColumnDefinition()
public org.hibernate.mapping.Column getTableColumn()
public void setValue(Object target, Object value) throws CommonException
CommonExceptionpublic Object getValue(Object target) throws CommonException
CommonExceptionpublic void fieldValue(Object target, Object value) throws CommonException
CommonExceptionpublic Object fieldValue(Object target) throws CommonException
CommonExceptionCopyright © 2023. All rights reserved.