1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
<!-- Generated by javadoc (build 1.5.0_06) on Wed Aug 20 10:31:32 CEST 2008 -->
7
SortType (Hibernate Annotations API Documentation)
10
<META NAME="keywords" CONTENT="org.hibernate.annotations.SortType class">
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../jdstyle.css" TITLE="Style">
14
<SCRIPT type="text/javascript">
15
function windowTitle()
17
parent.document.title="SortType (Hibernate Annotations API Documentation)";
25
<BODY BGCOLOR="white" onload="windowTitle();">
28
<!-- ========= START OF TOP NAVBAR ======= -->
29
<A NAME="navbar_top"><!-- --></A>
30
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
33
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34
<A NAME="navbar_top_firstrow"><!-- --></A>
35
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36
<TR ALIGN="center" VALIGN="top">
37
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
38
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
39
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
40
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SortType.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
42
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
43
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
44
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
48
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55
<A HREF="../../../org/hibernate/annotations/Sort.html" title="annotation in org.hibernate.annotations"><B>PREV CLASS</B></A>
56
<A HREF="../../../org/hibernate/annotations/SQLDelete.html" title="annotation in org.hibernate.annotations"><B>NEXT CLASS</B></A></FONT></TD>
57
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
<A HREF="../../../index.html?org/hibernate/annotations/SortType.html" target="_top"><B>FRAMES</B></A>
59
<A HREF="SortType.html" target="_top"><B>NO FRAMES</B></A>
60
<SCRIPT type="text/javascript">
63
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
68
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
75
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
76
SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD>
77
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78
DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD>
81
<A NAME="skip-navbar_top"></A>
82
<!-- ========= END OF TOP NAVBAR ========= -->
85
<!-- ======== START OF CLASS DATA ======== -->
88
org.hibernate.annotations</FONT>
92
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
93
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html" title="class or interface in java.lang">java.lang.Enum</A><<A HREF="../../../org/hibernate/annotations/SortType.html" title="enum in org.hibernate.annotations">SortType</A>>
94
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.hibernate.annotations.SortType</B>
97
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A><<A HREF="../../../org/hibernate/annotations/SortType.html" title="enum in org.hibernate.annotations">SortType</A>></DD>
101
<DT><PRE>public enum <B>SortType</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html" title="class or interface in java.lang">Enum</A><<A HREF="../../../org/hibernate/annotations/SortType.html" title="enum in org.hibernate.annotations">SortType</A>></DL>
110
<DT><B>Author:</B></DT>
111
<DD>Emmanuel Bernard</DD>
116
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
118
<A NAME="enum_constant_summary"><!-- --></A>
119
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122
<B>Enum Constant Summary</B></FONT></TH>
124
<TR BGCOLOR="white" CLASS="TableRowColor">
125
<TD><CODE><B><A HREF="../../../org/hibernate/annotations/SortType.html#COMPARATOR">COMPARATOR</A></B></CODE>
128
</TD>
130
<TR BGCOLOR="white" CLASS="TableRowColor">
131
<TD><CODE><B><A HREF="../../../org/hibernate/annotations/SortType.html#NATURAL">NATURAL</A></B></CODE>
134
</TD>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD><CODE><B><A HREF="../../../org/hibernate/annotations/SortType.html#UNSORTED">UNSORTED</A></B></CODE>
140
</TD>
144
<!-- ========== METHOD SUMMARY =========== -->
146
<A NAME="method_summary"><!-- --></A>
147
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
148
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
149
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
150
<B>Method Summary</B></FONT></TH>
152
<TR BGCOLOR="white" CLASS="TableRowColor">
153
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154
<CODE>static <A HREF="../../../org/hibernate/annotations/SortType.html" title="enum in org.hibernate.annotations">SortType</A></CODE></FONT></TD>
155
<TD><CODE><B><A HREF="../../../org/hibernate/annotations/SortType.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
158
Returns the enum constant of this type with the specified name.</TD>
160
<TR BGCOLOR="white" CLASS="TableRowColor">
161
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162
<CODE>static <A HREF="../../../org/hibernate/annotations/SortType.html" title="enum in org.hibernate.annotations">SortType</A>[]</CODE></FONT></TD>
163
<TD><CODE><B><A HREF="../../../org/hibernate/annotations/SortType.html#values()">values</A></B>()</CODE>
166
Returns an array containing the constants of this enum type, in
167
the order they're declared.</TD>
170
<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
171
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
172
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
173
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html" title="class or interface in java.lang">Enum</A></B></TH>
175
<TR BGCOLOR="white" CLASS="TableRowColor">
176
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html#name()" title="class or interface in java.lang">name</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Enum.html#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD>
179
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
180
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
181
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
182
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
184
<TR BGCOLOR="white" CLASS="TableRowColor">
185
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
191
<!-- ============ ENUM CONSTANT DETAIL =========== -->
193
<A NAME="enum_constant_detail"><!-- --></A>
194
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
195
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
196
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
197
<B>Enum Constant Detail</B></FONT></TH>
201
<A NAME="UNSORTED"><!-- --></A><H3>
204
public static final <A HREF="../../../org/hibernate/annotations/SortType.html" title="enum in org.hibernate.annotations">SortType</A> <B>UNSORTED</B></PRE>
211
<A NAME="NATURAL"><!-- --></A><H3>
214
public static final <A HREF="../../../org/hibernate/annotations/SortType.html" title="enum in org.hibernate.annotations">SortType</A> <B>NATURAL</B></PRE>
221
<A NAME="COMPARATOR"><!-- --></A><H3>
224
public static final <A HREF="../../../org/hibernate/annotations/SortType.html" title="enum in org.hibernate.annotations">SortType</A> <B>COMPARATOR</B></PRE>
230
<!-- ============ METHOD DETAIL ========== -->
232
<A NAME="method_detail"><!-- --></A>
233
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
234
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
235
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
236
<B>Method Detail</B></FONT></TH>
240
<A NAME="values()"><!-- --></A><H3>
243
public static final <A HREF="../../../org/hibernate/annotations/SortType.html" title="enum in org.hibernate.annotations">SortType</A>[] <B>values</B>()</PRE>
245
<DD>Returns an array containing the constants of this enum type, in
246
the order they're declared. This method may be used to iterate
247
over the constants as follows:
249
for(SortType c : SortType.values())
250
System.out.println(c);
255
<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
256
the order they're declared</DL>
261
<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
264
public static <A HREF="../../../org/hibernate/annotations/SortType.html" title="enum in org.hibernate.annotations">SortType</A> <B>valueOf</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE>
266
<DD>Returns the enum constant of this type with the specified name.
267
The string must match <I>exactly</I> an identifier used to declare an
268
enum constant in this type. (Extraneous whitespace characters are
272
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
273
<DT><B>Returns:</B><DD>the enum constant with the specified name
275
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
276
with the specified name</DL>
279
<!-- ========= END OF CLASS DATA ========= -->
283
<!-- ======= START OF BOTTOM NAVBAR ====== -->
284
<A NAME="navbar_bottom"><!-- --></A>
285
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
286
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
288
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
289
<A NAME="navbar_bottom_firstrow"><!-- --></A>
290
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
291
<TR ALIGN="center" VALIGN="top">
292
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
293
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
294
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
295
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SortType.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
296
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
297
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
298
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
299
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
303
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
309
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
310
<A HREF="../../../org/hibernate/annotations/Sort.html" title="annotation in org.hibernate.annotations"><B>PREV CLASS</B></A>
311
<A HREF="../../../org/hibernate/annotations/SQLDelete.html" title="annotation in org.hibernate.annotations"><B>NEXT CLASS</B></A></FONT></TD>
312
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
313
<A HREF="../../../index.html?org/hibernate/annotations/SortType.html" target="_top"><B>FRAMES</B></A>
314
<A HREF="SortType.html" target="_top"><B>NO FRAMES</B></A>
315
<SCRIPT type="text/javascript">
318
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
323
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
330
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
331
SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD>
332
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
333
DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD>
336
<A NAME="skip-navbar_bottom"></A>
337
<!-- ======== END OF BOTTOM NAVBAR ======= -->