| 限定符和类型 | 字段和说明 |
|---|---|
Map<String,Object> |
_customFieldData
只处理自定义字段数据
|
Set<String> |
_removeKeySet
移除实体key
|
static String |
CUSTOM_FIELD_DATA_KEY |
| 限定符 | 构造器和说明 |
|---|---|
protected |
BaseCustomEntity() |
protected |
BaseCustomEntity(Map<String,Object> data)
有数据重写该方法
传入map 构建实体
1.
|
protected |
BaseCustomEntity(RemoveValueMapProvider provider) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll@NbField(exist=false) public final transient Map<String,Object> _customFieldData
protected BaseCustomEntity()
protected BaseCustomEntity(RemoveValueMapProvider provider)
protected void initByProvider(RemoveValueMapProvider provider)
public final <T> T get(String fieldName) throws cn.hutool.core.bean.BeanException
cn.hutool.core.bean.BeanExceptionpublic final <T> T get(String fieldName, boolean toCamelCase) throws cn.hutool.core.bean.BeanException
cn.hutool.core.bean.BeanExceptionpublic Map<String,Object> getReadOnlyDataUnderlineCaseMap()
public <E extends Enum<E>> E getEnum(Class<E> clazz, String key)
getEnum 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public Object getObj(String key)
getObj 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public String getStr(String key)
getStr 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public Integer getInt(String key)
getInt 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public Short getShort(String key)
getShort 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public Boolean getBool(String key)
getBool 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public Long getLong(String key)
getLong 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public Character getChar(String key)
getChar 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public Float getFloat(String key)
getFloat 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public Double getDouble(String key)
getDouble 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public Byte getByte(String key)
getByte 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public BigDecimal getBigDecimal(String key)
getBigDecimal 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public BigInteger getBigInteger(String key)
getBigInteger 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>public Date getDate(String key)
getDate 在接口中 cn.hutool.core.getter.BasicTypeGetter<String>@Deprecated public int size()
public boolean containsKey(Object key)
containsKey 在接口中 Map<String,Object>public boolean containsValue(Object value)
containsValue 在接口中 Map<String,Object>Copyright © 2023. All rights reserved.