Class Modification


  • public class Modification
    extends java.lang.Object
    A class represents a modification. This is used by the database (dbs) framework for modification operations. It specifices the modification type and values.
    Version:
    $Revision$, $Date$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MOD_ADD
      Add new value.
      static int MOD_DELETE
      Deletes old value.
      static int MOD_REPLACE
      Replace old value.
    • Constructor Summary

      Constructors 
      Constructor Description
      Modification​(java.lang.String name, int op, java.lang.Object value)
      Constructs a role modification.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Retrieves attribute name.
      int getOp()
      Retrieves modification operation type.
      java.lang.Object getValue()
      Retrieves attribute 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 name,
                            int op,
                            java.lang.Object value)
        Constructs a role modification.
        Parameters:
        name - attribute name
        op - attribute operation (i.e. MOD_ADD, MOD_DELETE, or MOD_REPLACE)
        value - attribute value
    • Method Detail

      • getName

        public java.lang.String getName()
        Retrieves attribute name.
        Returns:
        attribute name
      • getOp

        public int getOp()
        Retrieves modification operation type.
        Returns:
        modification type
      • getValue

        public java.lang.Object getValue()
        Retrieves attribute value.
        Returns:
        attribute value