|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--callin.Connection | +--Goovi.AmosInterface
Class for that specializes callin.Connection class with extra functionallity needed by Goovi.
Connection
Constructor Summary | |
AmosInterface(TypeBrowser tb,
java.lang.String dbName)
Constructor that creates an AmosInterface object |
Method Summary | |
callin.Oid |
createDerivedType(java.lang.String superTypeList,
java.lang.String name,
java.lang.String whereClause)
Function for creating a derived type |
callin.Oid |
createType(java.lang.Object[] supertypes,
java.lang.String typename)
Function for creating a type |
void |
delete(Goovi.JCOutlinerNode[] nodes)
Function for deleting a list of objects. |
callin.Scan |
execute(java.lang.String stmt)
Call-through function overrides Connection#execute Adds a semicolon to the statement if not present. |
void |
importFunctions(StringVector names,
java.lang.String dbName)
Function for importing functions. |
void |
importTypes(StringVector typeNames,
java.lang.String dbName)
Function for importing types. |
Methods inherited from class callin.Connection |
addFunction,
amosTopLoop,
callFunction,
callFunction,
callFunction,
callFunction,
callFunction,
callFunction,
callFunction,
callFunction,
callOidFunction,
callOidFunction,
callStringFunction,
callStringFunction,
callTupleFunction,
callTupleFunction,
callTupleFunction,
callTupleFunction,
callTupleFunction,
callTupleTupleFunction,
clearFunctionCache,
commit,
createObject,
deleteObject,
disconnect,
execute,
finalize,
getFunction,
getObjectNumbered,
getType,
initializeAmos,
initializeAmos,
initJava,
openScan,
printErrForm,
remFunction,
rollback,
setFunction |
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AmosInterface(TypeBrowser tb, java.lang.String dbName) throws callin.AmosException
tb
- The typebrowser that this AmosInterface belongs to.dbName
- The name of the AMOS server to connect to.Method Detail |
public callin.Scan execute(java.lang.String stmt) throws callin.AmosException
stmt
- The statement to execute, possibly without ending semicolon.Connection.execute(java.lang.String)
,
AmosConsole
public callin.Oid createDerivedType(java.lang.String superTypeList, java.lang.String name, java.lang.String whereClause) throws callin.AmosException
superTypeList
- List of form name
- Name of the derived type to be created.whereClause
- The where-clause of the derived type to be created.public callin.Oid createType(java.lang.Object[] supertypes, java.lang.String typename) throws callin.AmosException
supertypes
- A String array containing the names of the supertypes as strings.typename
- Name of the type to be created.StringVector
public void delete(Goovi.JCOutlinerNode[] nodes) throws java.lang.Exception
nodes
- An array of AmosNodes corresponding to the objects to be deleted.Connection.deleteObject(callin.Oid)
public void importTypes(StringVector typeNames, java.lang.String dbName) throws java.lang.Exception
typeNames
- A vector with the name of the types as strings.dbName
- The name of the database to import the types from.callin.Connection#delete
public void importFunctions(StringVector names, java.lang.String dbName) throws java.lang.Exception
typeNames
- A vector with the name of the functions as strings.dbName
- The name of the database to import the functions from.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |