com.ibm.xsp.model.domino.wrapped
Class DominoDocument.FieldValueHolder

java.lang.Object
  extended by com.ibm.xsp.model.domino.wrapped.DominoDocument.FieldValueHolder
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
DominoDocument

public class DominoDocument.FieldValueHolder
extends java.lang.Object
implements java.io.Serializable

Stores information about a field (a Domino Item proxy) and the operation performed on that field.

See Also:
Serialized Form

Field Summary
static int ITEM_ADD_OPERATION
           
static int ITEM_CACHEVALUE_OPERATION
           
static int ITEM_REMOVE_OPERATION
           
static int ITEM_REPLACE_OPERATION
           
 
Constructor Summary
DominoDocument.FieldValueHolder(java.lang.String fieldName, java.lang.Object fieldValue, int fieldOperation)
           
 
Method Summary
 java.lang.String getFieldName()
           
 int getFieldOperation()
           
 java.lang.Object getJavaFieldValue()
           
 java.lang.Object getNotesFieldValue()
           
 void setFieldOperation(int newOp)
          Set new field operation (ADD, REPLACE, REMOVE, CACHE)
 void setNewFieldValue(java.lang.Object value)
          Set new value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ITEM_ADD_OPERATION

public static final int ITEM_ADD_OPERATION
See Also:
Constant Field Values

ITEM_REPLACE_OPERATION

public static final int ITEM_REPLACE_OPERATION
See Also:
Constant Field Values

ITEM_REMOVE_OPERATION

public static final int ITEM_REMOVE_OPERATION
See Also:
Constant Field Values

ITEM_CACHEVALUE_OPERATION

public static final int ITEM_CACHEVALUE_OPERATION
See Also:
Constant Field Values
Constructor Detail

DominoDocument.FieldValueHolder

public DominoDocument.FieldValueHolder(java.lang.String fieldName,
                                       java.lang.Object fieldValue,
                                       int fieldOperation)
                                throws lotus.domino.NotesException
Parameters:
fieldValue -
Throws:
lotus.domino.NotesException
Method Detail

getJavaFieldValue

public java.lang.Object getJavaFieldValue()
Returns:
Return the value in "Java" format, where the dates are Java dates

getNotesFieldValue

public java.lang.Object getNotesFieldValue()
Returns:
Return the value in "Notes" format, where the dates are Notes dates

getFieldOperation

public int getFieldOperation()
Returns:
Return the field operation (ADD, REPLACE, REMOVE, CACHE)

getFieldName

public java.lang.String getFieldName()
Returns:
Return the Field name for the Field Value Holder

setNewFieldValue

public void setNewFieldValue(java.lang.Object value)
Set new value

Parameters:
value -

setFieldOperation

public void setFieldOperation(int newOp)
Set new field operation (ADD, REPLACE, REMOVE, CACHE)

Parameters:
newOp -