com.adobe.livecycle.crc.sharepoint.client.types
Class SortByProperty

java.lang.Object
  extended by com.adobe.livecycle.crc.sharepoint.client.types.SortByProperty
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class SortByProperty
extends java.lang.Object
implements java.io.Externalizable

See Also:
Serialized Form

Field Summary
 java.lang.String direction
           
 java.lang.String name
           
static long serialVersionUID
           
 
Constructor Summary
SortByProperty()
           
SortByProperty(java.lang.String name, java.lang.String direction)
           
 
Method Summary
 void readExternal(java.io.ObjectInput in)
           
 java.lang.String toString()
          prints out the fields in the form of a query constructed later.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

name

public java.lang.String name

direction

public java.lang.String direction
Constructor Detail

SortByProperty

public SortByProperty()

SortByProperty

public SortByProperty(java.lang.String name,
                      java.lang.String direction)
Parameters:
name - Name of the managed property
direction - Accepts either of the two values, Ascending or Descending
See Also:
http://msdn.microsoft.com/en-us/library/ms568268(v=office.14).aspx
Method Detail

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

toString

public java.lang.String toString()
prints out the fields in the form of a query constructed later.

Overrides:
toString in class java.lang.Object