📄 jcometadata.html
字号:
</DL>
<HR>
<A NAME="TYPE_DATE"><!-- --></A><H3>
TYPE_DATE</H3>
<PRE>
static final int <B>TYPE_DATE</B></PRE>
<DL>
<DD>Date ( YYYYYMMDD ). Corresponds to ABAP type 'D'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_DATE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_BCD"><!-- --></A><H3>
TYPE_BCD</H3>
<PRE>
static final int <B>TYPE_BCD</B></PRE>
<DL>
<DD>Packed BCD number, any length between 1 and 16 bytes. Corresponds to ABAP type 'P'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_BCD">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_TIME"><!-- --></A><H3>
TYPE_TIME</H3>
<PRE>
static final int <B>TYPE_TIME</B></PRE>
<DL>
<DD>Time (HHMMSS). Corresponds to ABAP type 'T'
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_TIME">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_BYTE"><!-- --></A><H3>
TYPE_BYTE</H3>
<PRE>
static final int <B>TYPE_BYTE</B></PRE>
<DL>
<DD>Raw data, binary, fixed length, zero padded. Corresponds to ABAP type 'X'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_BYTE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_ITAB"><!-- --></A><H3>
TYPE_ITAB</H3>
<PRE>
static final int <B>TYPE_ITAB</B></PRE>
<DL>
<DD>Internal table. (Deprecated! Not used)
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_ITAB">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_NUM"><!-- --></A><H3>
TYPE_NUM</H3>
<PRE>
static final int <B>TYPE_NUM</B></PRE>
<DL>
<DD>Digits, fixed size,'0' padded. Corresponds to ABAP type 'N'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_NUM">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_FLOAT"><!-- --></A><H3>
TYPE_FLOAT</H3>
<PRE>
static final int <B>TYPE_FLOAT</B></PRE>
<DL>
<DD>Floating point,double precission. Corresponds to ABAP type 'F'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_FLOAT">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_INT"><!-- --></A><H3>
TYPE_INT</H3>
<PRE>
static final int <B>TYPE_INT</B></PRE>
<DL>
<DD>4-byte integer . Corresponds to ABAP type 'I'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_INT">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_INT2"><!-- --></A><H3>
TYPE_INT2</H3>
<PRE>
static final int <B>TYPE_INT2</B></PRE>
<DL>
<DD>2-byte integer . Corresponds to ABAP type 's'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_INT2">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_INT1"><!-- --></A><H3>
TYPE_INT1</H3>
<PRE>
static final int <B>TYPE_INT1</B></PRE>
<DL>
<DD>1-byte integer . Corresponds to ABAP type 'b'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_INT1">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_STRUCTURE"><!-- --></A><H3>
TYPE_STRUCTURE</H3>
<PRE>
static final int <B>TYPE_STRUCTURE</B></PRE>
<DL>
<DD>A heterogeneous structure. Corresponds to ABAP type 'u' and 'v'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_STRUCTURE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_DECF16"><!-- --></A><H3>
TYPE_DECF16</H3>
<PRE>
static final int <B>TYPE_DECF16</B></PRE>
<DL>
<DD>decimal floating point. Corresponds to ABAP type 'a'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_DECF16">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_DECF34"><!-- --></A><H3>
TYPE_DECF34</H3>
<PRE>
static final int <B>TYPE_DECF34</B></PRE>
<DL>
<DD>decimal floating point. Corresponds to ABAP type 'e'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_DECF34">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_STRING"><!-- --></A><H3>
TYPE_STRING</H3>
<PRE>
static final int <B>TYPE_STRING</B></PRE>
<DL>
<DD>UTF8 encoded string of variable length. Corresponds to ABAP type 'g'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_STRING">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_XSTRING"><!-- --></A><H3>
TYPE_XSTRING</H3>
<PRE>
static final int <B>TYPE_XSTRING</B></PRE>
<DL>
<DD>Byte array of variable length. Corresponds to ABAP type 'y'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_XSTRING">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_TABLE"><!-- --></A><H3>
TYPE_TABLE</H3>
<PRE>
static final int <B>TYPE_TABLE</B></PRE>
<DL>
<DD>A JCoTable. Corresponds to ABAP type 'h'.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_TABLE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_EXCEPTION"><!-- --></A><H3>
TYPE_EXCEPTION</H3>
<PRE>
static final int <B>TYPE_EXCEPTION</B></PRE>
<DL>
<DD>ABAP exception.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sap.conn.jco.JCoMetaData.TYPE_EXCEPTION">Constant Field Values</A></DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="indexOf(java.lang.String)"><!-- --></A><H3>
indexOf</H3>
<PRE>
int <B>indexOf</B>(java.lang.String fieldName)</PRE>
<DL>
<DD>Returns the index of the named field info
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - the name of the field for which the index is being returned
<DT><B>Returns:</B><DD>the index of the named field in the fields list
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/sap/conn/jco/JCoRuntimeException.html" title="class in com.sap.conn.jco">JCoRuntimeException</A></CODE> - with group JCO_ERROR_FIELD_NOT_FOUND if a field with this name does not exist</DL>
</DD>
</DL>
<HR>
<A NAME="hasField(java.lang.String)"><!-- --></A><H3>
hasField</H3>
<PRE>
boolean <B>hasField</B>(java.lang.String fieldName)</PRE>
<DL>
<DD>Checks whether a named field exists
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - the name of the field to check for existence
<DT><B>Returns:</B><DD><code>true</code> if the field with the specified name exist, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>Returns the name of the table/structure this meta-data describes
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The name of the underlying table/structure</DL>
</DD>
</DL>
<HR>
<A NAME="getFieldCount()"><!-- --></A><H3>
getFieldCount</H3>
<PRE>
int <B>getFieldCount</B>()</PRE>
<DL>
<DD>Returns the number of entries (fields)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the number of entries</DL>
</DD>
</DL>
<HR>
<A NAME="getName(int)"><!-- --></A><H3>
getName</H3>
<PRE>
java.lang.String <B>getName</B>(int index)</PRE>
<DL>
<DD>Returns the field name of the data field at the specified index The field name is used for identfying a field in a structure or table row.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field
<DT><B>Returns:</B><DD>The field name of the data field described by this meta information object.</DL>
</DD>
</DL>
<HR>
<A NAME="getRecordTypeName(int)"><!-- --></A><H3>
getRecordTypeName</H3>
<PRE>
java.lang.String <B>getRecordTypeName</B>(int index)</PRE>
<DL>
<DD>Returns the table/structure name of the data field or <code>null</code> if no table name is available
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field
<DT><B>Returns:</B><DD>The table/structure name of the data field described by this meta information object.</DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -