@KSObject public class TextProp extends FieldProp implements IScopeCheck
| 构造器和说明 |
|---|
TextProp() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkScope(java.lang.Object fldValue)
检查字段值是否在限定范围内;
|
java.lang.String |
getClientType() |
java.lang.String |
getDataScopeMessage(java.lang.Object fldValue)
超出数据范围时,给出的错误提示,以指导用户修正字段值
|
int |
getDbType() |
int |
getMaxLenth()
最大长度
|
int |
getMinLenth()
最小长度,默认为0
|
java.lang.Class<?> |
getPropertyType() |
java.util.List<AbstractValidator> |
getValidators() |
IValueComparator |
getValueComparator() |
void |
setMaxLenth(int maxLenth) |
void |
setMinLenth(int minLenth) |
applyDefaultValue, createAnalysisField, createAnalysisFields, createEntityTreeNode, 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, setFieldValue, setFieldValueForWebApi, 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, isSeriesNewTotepublic 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.DynamicProperty@KSMethod public int getMaxLenth()
public void setMaxLenth(int maxLenth)
maxLenth - 最大长度@KSMethod public int getMinLenth()
public void setMinLenth(int minLenth)
minLenth - 最小长度public IValueComparator getValueComparator()
getValueComparator 在接口中 IValidatorHanldergetValueComparator 在类中 FieldProppublic java.util.List<AbstractValidator> getValidators()
getValidators 在接口中 IValidatorHanldergetValidators 在类中 FieldProppublic boolean checkScope(java.lang.Object fldValue)
IScopeCheckcheckScope 在接口中 IScopeCheckfldValue - 当前字段值public java.lang.String getDataScopeMessage(java.lang.Object fldValue)
IScopeCheckgetDataScopeMessage 在接口中 IScopeCheckpublic java.lang.String getClientType()
getClientType 在类中 FieldProp