📄 imetadata.html
字号:
public int <B>getDecimals</B>(java.lang.String field_name)</PRE>
<DL>
<DD>Returns the number of decimals for the field with the specified name Decimals are only necessary for the JCO data types TYPE_BCD and TYPE_FLOAT, respectively.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field<DT><B>Returns:</B><DD>data field number of decimals.</DL>
</DD>
</DL>
<HR>
<A NAME="getDefault(int)"><!-- --></A><H3>
getDefault</H3>
<PRE>
public java.lang.String <B>getDefault</B>(int index)</PRE>
<DL>
<DD>Returns the default value of the data field at the specified index<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 default value</DL>
</DD>
</DL>
<HR>
<A NAME="getDefault(java.lang.String)"><!-- --></A><H3>
getDefault</H3>
<PRE>
public java.lang.String <B>getDefault</B>(java.lang.String field_name)</PRE>
<DL>
<DD>Returns the default value for the field with the specified name<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field<DT><B>Returns:</B><DD>data field default value</DL>
</DD>
</DL>
<HR>
<A NAME="getDescription(int)"><!-- --></A><H3>
getDescription</H3>
<PRE>
public java.lang.String <B>getDescription</B>(int index)</PRE>
<DL>
<DD>Returns the descriptional text of the data field at the specified index<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field<DT><B>Returns:</B><DD>A descriptional text of the data field</DL>
</DD>
</DL>
<HR>
<A NAME="getDescription(java.lang.String)"><!-- --></A><H3>
getDescription</H3>
<PRE>
public java.lang.String <B>getDescription</B>(java.lang.String field_name)</PRE>
<DL>
<DD>Returns the descriptional text for the field with the specified name<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field<DT><B>Returns:</B><DD>A descriptional text of the data field</DL>
</DD>
</DL>
<HR>
<A NAME="isOptional(int)"><!-- --></A><H3>
isOptional</H3>
<PRE>
public boolean <B>isOptional</B>(int index)</PRE>
<DL>
<DD>Checks whether the field at the specified index is an optional parameter<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is an optional parameter, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isOptional(java.lang.String)"><!-- --></A><H3>
isOptional</H3>
<PRE>
public boolean <B>isOptional</B>(java.lang.String field_name)</PRE>
<DL>
<DD>Checks whether the field with the specified name is an optional parameter<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is an optional parameter, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isImport(int)"><!-- --></A><H3>
isImport</H3>
<PRE>
public boolean <B>isImport</B>(int index)</PRE>
<DL>
<DD>Checks whether the field at the specified index is an import parameter<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is an import parameter, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isImport(java.lang.String)"><!-- --></A><H3>
isImport</H3>
<PRE>
public boolean <B>isImport</B>(java.lang.String field_name)</PRE>
<DL>
<DD>Checks whether the field with the specified name is an import parameter<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is an import parameter, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isExport(int)"><!-- --></A><H3>
isExport</H3>
<PRE>
public boolean <B>isExport</B>(int index)</PRE>
<DL>
<DD>Checks whether the field at the specified index is an export parameter<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is an export parameter, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isExport(java.lang.String)"><!-- --></A><H3>
isExport</H3>
<PRE>
public boolean <B>isExport</B>(java.lang.String field_name)</PRE>
<DL>
<DD>Checks whether the field with the specified name is an export parameter<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is an export parameter, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isStructure(int)"><!-- --></A><H3>
isStructure</H3>
<PRE>
public boolean <B>isStructure</B>(int index)</PRE>
<DL>
<DD>Checks whether the field at the specified index is a structure parameter<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is a structure parameter, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isStructure(java.lang.String)"><!-- --></A><H3>
isStructure</H3>
<PRE>
public boolean <B>isStructure</B>(java.lang.String field_name)</PRE>
<DL>
<DD>Checks whether the field with the specified name is a structure parameter<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is a structure parameter, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isNestedType1Structure(int)"><!-- --></A><H3>
isNestedType1Structure</H3>
<PRE>
public boolean <B>isNestedType1Structure</B>(int index)</PRE>
<DL>
<DD>Checks whether the field at the specified index is a nested TYPE1 structure, which is a structure with a fixed length in memory, but with a nested layout<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is a nested TYPE1 structure, <code>false</code> otherwise<DT><B>Since: </B><DD>JCo 2.0.5</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="isNestedType1Structure(java.lang.String)"><!-- --></A><H3>
isNestedType1Structure</H3>
<PRE>
public boolean <B>isNestedType1Structure</B>(java.lang.String field_name)</PRE>
<DL>
<DD>Checks whether the field with the specified name is a nested TYPE1 structure, which is a structure with a fixed length in memory, but with a nested layout<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is a nested TYPE1 structure, <code>false</code> otherwise<DT><B>Since: </B><DD>JCo 2.0.5</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="isTable(int)"><!-- --></A><H3>
isTable</H3>
<PRE>
public boolean <B>isTable</B>(int index)</PRE>
<DL>
<DD>Checks whether the field is a table parameter<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is a table parameter, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isTable(java.lang.String)"><!-- --></A><H3>
isTable</H3>
<PRE>
public boolean <B>isTable</B>(java.lang.String field_name)</PRE>
<DL>
<DD>Checks whether the field with the specified name is a table parameter<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is a table parameter, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isException(int)"><!-- --></A><H3>
isException</H3>
<PRE>
public boolean <B>isException</B>(int index)</PRE>
<DL>
<DD>Checks whether this field is a exception<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is an exception, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isException(java.lang.String)"><!-- --></A><H3>
isException</H3>
<PRE>
public boolean <B>isException</B>(java.lang.String field_name)</PRE>
<DL>
<DD>Checks whether this field with the specified name is a exception<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field_name</CODE> - the name of the field<DT><B>Returns:</B><DD><code>true</code> if the specified field is an exception, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="getTabLength()"><!-- --></A><H3>
getTabLength</H3>
<PRE>
public int <B>getTabLength</B>()</PRE>
<DL>
<DD>Returns the total length of a structure or single row of a table. Due to alignment constraints the length of a structure or table row is not necessarily the same as the sum of the field length.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The total length of the record</DL>
</DD>
</DL>
<HR>
<A NAME="isNestedType1Structure()"><!-- --></A><H3>
isNestedType1Structure</H3>
<PRE>
public boolean <B>isNestedType1Structure</B>()</PRE>
<DL>
<DD>Checks whether this IMetaData is a nested TYPE1 structure, which is a structure with a fixed length in memory, but with a nested layout<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if the IMetaData is a nested TYPE1 structure, <code>false</code> otherwise<DT><B>Since: </B><DD>JCo 2.0.5</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Returns a string representation of the meta-data<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a printable representation of this object</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CL
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -