PageRenderTime 249ms CodeModel.GetById 19ms app.highlight 43ms RepoModel.GetById 2ms app.codeStats 0ms

/javadoc/2.2.7/core/org/sqlproc/engine/type/IdentitySetter.html

https://github.com/hudec/hudec.github.com
HTML | 238 lines | 190 code | 28 blank | 20 comment | 0 complexity | 78ba700bd27052dda0b226bf085d0dd6 MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<!--NewPage-->
  3<HTML>
  4<HEAD>
  5<!-- Generated by javadoc (build 1.6.0_38) on Tue Dec 10 09:07:07 CET 2013 -->
  6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7<TITLE>
  8IdentitySetter (SQL Processor, Core Module 2.2.7 API)
  9</TITLE>
 10
 11<META NAME="date" CONTENT="2013-12-10">
 12
 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 14
 15<SCRIPT type="text/javascript">
 16function windowTitle()
 17{
 18    if (location.href.indexOf('is-external=true') == -1) {
 19        parent.document.title="IdentitySetter (SQL Processor, Core Module 2.2.7 API)";
 20    }
 21}
 22</SCRIPT>
 23<NOSCRIPT>
 24</NOSCRIPT>
 25
 26</HEAD>
 27
 28<BODY BGCOLOR="white" onload="windowTitle();">
 29<HR>
 30
 31
 32<!-- ========= START OF TOP NAVBAR ======= -->
 33<A NAME="navbar_top"><!-- --></A>
 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 36<TR>
 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 38<A NAME="navbar_top_firstrow"><!-- --></A>
 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 40  <TR ALIGN="center" VALIGN="top">
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/IdentitySetter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 48  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 49  </TR>
 50</TABLE>
 51</TD>
 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 53</EM>
 54</TD>
 55</TR>
 56
 57<TR>
 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 59&nbsp;PREV CLASS&nbsp;
 60&nbsp;<A HREF="../../../../org/sqlproc/engine/type/OutValueSetter.html" title="interface in org.sqlproc.engine.type"><B>NEXT CLASS</B></A></FONT></TD>
 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 62  <A HREF="../../../../index.html?org/sqlproc/engine/type/IdentitySetter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 63&nbsp;<A HREF="IdentitySetter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 64&nbsp;<SCRIPT type="text/javascript">
 65  <!--
 66  if(window==top) {
 67    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 68  }
 69  //-->
 70</SCRIPT>
 71<NOSCRIPT>
 72  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
 73</NOSCRIPT>
 74
 75
 76</FONT></TD>
 77</TR>
 78<TR>
 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 80  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 82DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 83</TR>
 84</TABLE>
 85<A NAME="skip-navbar_top"></A>
 86<!-- ========= END OF TOP NAVBAR ========= -->
 87
 88<HR>
 89<!-- ======== START OF CLASS DATA ======== -->
 90<H2>
 91<FONT SIZE="-1">
 92org.sqlproc.engine.type</FONT>
 93<BR>
 94Interface IdentitySetter</H2>
 95<HR>
 96<DL>
 97<DT><PRE>public interface <B>IdentitySetter</B></DL>
 98</PRE>
 99
100<P>
101The helper contract implemented by SqlInputValue to support the auto-generated identities.
102<P>
103
104<P>
105<DL>
106<DT><B>Author:</B></DT>
107  <DD><a href="mailto:Vladimir.Hudec@gmail.com">Vladimir Hudec</a></DD>
108</DL>
109<HR>
110
111<P>
112
113<!-- ========== METHOD SUMMARY =========== -->
114
115<A NAME="method_summary"><!-- --></A>
116<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
119<B>Method Summary</B></FONT></TH>
120</TR>
121<TR BGCOLOR="white" CLASS="TableRowColor">
122<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
124<TD><CODE><B><A HREF="../../../../org/sqlproc/engine/type/IdentitySetter.html#getIdentitySelect()">getIdentitySelect</A></B>()</CODE>
125
126<BR>
127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the select command used to obtain the generated identity value.</TD>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131<CODE>&nbsp;void</CODE></FONT></TD>
132<TD><CODE><B><A HREF="../../../../org/sqlproc/engine/type/IdentitySetter.html#setIdentity(java.lang.Object)">setIdentity</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;identity)</CODE>
133
134<BR>
135&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the result of select command for the generated identity value.</TD>
136</TR>
137</TABLE>
138&nbsp;
139<P>
140
141<!-- ============ METHOD DETAIL ========== -->
142
143<A NAME="method_detail"><!-- --></A>
144<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
145<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
146<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
147<B>Method Detail</B></FONT></TH>
148</TR>
149</TABLE>
150
151<A NAME="setIdentity(java.lang.Object)"><!-- --></A><H3>
152setIdentity</H3>
153<PRE>
154void <B>setIdentity</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;identity)</PRE>
155<DL>
156<DD>Sets the result of select command for the generated identity value.
157<P>
158<DD><DL>
159<DT><B>Parameters:</B><DD><CODE>identity</CODE> - the generated identity value</DL>
160</DD>
161</DL>
162<HR>
163
164<A NAME="getIdentitySelect()"><!-- --></A><H3>
165getIdentitySelect</H3>
166<PRE>
167<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getIdentitySelect</B>()</PRE>
168<DL>
169<DD>Returns the select command used to obtain the generated identity value.
170<P>
171<DD><DL>
172</DL>
173</DD>
174</DL>
175<!-- ========= END OF CLASS DATA ========= -->
176<HR>
177
178
179<!-- ======= START OF BOTTOM NAVBAR ====== -->
180<A NAME="navbar_bottom"><!-- --></A>
181<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
182<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
183<TR>
184<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
185<A NAME="navbar_bottom_firstrow"><!-- --></A>
186<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
187  <TR ALIGN="center" VALIGN="top">
188  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
189  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
190  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
191  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/IdentitySetter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
192  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
193  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
194  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
195  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
196  </TR>
197</TABLE>
198</TD>
199<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
200</EM>
201</TD>
202</TR>
203
204<TR>
205<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
206&nbsp;PREV CLASS&nbsp;
207&nbsp;<A HREF="../../../../org/sqlproc/engine/type/OutValueSetter.html" title="interface in org.sqlproc.engine.type"><B>NEXT CLASS</B></A></FONT></TD>
208<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
209  <A HREF="../../../../index.html?org/sqlproc/engine/type/IdentitySetter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
210&nbsp;<A HREF="IdentitySetter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
211&nbsp;<SCRIPT type="text/javascript">
212  <!--
213  if(window==top) {
214    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
215  }
216  //-->
217</SCRIPT>
218<NOSCRIPT>
219  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
220</NOSCRIPT>
221
222
223</FONT></TD>
224</TR>
225<TR>
226<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
227  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
228<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
229DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
230</TR>
231</TABLE>
232<A NAME="skip-navbar_bottom"></A>
233<!-- ======== END OF BOTTOM NAVBAR ======= -->
234
235<HR>
236Copyright &#169; 2013. All Rights Reserved.
237</BODY>
238</HTML>