// Source File Name:   FldToolEquipment.java

package psdi.app.woreqck;
import java.rmi.*;

import psdi.mbo.*;
import psdi.server.*;
import psdi.util.*;

public class FldHdcomphr extends MboValueAdapter
{
  public FldHdcomphr(MboValue mbovalue)
      throws MXException
  {
    super(mbovalue);

    //psdi.security.ConnectionKey connectionkey = null;
    //connectionkey = getMboValue().getMbo().getUserInfo().getConnectionKey();
    //java.sql.Connection connection = getMboValue().getMbo().getMboServer().getDBConnection(connectionkey);
    //mbovalue.getCurrentValue();//getOracleSequence(connection, "MYITEMSEQ");

  }

  public void validate()
      throws MXException, RemoteException
  {
  }

  public void action()
      throws MXException, RemoteException
  {
    Mbo mymbo = getMboValue().getMbo();
   //set datetime
    mymbo.setValue("hdcomptime", MXServer.getMXServer().getDate());
  }
}

