com.sun.jaw.reference.common
Class Modification

java.lang.Object
  |
  +--com.sun.jaw.reference.common.Modification

public class Modification
extends java.lang.Object
implements java.io.Serializable

This class is used for representing a modification for a property.

See Also:
ModificationList, Serialized Form

Constructor Summary
Modification(java.lang.String property, java.lang.Object value)
          Allows a Modification to be created for a non-indexed property.
Modification(java.lang.String property, java.lang.Object value, int pos)
          Allows a Modification to be created for an indexed property.
Modification(java.lang.String property, java.lang.Object value, java.lang.String operator)
          Allows a Modification containing an operator to be created for a non-indexed property.
Modification(java.lang.String property, java.lang.Object value, java.lang.String oper, int pos)
          Allows a Modification containing an operator to be created for an indexed property.
 
Method Summary
 java.lang.String getOperator()
          Returns the name of the operator to be applied.
 int getPosition()
          Returns the position.
 java.lang.String getProperty()
          Returns the property.
 java.lang.Object getValue()
          Returns the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Modification

public Modification(java.lang.String property,
                    java.lang.Object value)
Allows a Modification to be created for a non-indexed property.

Modification

public Modification(java.lang.String property,
                    java.lang.Object value,
                    int pos)
Allows a Modification to be created for an indexed property.

Modification

public Modification(java.lang.String property,
                    java.lang.Object value,
                    java.lang.String operator)
Allows a Modification containing an operator to be created for a non-indexed property.

Modification

public Modification(java.lang.String property,
                    java.lang.Object value,
                    java.lang.String oper,
                    int pos)
Allows a Modification containing an operator to be created for an indexed property.
Method Detail

getProperty

public java.lang.String getProperty()
Returns the property.

getValue

public java.lang.Object getValue()
Returns the value.

getPosition

public int getPosition()
Returns the position.

getOperator

public java.lang.String getOperator()
Returns the name of the operator to be applied.