📄 jco.field.html
字号:
<A NAME="getChar()"><!-- --></A><H3>
getChar</H3>
<PRE>
public char <B>getChar</B>()</PRE>
<DL>
<DD>Returns the field's value as a character<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a <tt>char</tt><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>char</tt><DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getShort()"><!-- --></A><H3>
getShort</H3>
<PRE>
public short <B>getShort</B>()</PRE>
<DL>
<DD>Returns the field's value as a short<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a <tt>short</tt><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>short</tt><DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getInt()"><!-- --></A><H3>
getInt</H3>
<PRE>
public int <B>getInt</B>()</PRE>
<DL>
<DD>Returns the field's value as an int<DD><DL>
<DT><B>Returns:</B><DD>the field's value as an int<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>int</tt></DL>
</DD>
</DL>
<HR>
<A NAME="getLong()"><!-- --></A><H3>
getLong</H3>
<PRE>
public long <B>getLong</B>()</PRE>
<DL>
<DD>Returns the field's value as a long<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a <tt>long</tt><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>long</tt><DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getBigInteger()"><!-- --></A><H3>
getBigInteger</H3>
<PRE>
public java.math.BigInteger <B>getBigInteger</B>()</PRE>
<DL>
<DD>Returns the field's value as a <tt>BigInteger</tt> object<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a BigInteger object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>BigInteger</tt><DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getDouble()"><!-- --></A><H3>
getDouble</H3>
<PRE>
public double <B>getDouble</B>()</PRE>
<DL>
<DD>Returns the field's value as a double<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a double<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>double</tt></DL>
</DD>
</DL>
<HR>
<A NAME="getByte(int)"><!-- --></A><H3>
getByte</H3>
<PRE>
public byte <B>getByte</B>(int index)</PRE>
<DL>
<DD>Returns the value of the i'th field as a byte<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the field<DT><B>Returns:</B><DD>the field's value as a byte<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>byte</tt><DT><B>Since: </B><DD>JCo 2.0.9</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getFloat()"><!-- --></A><H3>
getFloat</H3>
<PRE>
public float <B>getFloat</B>()</PRE>
<DL>
<DD>Returns the field's value as a float Please use setValue(float value, ...) and getFloat(...) methods only if you operate with float values. Double value converted to float and back to double may also differ from original value. Please also don't mix those methods, because i.e. setting your values with setValue(float value, ...) and getting them using getDouble(...) may return not the same value.<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a float<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>float</tt><DT><B>Since: </B><DD>JCo 2.0.9</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getBigDecimal()"><!-- --></A><H3>
getBigDecimal</H3>
<PRE>
public java.math.BigDecimal <B>getBigDecimal</B>()</PRE>
<DL>
<DD>Returns the field's value as a <tt>BigDecimal</tt> object<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a BigDecimal object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>BigDecimal</tt></DL>
</DD>
</DL>
<HR>
<A NAME="getDate()"><!-- --></A><H3>
getDate</H3>
<PRE>
public java.util.Date <B>getDate</B>()</PRE>
<DL>
<DD>Returns the field's value as a <tt>Date</tt> object<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a Date object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>Date</tt></DL>
</DD>
</DL>
<HR>
<A NAME="getTime()"><!-- --></A><H3>
getTime</H3>
<PRE>
public java.util.Date <B>getTime</B>()</PRE>
<DL>
<DD>Returns the field's value as a <tt>Date</tt> object<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a Date object<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>Date</tt></DL>
</DD>
</DL>
<HR>
<A NAME="getByteArray()"><!-- --></A><H3>
getByteArray</H3>
<PRE>
public byte[] <B>getByteArray</B>()</PRE>
<DL>
<DD>Returns the field's value as a <tt>byte[]</tt> array<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a byte array<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>byte[]</tt> array</DL>
</DD>
</DL>
<HR>
<A NAME="getBinaryStream()"><!-- --></A><H3>
getBinaryStream</H3>
<PRE>
public java.io.InputStream <B>getBinaryStream</B>()</PRE>
<DL>
<DD>Returns the field's value as a stream of uninterpreted bytes, i.e. an <tt>java.io.InputStream</tt> object<DD><DL>
<DT><B>Returns:</B><DD>the field's value as an <tt>java.io.InputStream</tt><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to an <tt>java.io.InputStream</tt><DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getCharacterStream()"><!-- --></A><H3>
getCharacterStream</H3>
<PRE>
public java.io.Reader <B>getCharacterStream</B>()</PRE>
<DL>
<DD>Returns the value of the i'th field as a stream of characeters, i.e. an <tt>java.io.Reader</tt> object<DD><DL>
<DT><B>Returns:</B><DD>the field's value as an <tt>java.io.Reader</tt><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to an <tt>java.io.Reader</tt><DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getTable()"><!-- --></A><H3>
getTable</H3>
<PRE>
public <A HREF="../../../../com/sap/mw/jco/JCO.Table.html">JCO.Table</A> <B>getTable</B>()</PRE>
<DL>
<DD>Returns the field's value as a <tt>JCO.Table</tt> object<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a table<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>JCO.Table</tt></DL>
</DD>
</DL>
<HR>
<A NAME="getStructure()"><!-- --></A><H3>
getStructure</H3>
<PRE>
public <A HREF="../../../../com/sap/mw/jco/JCO.Structure.html">JCO.Structure</A> <B>getStructure</B>()</PRE>
<DL>
<DD>Returns the field's value as a <tt>JCO.Structure</tt> object<DD><DL>
<DT><B>Returns:</B><DD>the field's value as a structure<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to a <tt>JCO.Structure</tt></DL>
</DD>
</DL>
<HR>
<A NAME="setValue(java.lang.Object)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(java.lang.Object value)</PRE>
<DL>
<DD>Sets the specified object as the field's value<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value of this field<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to its internal representation</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(java.lang.String)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(java.lang.String value)</PRE>
<DL>
<DD>Sets the specified string as the field's value. To set a value back to its initial type specific setting pass <tt>""</tt>, i.e. an empty string, or <tt>null</tt><DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value of this field<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to its internal representation</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(char)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(char value)</PRE>
<DL>
<DD>Sets the specified character as the field's value.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value of this field<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to its internal representation<DT><B>Since: </B><DD>JCo 1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(short)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(short value)</PRE>
<DL>
<DD>Sets the specified short as the field's value<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value of this field<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to its internal representation<DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(int)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(int value)</PRE>
<DL>
<DD>Sets the specified integer as the field's value<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value of this field<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to its internal representation</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(long)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(long value)</PRE>
<DL>
<DD>Sets the specified long as the field's value<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value of this field<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to its internal representation<DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(double)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(double value)</PRE>
<DL>
<DD>Sets the specified double as the field's value<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value of this field<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to its internal representation</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(byte[])"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(byte[] value)</PRE>
<DL>
<DD>Sets the specified byte array as the field's value<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value of this field<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to its internal representation</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(com.sap.mw.jco.JCO.Structure)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(<A HREF="../../../../com/sap/mw/jco/JCO.Structure.html">JCO.Structure</A> value)</PRE>
<DL>
<DD>Sets the specified structure as the field's value<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value of this field<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to its internal representation</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(com.sap.mw.jco.JCO.Table)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(<A HREF="../../../../com/sap/mw/jco/JCO.Table.html">JCO.Table</A> value)</PRE>
<DL>
<DD>Sets the specified table as the field's value<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value of this field<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html">JCO.ConversionException</A></CODE> - thrown if the value could not be converted to its internal representation</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" CLASS="NavBarCell1"> <A HREF="class-use/JCO.Field.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/sap/mw/jco/JCO.Exception.html"><B>PREV CLASS</B></A>
<A HREF="../../../../com/sap/mw/jco/JCO.FieldIterator.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="JCO.Field.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -