//生成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. Python3 itchat实现微信定时发送群消息

    Python3 itchat实现微信定时发送群消息 一.简介 1,使用微信,定时往指定的微信群里发送指定信息. 2,需要发送的内容使用excel进行维护,指定要发送的微信群名.时间.内容. 二.py库 ...

  2. c++的友元类、方法及其益处

    在java中,我们知道除了public和private,protected外,还有默认的包可见性访问级别,虽然如此,很多时候出于早期设计缺陷的原因,我们需要访问一些包或者protected可见性级别的 ...

  3. node包管理工具--nvm(windows)

    windows 安装nvw-windows 使用nvm工具: windows使用nvm-noinstall.zip安装 nvm-noinstall.zip 这个是绿色免安装版本,但是使用之前需要配置 ...

  4. CodeForces 471D MUH and Cube Walls -KMP

    Polar bears Menshykov and Uslada from the zoo of St. Petersburg and elephant Horace from the zoo of ...

  5. Python3基础 file open 打开txt文件并打印出全文

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

  6. openwrt的编译方法

    1.获取最新包 ./scripts/feeds update -a 2.安装包 ./scripts/feeds install -a 3.配置 make menuconfig 4.编译 make -j ...

  7. BZOJ2662: [BeiJing wc2012]冻结 spfa+分层图

    Description “我要成为魔法少女!”     “那么,以灵魂为代价,你希望得到什么?” “我要将有关魔法和奇迹的一切,封印于卡片之中„„”        在这个愿望被实现以后的世界里,人们享 ...

  8. 通过java代码对kylin进行cube build

    转:http://www.cnblogs.com/hark0623/p/5580632.html 通常是用于增量 代码如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 ...

  9. EasyUI ---- draggable可拖动的用法

    <link href="~/Scripts/easyui1.5/themes/default/easyui.css" rel="stylesheet" / ...

  10. dos与unix系统的格式转化

    unix 只用\n作为行结束符,而在 dos中是以\r和\n作为行结束符, 如果一个文件是在unix系统下创建,然后想在dos下使用,就要用unix2dos,如 unix2dos file 如果一个文 ...