Collaboration API Documentation

com.filenet.bso.api.collaboration.query
Class PreformattedValue

java.lang.Object
  |
  +--com.filenet.bso.api.collaboration.query.PreformattedValue
All Implemented Interfaces:
java.io.Serializable

public final class PreformattedValue
extends java.lang.Object
implements java.io.Serializable

This class represents a value that has been preformatted for insertion into a SQL statement. For other types of values, some special formatting may occur when inserting them into a SQL statement. For example, a String value will be enclosed in single quotes. A Date value will be converted to W3C format. For a PreformattedValue value, the string is inserted without any formatting. The value is constant once created.

See Also:
Serialized Form

Constructor Summary
PreformattedValue(java.lang.String val)
          Constructs a PreformattedValue object
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares two objects for equality.
 int hashCode()
          Returns a hash code for this object.
 java.lang.String toString()
          Returns the string for this value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreformattedValue

public PreformattedValue(java.lang.String val)
Constructs a PreformattedValue object
Method Detail

equals

public boolean equals(java.lang.Object obj)
Compares two objects for equality.
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hash code for this object.
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Returns the string for this value.
Overrides:
toString in class java.lang.Object

Collaboration API Documentation

Copyright ?2002 - 2005 FileNet Corporation. All rights reserved.