public class CustomItem extends AbstractItem
DATA_SIZE_NAME, DEFAULT_VALUE, DIC_INFO_NAME, FORCE_DEFAULT, FOREIGN_NAME, FORMAT_NAME, HIDDEN_NAME, ISKEY_NAME, NEED_SECURITY, REQUIRED_NAME, STORE_TYPE, URL_NAME, WEB_PREFIX, XTYPE_NAME| 构造器和说明 |
|---|
CustomItem(String newName,
IEmapItem base)
通过一个现有的元素构造一个新的元素。
|
CustomItem(String name,
String colName,
String type)
构造一个新的元素。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getAttribute(String name) |
String[] |
getAttributeNames() |
self.micromagic.eterna.share.AttributeManager |
getAttrManager() |
String |
getCaption() |
String |
getColumnName() |
String |
getForeignCaption()
获取外文标题.
|
String |
getName() |
self.micromagic.eterna.security.PermissionSet |
getPermissionSet() |
int |
getType() |
void |
initialize(self.micromagic.eterna.dao.Entity entity) |
void |
merge(self.micromagic.eterna.dao.EntityItem other) |
void |
setAttribute(String name,
Object value) |
void |
setCaption(String caption)
设置元素的标题。
|
void |
setForeignCaption(String caption)
设置元素的外文标题。
|
getDataSize, isKey, isRequired, needSecuritypublic CustomItem(String name, String colName, String type)
name - 名称colName - 列名type - 类型public Object getAttribute(String name) throws self.micromagic.eterna.share.EternaException
self.micromagic.eterna.share.EternaExceptionpublic String[] getAttributeNames() throws self.micromagic.eterna.share.EternaException
self.micromagic.eterna.share.EternaExceptionpublic self.micromagic.eterna.share.AttributeManager getAttrManager()
public void setCaption(String caption)
caption - 标题public String getCaption() throws self.micromagic.eterna.share.EternaException
self.micromagic.eterna.share.EternaExceptionpublic void setForeignCaption(String caption)
caption - 标题public String getName() throws self.micromagic.eterna.share.EternaException
self.micromagic.eterna.share.EternaExceptionpublic String getColumnName() throws self.micromagic.eterna.share.EternaException
self.micromagic.eterna.share.EternaExceptionpublic int getType()
throws self.micromagic.eterna.share.EternaException
self.micromagic.eterna.share.EternaExceptionpublic self.micromagic.eterna.security.PermissionSet getPermissionSet()
throws self.micromagic.eterna.share.EternaException
self.micromagic.eterna.share.EternaExceptionpublic void merge(self.micromagic.eterna.dao.EntityItem other)
throws self.micromagic.eterna.share.EternaException
self.micromagic.eterna.share.EternaExceptionpublic void initialize(self.micromagic.eterna.dao.Entity entity)
throws self.micromagic.eterna.share.EternaException
self.micromagic.eterna.share.EternaExceptionCopyright © 2022. All rights reserved.