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

📄 jcorecordmetadata.html

📁 jco book to connect java with SAP
💻 HTML
📖 第 1 页 / 共 2 页
字号:
         int nucByteOffset,
         int ucByteLength,
         int&nbsp;ucByteOffset)</PRE>
<DL>
<DD>Adds a new scalar field descriptor to the metadata object
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Field name for identifying this data field<DD><CODE>type</CODE> - Data field type<DD><CODE>nucByteLength</CODE> - Data field length in bytes for non-Unicode layout<DD><CODE>ucByteLength</CODE> - Data field length in bytes for Unicode layout<DD><CODE>nucByteOffset</CODE> - Data field offset in bytes for non-Unicode layout<DD><CODE>ucByteOffset</CODE> - Data field offset in bytes for Unicode layout</DL>
</DD>
</DL>
<HR>

<A NAME="add(java.lang.String, int, int, int, com.sap.conn.jco.JCoRecordMetaData)"><!-- --></A><H3>
add</H3>
<PRE>
void <B>add</B>(java.lang.String&nbsp;name,
         int&nbsp;type,
         int&nbsp;nucByteOffset,
         int&nbsp;ucByteOffset,
         <A HREF="../../../../com/sap/conn/jco/JCoRecordMetaData.html" title="interface in com.sap.conn.jco">JCoRecordMetaData</A>&nbsp;recordMetaData)</PRE>
<DL>
<DD>Adds a new complex field descriptor to the metadata object, i.e. a structure or table
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Field name for identifying this data field<DD><CODE>type</CODE> - Data field type<DD><CODE>nucByteOffset</CODE> - Data field offset in bytes for non-Unicode layout<DD><CODE>ucByteOffset</CODE> - Data field offset in bytes for Unicode layout<DD><CODE>recordMetaData</CODE> - the metadata for the structure or table</DL>
</DD>
</DL>
<HR>

<A NAME="add(java.lang.String, int, int, int, int, int, int, java.lang.String, java.lang.Object, com.sap.conn.jco.JCoExtendedFieldMetaData)"><!-- --></A><H3>
add</H3>
<PRE>
void <B>add</B>(java.lang.String&nbsp;name,
         int&nbsp;type,
         int&nbsp;nucByteLength,
         int&nbsp;nucByteOffset,
         int&nbsp;ucByteLength,
         int&nbsp;ucByteOffset,
         int&nbsp;decimals,
         java.lang.String&nbsp;description,
         java.lang.Object&nbsp;tabMetaData,
         <A HREF="../../../../com/sap/conn/jco/JCoExtendedFieldMetaData.html" title="interface in com.sap.conn.jco">JCoExtendedFieldMetaData</A>&nbsp;extended)</PRE>
<DL>
<DD>Adds a new field descriptor to the metadata object
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Field name for identifying this data field<DD><CODE>type</CODE> - Data field type<DD><CODE>nucByteLength</CODE> - Data field length in bytes for non-Unicode layout<DD><CODE>ucByteLength</CODE> - Data field length in bytes for Unicode layout<DD><CODE>nucByteOffset</CODE> - Data field offset in bytes for non-Unicode layout<DD><CODE>ucByteOffset</CODE> - Data field offset in bytes for Unicode layout<DD><CODE>decimals</CODE> - Data field number of decimals (only necessary for the data types TYPE_BCD and TYPE_FLOAT)<DD><CODE>description</CODE> - Descriptional text of the data field<DD><CODE>tabMetaData</CODE> - metadata if the field is a complex field, i.e. structure or table, <code>null</code> otherwise<DD><CODE>extended</CODE> - extended metadata for this field or <code>null</code> if none available.</DL>
</DD>
</DL>
<HR>

<A NAME="getUnicodeByteOffset(int)"><!-- --></A><H3>
getUnicodeByteOffset</H3>
<PRE>
int <B>getUnicodeByteOffset</B>(int&nbsp;index)</PRE>
<DL>
<DD>Returns the offset in a Unicode layout of the data field at the specified index. <br>
<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>data field offset in Unicode layout</DL>
</DD>
</DL>
<HR>

<A NAME="getUnicodeByteOffset(java.lang.String)"><!-- --></A><H3>
getUnicodeByteOffset</H3>
<PRE>
int <B>getUnicodeByteOffset</B>(java.lang.String&nbsp;fieldName)</PRE>
<DL>
<DD>Returns the offset in a Unicode layout of the field with the specified name
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - the name of the field
<DT><B>Returns:</B><DD>data field offset in Unicode layout
<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="getByteOffset(int)"><!-- --></A><H3>
getByteOffset</H3>
<PRE>
int <B>getByteOffset</B>(int&nbsp;index)</PRE>
<DL>
<DD>Returns the offset in a non-Unicode layout of the data field at the specified index.
<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>data field offset in non-Unicode layout</DL>
</DD>
</DL>
<HR>

<A NAME="getByteOffset(java.lang.String)"><!-- --></A><H3>
getByteOffset</H3>
<PRE>
int <B>getByteOffset</B>(java.lang.String&nbsp;fieldName)</PRE>
<DL>
<DD>Returns the offset in a non-Unicode layout of the field with the specified name.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - the name of the field
<DT><B>Returns:</B><DD>data field offset in non-Unicode layout
<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="getUnicodeRecordLength()"><!-- --></A><H3>
getUnicodeRecordLength</H3>
<PRE>
int <B>getUnicodeRecordLength</B>()</PRE>
<DL>
<DD>Returns the total length of a structure or single row of a table with a Unicode layout. Due to alignment constraints the length of a structure or table row is not necessarily the same as the sum of the field length.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>The total length of the record with Unicode layout</DL>
</DD>
</DL>
<HR>

<A NAME="getRecordLength()"><!-- --></A><H3>
getRecordLength</H3>
<PRE>
int <B>getRecordLength</B>()</PRE>
<DL>
<DD>Returns the total length of a structure or single row of a table with a non-Unicode layout. Due to alignment constraints the length of a structure or table row is not necessarily the same as the sum of the field length.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>The total length of the record with non-Unicode layout</DL>
</DD>
</DL>
<HR>

<A NAME="setRecordLength(int, int)"><!-- --></A><H3>
setRecordLength</H3>
<PRE>
void <B>setRecordLength</B>(int&nbsp;recordNUCLength,
                     int&nbsp;recordUCLength)</PRE>
<DL>
<DD>Sets the total length of a structure or single row of a table
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>recordNUCLength</CODE> - the byte length of the structure with non-Unicode layout<DD><CODE>recordUCLength</CODE> - the byte length of the structure with Unicode layout</DL>
</DD>
</DL>
<HR>

<A NAME="isNestedType1Structure()"><!-- --></A><H3>
isNestedType1Structure</H3>
<PRE>
boolean <B>isNestedType1Structure</B>()</PRE>
<DL>
<DD>Checks whether this JCoRecordMetaData is a nested TYPE1 structure, which is a structure with a fixed length in memory, but with a nested layout
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD><code>true</code> if the JCoRecordData is a nested TYPE1 structure, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>

<A NAME="getLineType()"><!-- --></A><H3>
getLineType</H3>
<PRE>
java.lang.String <B>getLineType</B>()</PRE>
<DL>
<DD>In case the JCoRecordMetaData represents a table type, this getLineType() returns the name of the structure, table or data element, which is line type of the table. If the  metadata represents a structure, <code>null</code> is returned.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the name of the line type for table types, <code>null</code> otherwise</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JCoRecordMetaData.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/sap/conn/jco/JCoRecordFieldIterator.html" title="interface in com.sap.conn.jco"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/sap/conn/jco/JCoRepository.html" title="interface in com.sap.conn.jco"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/sap/conn/jco/JCoRecordMetaData.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JCoRecordMetaData.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<i>Copyright &#169; 2008 SAP AG. All Rights Reserved.</i>
</BODY>
</HTML>

⌨️ 快捷键说明

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