@KSObject public class DecimalProp extends FieldProp implements IScopeCheck
| 构造器和说明 |
|---|
DecimalProp() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkScope(java.lang.Object fldValue)
检查数值有没有超出范围
|
java.util.Map<java.lang.String,java.lang.Object> |
createEntityTreeNode(EntityTreeNode entityTreeNode) |
java.lang.String |
getClientType() |
java.lang.String |
getControlPropName() |
java.lang.String |
getDataScope()
原始数据范围设定
|
java.lang.String |
getDataScopeMessage(java.lang.Object fldValue)
超出数据范围时,给出的错误提示,以指导用户修正字段值
|
int |
getDbType() |
java.math.BigDecimal |
getMax()
值范围:最大值
|
java.math.BigDecimal |
getMin()
值范围:最小值
|
int |
getPrecision() |
java.lang.Class<?> |
getPropertyType() |
int |
getRoundingMode()
舍入模式
|
int |
getScale() |
java.util.List<AbstractValidator> |
getValidators() |
IValueComparator |
getValueComparator() |
boolean |
isInclMax() |
boolean |
isInclMin() |
boolean |
isUseRegion() |
void |
setControlPropName(java.lang.String controlPropName) |
void |
setDataScope(java.lang.String dataScope) |
void |
setFieldValue(IDataModel model,
java.lang.Object dataEntity,
java.lang.Object Value) |
void |
setFieldValueForWebApi(IDataModel model,
java.lang.Object dataEntity,
java.lang.Object value)
WebApi上传数据时设置字段的值,特殊的字段需要值转换进行重载,缺省实现和 setFieldValue一致
|
void |
setInclMax(boolean inclMax) |
void |
setInclMin(boolean inclMin) |
void |
setMax(java.math.BigDecimal max) |
void |
setMin(java.math.BigDecimal min) |
void |
setPrecision(int precision) |
void |
setScale(int scale) |
void |
setUseRegion(boolean useRegion) |
applyDefaultValue, createAnalysisField, createAnalysisFields, createEntityTreeNodes, createEntityTreeNodes, createFilterField, createFilterFields, getBasePropDisplayValue, getCompareGroupID, getCompareProp, getCompareTypes, getDefaultCompareTypeId, getDefaultMultiCompareTypeId, getDefValue, getDefValue2, getFeatures, getFilterControlType, getListColumnDesc, isGroupControl, isMustInput, isSysField, isZeroShow, setCompareGroupID, setDefaultCompareTypeId, setDefaultMultiCompareTypeId, setDefValue, setDefValue2, setFeatures, setFilterControlType, setGroupControl, setMustInput, setSysField, setZeroShow, toStringgetTableGroup, isEmpty, isEncrypt, isLocalizable, isPrimaryKey, resetValue, setDbType, setEncrypt, setPrimaryKey, setTableGroup, shouldSerializeValueclone, createHashCode, findTrueProperty, getAlias, getDefaultValue, getDisplayName, getDTValue, getDTValueFast, getIsReadOnly, getName, getOrdinal, getParent, getReadOnly, getValue, getValueFast, hasDefaultValue, resetDTValue, setAlias, setDefaultValue, setDisplayName, setDTValue, setDTValueFast, setName, setOrdinal, setValue, setValueFastequals, hashCode, isDbIgnore, setDbIgnoreafterCreateFilterColumn, getDisplayName, getFieldDefaultValue, getFieldDefaultValue2, isAllowvoucher, isAnalysisField, isBulkEditable, isConvertTote, isCopyable, isExportable, isF7BatchFill, isImportable, isMultiFillable, isSeriesNewTote@KSMethod public java.lang.String getControlPropName()
public void setControlPropName(java.lang.String controlPropName)
@KSMethod public boolean isUseRegion()
public void setUseRegion(boolean useRegion)
@KSMethod public int getPrecision()
public void setPrecision(int precision)
@KSMethod public int getScale()
public void setScale(int scale)
public java.lang.String getDataScope()
public void setDataScope(java.lang.String dataScope)
@KSMethod public java.math.BigDecimal getMin()
public void setMin(java.math.BigDecimal min)
@KSMethod public java.math.BigDecimal getMax()
public void setMax(java.math.BigDecimal max)
@KSMethod public boolean isInclMin()
public void setInclMin(boolean inclMin)
@KSMethod public boolean isInclMax()
public void setInclMax(boolean inclMax)
public int getDbType()
getDbType 在接口中 kd.bos.dataentity.metadata.ISimplePropertygetDbType 在接口中 IFieldHandlegetDbType 在类中 kd.bos.dataentity.metadata.dynamicobject.DynamicSimplePropertypublic java.lang.Class<?> getPropertyType()
getPropertyType 在接口中 kd.bos.dataentity.metadata.IDataEntityPropertygetPropertyType 在类中 kd.bos.dataentity.metadata.dynamicobject.DynamicPropertypublic void setFieldValueForWebApi(IDataModel model, java.lang.Object dataEntity, java.lang.Object value)
FieldPropsetFieldValueForWebApi 在接口中 IFieldHandlesetFieldValueForWebApi 在类中 FieldProp@KSMethod public void setFieldValue(IDataModel model, java.lang.Object dataEntity, java.lang.Object Value)
setFieldValue 在接口中 IFieldHandlesetFieldValue 在类中 FieldProppublic java.util.Map<java.lang.String,java.lang.Object> createEntityTreeNode(EntityTreeNode entityTreeNode)
createEntityTreeNode 在类中 FieldProppublic java.lang.String getClientType()
getClientType 在类中 FieldProppublic int getRoundingMode()
public IValueComparator getValueComparator()
getValueComparator 在接口中 IValidatorHanldergetValueComparator 在类中 FieldProppublic java.util.List<AbstractValidator> getValidators()
getValidators 在接口中 IValidatorHanldergetValidators 在类中 FieldProppublic boolean checkScope(java.lang.Object fldValue)
checkScope 在接口中 IScopeCheckfldValue - public java.lang.String getDataScopeMessage(java.lang.Object fldValue)
IScopeCheckgetDataScopeMessage 在接口中 IScopeCheck