ozone core API

org.ozoneDB.core.DbRemote
Class DbCreateObj

java.lang.Object
  extended byorg.ozoneDB.DxLib.DxObject
      extended byorg.ozoneDB.core.DbRemote.DbCommand
          extended byorg.ozoneDB.core.DbRemote.DbCreateObj
All Implemented Interfaces:
java.lang.Cloneable, DxCompatible, java.io.Serializable

public final class DbCreateObj
extends DbCommand

Version:
$Revision: 1.7 $Date: 2002/12/29 11:15:56 $
Author:
SMB
See Also:
Serialized Form

Field Summary
private  int access
           
private  java.lang.Object[] args
           
private  java.lang.String className
           
private  java.lang.String objName
           
private  java.lang.String sig
           
 
Fields inherited from class org.ozoneDB.core.DbRemote.DbCommand
env, proxyObjectGate, result
 
Fields inherited from class org.ozoneDB.DxLib.DxObject
 
Constructor Summary
DbCreateObj()
           
DbCreateObj(java.lang.String _className, int _access, java.lang.String _objName, java.lang.String _sig, java.lang.Object[] _args)
           
 
Method Summary
 void perform(Transaction ta)
          Perform whatever has to be done for this command.
 void readExternal(java.io.ObjectInput in)
           
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class org.ozoneDB.core.DbRemote.DbCommand
getProxyObjectGate, setProxyObjectGate, shouldResultBeSentToClient
 
Methods inherited from class org.ozoneDB.DxLib.DxObject
clone, isLess
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
equals
 

Field Detail

className

private java.lang.String className

access

private int access

objName

private java.lang.String objName

sig

private java.lang.String sig

args

private java.lang.Object[] args
Constructor Detail

DbCreateObj

public DbCreateObj()

DbCreateObj

public DbCreateObj(java.lang.String _className,
                   int _access,
                   java.lang.String _objName,
                   java.lang.String _sig,
                   java.lang.Object[] _args)
Method Detail

perform

public void perform(Transaction ta)
             throws java.lang.Exception
Description copied from class: DbCommand
Perform whatever has to be done for this command. This method is called within a transaction, within a thread. The result of the command goes in the result member.

Specified by:
perform in class DbCommand
Throws:
java.lang.Exception

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

toString

public java.lang.String toString()
Overrides:
toString in class DbCommand

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.