Interface logic.Updateable
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface logic.Updateable

public interface Updateable

Method Index

 o doUpdate(Hashtable)
Default behavior: if the Action that calls this method is simply setting the value of an attribute, the method body for doUpdate should look like this (for concreteness, we'll assume the attribute is a String -- you must cast the Hashtable value val to the appropriate type)
      Object val = vals.get(Action.MAIN_KEY);
      setValue((String)val);
  

Methods

 o doUpdate
public abstract void doUpdate(Hashtable vals)
Default behavior: if the Action that calls this method is simply setting the value of an attribute, the method body for doUpdate should look like this (for concreteness, we'll assume the attribute is a String -- you must cast the Hashtable value val to the appropriate type)
      Object val = vals.get(Action.MAIN_KEY);
      setValue((String)val);
  


All Packages  Class Hierarchy  This Package  Previous  Next  Index