//生成EO的时候自动生成的字段  
  public static final int BRIEFINTRO = 88; String[][] str = null;
str = new String[][] { { "AliasName", getEntityDef().getAliasName() },
{ "ContainerName", getEntityDef().getContainerName() },
{ "DefName", getEntityDef().getDefName() },
{ "FullName", getEntityDef().getFullName() },
{ "Name", getEntityDef().getName() },
{ "Source", getEntityDef().getSource() },
{ "SourceType", getEntityDef().getSourceType() },
{ "getColumnName", getEntityDef().getAttributeDef(BRIEFINTRO).getColumnName() },
{ "getColumnNameForQuery", getEntityDef().getAttributeDef(BRIEFINTRO).getColumnNameForQuery() },
{ "getAttributeDef getName",getEntityDef().getAttributeDef(BRIEFINTRO).getName() },
{ "BriefIntro", getBriefIntro() },
{ "value", value },
                    { "getJavaType().getName()",getEntityDef().getAttributeDef(BRIEFINTRO).getJavaType().getName()} };
 LogUtil.of(str,this).print(this);

输出结果:

& AliasName  is  CuxPosSupplierDetailInfoEO
& ContainerName is server
& DefName is CuxPosSupplierDetailInfoEO
& FullName is cux.oracle.apps.pos.schema.server.CuxPosSupplierDetailInfoEO
& Name is CuxPosSupplierDetailInfoEO
& Source is CUX.CUX_POS_SUPPLIER_DETAIL_INFO
& SourceType is table
& getColumnName is BRIEF_INTRO
& getColumnNameForQuery is CuxPosSupplierDetailInfoEO.BRIEF_INTRO
& getAttributeDef getName is BriefIntro
& BriefIntro is 11AAAAAASS
& value is 11AAAAAASSss
& getJavaType().getName() is oracle.jbo.domain.Number

XvkPosAddrTaxRequestVOImpl vo = this.getXvkPosAddrTaxRequestVO1();
AttributeDef[] sourceAttrDefs = vo.getAttributeDefs();

sourceAttrDefs[i].getColumnName();

在EO中获取某字段基于表的列名的更多相关文章

  1. GridView控件RowDataBound事件中获取列字段值的几种途径

    前台: <asp:TemplateField HeaderText="充值总额|账号余额"> <ItemTemplate> <asp:Label ID ...

  2. MySQL中 如何查询表名中包含某字段的表

    查询tablename 数据库中 以"_copy" 结尾的表 select table_name from information_schema.tables where tabl ...

  3. MySQL中 如何查询表名中包含某字段的表 ,查询MySql数据库架构信息:数据库,表,表字段

    --查询tablename 数据库中 以"_copy" 结尾的表 select table_name from information_schema.tables where ta ...

  4. sql server 获取数据字段(表的字段和类型信息)

    获取数据字段(表的字段和类型信息) SELECT 表名= then d.name else '' end, 表说明= then isnull(f.value,'') else '' end, 字段序号 ...

  5. hive从查询中获取数据插入到表或动态分区

    Hive的insert语句能够从查询语句中获取数据,并同时将数据Load到目标表中.现在假定有一个已有数据的表staged_employees(雇员信息全量表),所属国家cnty和所属州st是该表的两 ...

  6. GridView控件RowDataBound事件中获取列字段途径

    今天不知道怎么回事怎么也找不到gridview列中的控件,关键是其为编辑时隐藏域中的控件,取值就很成问题了,网上搜了很到,找到这个比较经典的东东了,可能大家都知道,但很少对比整理到一起,有多种方法可以 ...

  7. GridView控件RowDataBound事件中获取列字段值的几种途径 !!!

    protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == ...

  8. EF中获取当前上下文的表名

    EF在处理并发上并不是很好,很多时候我们需要手动写sql操作数据库.但是在基类中我们如何获取当前服务仓储操作的表呢? 使用正则是其中一种解决办法 Repository.Table是一条查询语句,通过t ...

  9. SQLserver查询库中包含某个字段的表

    select [name] from [TPMS_PRD].[dbo].sysobjects where id in(select id from [TPMS_PRD].[dbo].syscolumn ...

随机推荐

  1. Android LCD(二):LCD常用接口原理篇(转)

    源: Android LCD(二):LCD常用接口原理篇

  2. linux 添加 swap

    1)在linux下,首先,查看内存和swap大小: [root@rhel6 usr]# free -m              total       used       free     sha ...

  3. 作为从业人员,如果一定要学一门新的编程语言,那么它一定是c++

    作为从业人员,如果一定要学一门新的编程语言,那么它一定是c++. 无论各种编程语言排行榜如何变化,什么语言最赚钱,想成为真正的程序员,那么c/c++是必修课,因为几乎所有的底层都是c/c++编写的,各 ...

  4. Ubuntu下使用face_recognition进行人脸识别

    Face Recognition是一个基于Python的人脸识别库,在github上地址如下:https://github.com/ageitgey/face_recognition. 看着挺好玩,本 ...

  5. Python3基础 dict items 以元组的形式打印出字典的每一个项

             Python : 3.7.0          OS : Ubuntu 18.04.1 LTS         IDE : PyCharm 2018.2.4       Conda ...

  6. Python3基础 file for+list 读取txt文本 并 一行一行的输出(低效率)

             Python : 3.7.0          OS : Ubuntu 18.04.1 LTS         IDE : PyCharm 2018.2.4       Conda ...

  7. PHP获取当前页面的网址

    PHP获取当前页面的网址 function GetCurUrl() { $url = 'http://'; if(isset($_SERVER['HTTPS']) AND $_SERVER['HTTP ...

  8. spring注解注入properties配置文件

    早期,如果需要通过spring读取properties文件中的配置信息,都需要在XML文件中配置文件读取方式. 基于XML的读取方式: <bean class="org.springf ...

  9. IL and 堆于栈

    CIL的基本构成+CIL操作码速记表+CIL操作码大全速查 引用类型:引用类型存储在堆中.类型实例化的时候,会在堆中开辟一部分空间存储类的实例.类对象的引用还是存储在栈中. 值类型:值类型总是分配在它 ...

  10. 一些WGS健康体检网站和公司

    1.wegen https://www.wegene.com/ 2.阅己基因 http://www.selfgene.com/