public abstract class EntityType
extends kd.bos.dataentity.metadata.dynamicobject.DynamicObjectType
implements kd.bos.dataentity.entity.ISupportInitialize
构造器和说明 |
---|
EntityType() |
EntityType(java.lang.String name) |
限定符和类型 | 方法和说明 |
---|---|
void |
addProperty(kd.bos.dataentity.metadata.dynamicobject.DynamicProperty prop) |
void |
beginInit() |
void |
createPropIndexs()
创建实体属性关系
|
void |
endInit() |
kd.bos.dataentity.metadata.IDataEntityProperty |
findProperty(java.lang.String name)
查找属性
|
java.util.Map<java.lang.String,kd.bos.dataentity.metadata.IDataEntityProperty> |
getFields()
获取本实体的字段清单
|
int |
getRuleCount() |
EntityType |
getSubEntityType(java.util.Collection<java.lang.String> properties)
根据实体属性构造一个新的属性
|
boolean |
isDbIgnore() |
boolean |
isInitialized() |
void |
setRuleCount(int ruleCount) |
checkUnmodifiable, clone, createHashCode, createInstance, Extract, getAlias, getCacheType, getCacheTypeId, getClrType, getDBRouteKey, getDirtyProperties, getDirtyProperties, getDisplayName, getExtendName, getFlag, getFullIndexFields, getJsonSerializerProperties, getLocaleProperty, getName, getOrCreateLocaleType, getParent, getParent, getPkSnapshot, getPrimaryKey, getProperties, getProperty, getSortProperties, isDirty, isEmpty, isFullIndexDataSynced, isUnmodifiable, registerCollectionProperty, registerComplexProperty, registerProperty, registerSimpleProperty, setAlias, setCacheType, setCacheTypeId, setDBRouteKey, setDirty, setDisplayName, setExtendName, setFromDatabase, setName, setPkSnapshot, toString
public int getRuleCount()
public void setRuleCount(int ruleCount)
ruleCount
- 规则数量@KSMethod public kd.bos.dataentity.metadata.IDataEntityProperty findProperty(java.lang.String name)
name
- 属性名称@KSMethod public java.util.Map<java.lang.String,kd.bos.dataentity.metadata.IDataEntityProperty> getFields()
public void addProperty(kd.bos.dataentity.metadata.dynamicobject.DynamicProperty prop)
addProperty
在类中 kd.bos.dataentity.metadata.dynamicobject.DynamicObjectType
public void createPropIndexs()
@KSMethod public boolean isDbIgnore()
isDbIgnore
在接口中 kd.bos.dataentity.metadata.IMetadata
isDbIgnore
在类中 kd.bos.dataentity.metadata.dynamicobject.DynamicMetadata
@KSMethod public final EntityType getSubEntityType(java.util.Collection<java.lang.String> properties)
properties
- 属性列表includeRefId
- 是否包含引用属性public void beginInit()
beginInit
在接口中 kd.bos.dataentity.entity.ISupportInitialize
public boolean isInitialized()
isInitialized
在接口中 kd.bos.dataentity.entity.ISupportInitialize
public void endInit()
endInit
在接口中 kd.bos.dataentity.entity.ISupportInitialize