Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.adapter
Interface AdapterDefinition


Deprecated.

 no replacement

public interface AdapterDefinition

Interface for AdapterDefinition.

The purpose with this interface is to let an Adapter implementation define it's parameters to be used by the Panama System.

See Also:
RuntimeAdapter

Field Summary
static java.lang.String ADAPTERDEFINITION
          Deprecated. The XML Tag.

 

Method Summary
 InitArgument createInit(ArgumentType type, java.lang.String parameterName, java.lang.String comment, java.lang.String[] options)
          Deprecated. Create a new init parameter.
 InputArgument createInput(ArgumentType type, java.lang.String parameterName, java.lang.String comment, java.lang.String[] options)
          Deprecated. Create a new input parameter.
 OutputArgument createOutput(java.lang.String parameterName, java.lang.String comment)
          Deprecated. Create a new output parameter.
 java.lang.String getComment()
          Deprecated.  
 org.w3c.dom.Element getElement()
          Deprecated.  
 org.w3c.dom.Element getElement(org.w3c.dom.Document owner)
          Deprecated.  
 InitArgument getInit(java.lang.String name)
          Deprecated. Get an Init Argument by name.
 java.util.Enumeration getInits()
          Deprecated. Gets the enumeration list of all init names.
 InputArgument getInput(java.lang.String name)
          Deprecated. Get an Input Argument by name.
 Arguments getInputArguments()
          Deprecated. Gets an Arguments with all input arguments.
 java.util.Enumeration getInputs()
          Deprecated. Gets the enumeration list of all input names.
 OutputArgument getOutput(java.lang.String name)
          Deprecated. Get an output Argument by name.
 java.util.Enumeration getOutputs()
          Deprecated. Gets the enumeration list of all output names.
 void setComment(java.lang.String comment)
          Deprecated.  

 

Field Detail

ADAPTERDEFINITION

public static final java.lang.String ADAPTERDEFINITION
Deprecated. 
The XML Tag.
See Also:
Constant Field Values
Method Detail

getElement

public org.w3c.dom.Element getElement()
Deprecated. 
Returns:
the element used by core to store AdapterDefinition in repository.

getElement

public org.w3c.dom.Element getElement(org.w3c.dom.Document owner)
Deprecated. 
Parameters:
owner - the document owning the created element
Returns:
Element used by core to store AdapterDefinition in repository.

getComment

public java.lang.String getComment()
Deprecated. 
Returns:
Comment for the AdapterDefintion

setComment

public void setComment(java.lang.String comment)
Deprecated. 

getInit

public InitArgument getInit(java.lang.String name)
Deprecated. 
Get an Init Argument by name.
Returns:
the argument or null if not found.

getInput

public InputArgument getInput(java.lang.String name)
Deprecated. 
Get an Input Argument by name.
Returns:
the argument or null if not found.

getOutput

public OutputArgument getOutput(java.lang.String name)
Deprecated. 
Get an output Argument by name.
Returns:
the argument or null if not found.

createInit

public InitArgument createInit(ArgumentType type,
                               java.lang.String parameterName,
                               java.lang.String comment,
                               java.lang.String[] options)
Deprecated. 
Create a new init parameter.
Parameters:
type - one of SINGLE_LINE, MULTI_LINE or ENUM.
parameterName - the non null name of the parameter.
comment - the comment or null if none.
options - if the type is ENUM then this is a list of possible values, otherwise null.
Returns:
the created init argument.
Throws:
PanamaRuntimeException - when the parameter is invalid.
See Also:
ArgumentType

createInput

public InputArgument createInput(ArgumentType type,
                                 java.lang.String parameterName,
                                 java.lang.String comment,
                                 java.lang.String[] options)
Deprecated. 
Create a new input parameter.
Parameters:
type - one of SINGLE_LINE, MULTI_LINE or ENUM.
parameterName - the name of the parameter.
comment - the comment or null if none.
options - if the type is ENUM then this is a list of possible values, otherwise null.
Returns:
the created input argument.
Throws:
PanamaRuntimeException - when the parameter is invalid.
See Also:
ArgumentType

createOutput

public OutputArgument createOutput(java.lang.String parameterName,
                                   java.lang.String comment)
Deprecated. 
Create a new output parameter.
Parameters:
parameterName - the name of the parameter.
comment - the comment or null if none.
Throws:
PanamaRuntimeException - when the parameter is invalid.

getInputs

public java.util.Enumeration getInputs()
Deprecated. 
Gets the enumeration list of all input names.
Returns:
the enumeration of input arguments.
See Also:
InputArgument

getInputArguments

public Arguments getInputArguments()
Deprecated. 
Gets an Arguments with all input arguments.
Returns:
the Arguments of input arguments.
See Also:
InputArgument

getOutputs

public java.util.Enumeration getOutputs()
Deprecated. 
Gets the enumeration list of all output names.
Returns:
the enumeration of output arguments.
See Also:
OutputArgument.

getInits

public java.util.Enumeration getInits()
Deprecated. 
Gets the enumeration list of all init names.
Returns:
the enumeration of init arguments.
See Also:
InitArgument

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.