//生成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. c++第十四天

    <c++ primer, 5E> 第91页到第94页,笔记: 1.vector支持的操作. v.empty().v.size().v.push_back(t).v[n] 2.试图通过下标访 ...

  2. 编译安装vsftpd-3.0.2

    编译安装vsftpd 首先下载源码包(我一般喜欢放在/home/test) 解压:tar -zxvf vsftpd-3.0.2.tar.gz 进入目录进行编译 cd vsftpd-3.0.2 编译之前 ...

  3. 20145307陈俊达_安卓逆向分析_APKtools分析smail

    20145307陈俊达_安卓逆向分析_APKtools分析smail 引言 真刺激呢!到了第二篇博客了,难度开始加大,之前是简单的dex2jar和有图形界面的jd-gui,现在来隆重介绍强大的反汇编工 ...

  4. POJ 2425 A Chess Game(有向图SG函数)题解

    题意:给一个有向图,然后个m颗石头放在图上的几个点上,每次只能移动一步,如果不能移动者败 思路:dfs打表sg函数,然后求异或和 代码: #include<queue> #include& ...

  5. 使用InputStreamReader读入,使用OutputStreamWriter写出,将一首诗按行重写?

    https://www.processon.com/view/link/5b1a3880e4b00490ac8f5f40 改善后: (可将不管一行有几个字时的不规律的文本,按行倒写) package ...

  6. Java Session 会话技术

    什么是Java Session? 大图:http://images2017.cnblogs.com/blog/1030087/201712/1030087-20171223235950881-1310 ...

  7. 使用Docfx生成项目文档

    使用docfx.console生成本项目的文档 使用docfx.console生成其他项目的文档 直接使用docfx.exe生成项目文档 指定配置文档模板   文档地址:http://gitlab.l ...

  8. python PIL 图像处理库简介(一)

    1. Introduction     PIL(Python Image Library)是python的第三方图像处理库,但是由于其强大的功能与众多的使用人数,几乎已经被认为是python官方图像处 ...

  9. Python day20正则表达式和re方法

    元字符6个函数以及几个元字符1.'.'通配符2.'^'以什么开头3.'$'以什么结尾4.'*'紧挨着的字符0~∞次5.'+'紧挨着的字符1~∞次6.'?'紧挨的字符0次或1次7.'{}' {0,}== ...

  10. STL__size_t, ptrdiff_t, size_type, difference_type

    http://blog.csdn.net/zhaowei123191/article/details/5617559 ize_t 是unsigned类型, 用于指明数组长度或下标,它必须是一个正数,s ...