|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceParameter
Holds metadata about a single parameter to a ServiceOperation (part of a DataService object).
Field Summary | |
---|---|
static int |
IN_OUT
Value for direction (input/output). |
static int |
INPUT
Value for direction (input). |
static int |
OUTPUT
Value for direction (output). |
Method Summary | |
---|---|
java.lang.String |
getDescription(java.lang.String paramElement)
Get description of the parameter. |
java.util.Map |
getDescriptionsMap()
Retrieves all description elements for this paramter. |
int |
getDirection()
Get direction (INPUT, OUTPUT, IN_OUT) |
java.lang.String |
getName()
Logical name of parameter |
java.lang.String |
getVariableName()
Get name of WebApp variable that holds this parameter |
void |
setDescription(java.lang.String paramElement,
java.lang.String description)
Sets the description for the parameter or its element (for complex parameters). |
void |
setDirection(int direction)
|
void |
setName(java.lang.String name)
|
void |
setVariableName(java.lang.String variableName)
|
Field Detail |
---|
static final int IN_OUT
static final int INPUT
static final int OUTPUT
Method Detail |
---|
java.lang.String getDescription(java.lang.String paramElement)
paramElement
- the path of the parameter element for the complex type, e.g.,
if parameter is a complex variable named address with leaves name and phone then paramElement
can be address/name and address/phone. The paramElement can be null.
java.util.Map getDescriptionsMap()
int getDirection()
java.lang.String getName()
java.lang.String getVariableName()
void setDescription(java.lang.String paramElement, java.lang.String description)
void setDirection(int direction)
direction
- The direction to set (INPUT, OUTPUT, IN_OUT).void setName(java.lang.String name)
name
- The loginal name to set.void setVariableName(java.lang.String variableName)
variableName
- The variableName to set.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |