⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jco.metadata.html

📁 SAP ERP的二次开发
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sap/mw/jco/JCO.MetaData.html#setExtendedFieldMetaData(com.sap.mw.jco.IExtendedFieldMetaData, java.lang.String)">setExtendedFieldMetaData</A></B>(com.sap.mw.jco.IExtendedFieldMetaData&nbsp;extended_field_meta_data,                         java.lang.String&nbsp;field_name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the extended field meta data object</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sap/mw/jco/JCO.MetaData.html#setFlags(int, int)">setFlags</A></B>(int&nbsp;index,         int&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the flags for the specified field</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sap/mw/jco/JCO.MetaData.html#setNestedType1Structure(boolean)">setNestedType1Structure</A></B>(boolean&nbsp;isType1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets that this MetaData is a nested TYPE1 structure, which is a structure with a fixed length in memory, but with a nested layout</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sap/mw/jco/JCO.MetaData.html#setTabLength(int)">setTabLength</A></B>(int&nbsp;tab_length)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the total length of a structure or single row of a table</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sap/mw/jco/JCO.MetaData.html#toString()">toString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts to a string</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sap/mw/jco/JCO.MetaData.html#writeHTML(java.lang.String)">writeHTML</A></B>(java.lang.String&nbsp;html_filename)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dump the meta data to a file  This method comes in handy for debugging purposes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sap/mw/jco/JCO.MetaData.html#writeHTML(java.io.Writer)">writeHTML</A></B>(java.io.Writer&nbsp;writer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dump the meta data to a stream  This method comes in handy for debugging purposes.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="JCO.MetaData(java.lang.String)"><!-- --></A><H3>
JCO.MetaData</H3>
<PRE>
public <B>JCO.MetaData</B>(java.lang.String&nbsp;rec_name)</PRE>
<DL>
<DD>Creates an instance of the meta data object<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rec_name</CODE> - the name of the table/structure</DL>
</DD>
</DL>
<HR>

<A NAME="JCO.MetaData(java.lang.String, int)"><!-- --></A><H3>
JCO.MetaData</H3>
<PRE>
public <B>JCO.MetaData</B>(java.lang.String&nbsp;rec_name,                    int&nbsp;capacity)</PRE>
<DL>
<DD>Creates an instance of the meta data object  and preallocates data structures for the specifed number of entries.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rec_name</CODE> - the name of the table/structure<DD><CODE>capacity</CODE> - no. of data fields to preallocate</DL>
</DD>
</DL>
<HR>

<A NAME="JCO.MetaData(com.sap.mw.jco.IMetaData)"><!-- --></A><H3>
JCO.MetaData</H3>
<PRE>
public <B>JCO.MetaData</B>(<A HREF="../../../../com/sap/mw/jco/IMetaData.html">IMetaData</A>&nbsp;obj)</PRE>
<DL>
<DD>Creates an instance of the meta data object<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the MetaData object to copy the values from</DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE>
<DL>
<DD>Compares the specified object with this meta data object for equality.  Meta data are considered equal if they contain the same field names,  types, lengths and decimals.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to compare for equality with this object<DT><B>Returns:</B><DD><tt>true</tt> if the meta data are equal, <tt>false</tt> otherwise.<DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
public int <B>hashCode</B>()</PRE>
<DL>
<DD>Returns the hash code value for this record<DD><DL>
<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the hash code for the record<DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="clone()"><!-- --></A><H3>
clone</H3>
<PRE>
public java.lang.Object <B>clone</B>()</PRE>
<DL>
<DD>Creates an returns a copy of the MetaData object.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/sap/mw/jco/IMetaData.html#clone()">clone</A></CODE> in interface <CODE><A HREF="../../../../com/sap/mw/jco/IMetaData.html">IMetaData</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>A clone of this MetaData object.</DL>
</DD>
</DL>
<HR>

<A NAME="indexOf(java.lang.String)"><!-- --></A><H3>
indexOf</H3>
<PRE>
public final int <B>indexOf</B>(java.lang.String&nbsp;field_name)</PRE>
<DL>
<DD>Returns the index of the named field<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/sap/mw/jco/IMetaData.html#indexOf(java.lang.String)">indexOf</A></CODE> in interface <CODE><A HREF="../../../../com/sap/mw/jco/IMetaData.html">IMetaData</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</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/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if a field with the specified name does not exist</DL>
</DD>
</DL>
<HR>

<A NAME="hasField(java.lang.String)"><!-- --></A><H3>
hasField</H3>
<PRE>
public final boolean <B>hasField</B>(java.lang.String&nbsp;field_name)</PRE>
<DL>
<DD>Checks whether a named field exists<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/sap/mw/jco/IMetaData.html#hasField(java.lang.String)">hasField</A></CODE> in interface <CODE><A HREF="../../../../com/sap/mw/jco/IMetaData.html">IMetaData</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field to check for existence<DT><B>Returns:</B><DD><tt>true</tt> if the field with the specified name exist,         <tt>false</tt> otherwise<DT><B>Since: </B><DD>JCo 1.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>Returns the name of the record<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/sap/mw/jco/IMetaData.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../com/sap/mw/jco/IMetaData.html">IMetaData</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the name of the record</DL>
</DD>
</DL>
<HR>

<A NAME="getLineTypeName()"><!-- --></A><H3>
getLineTypeName</H3>
<PRE>
public java.lang.String <B>getLineTypeName</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>only for internal use.</I>
<P>
<DD>Returns the name of the line type for a table record.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the name of the line type or <tt>null</tt></DL>
</DD>
</DL>
<HR>

<A NAME="getFieldCount()"><!-- --></A><H3>
getFieldCount</H3>
<PRE>
public int <B>getFieldCount</B>()</PRE>
<DL>
<DD>Returns the number of fields.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/sap/mw/jco/IMetaData.html#getFieldCount()">getFieldCount</A></CODE> in interface <CODE><A HREF="../../../../com/sap/mw/jco/IMetaData.html">IMetaData</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the number of entries in the record.</DL>
</DD>
</DL>
<HR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -