|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xins.server.FunctionResult
org.xins.server.InvalidRequestResult
Result code that indicates that an input parameter is either missing or invalid.
| Constructor Summary | |
InvalidRequestResult()
Constructs a new InvalidRequestResult object. |
|
| Method Summary | |
void |
addAttributeCombo(String type,
List attributes,
String elementName)
Adds an invalid combination of attributes. |
void |
addInvalidValueForType(String parameter,
String type)
Adds an invalid value for a specified type. |
void |
addInvalidValueForType(String attribute,
String type,
String element)
Adds an invalid value for a specified type. |
void |
addMissingParameter(String parameter)
Adds to the response a paramater that is missing. |
void |
addMissingParameter(String attribute,
String element)
Adds to the response an attribute that is missing in an element. |
void |
addParamCombo(String type,
List parameters)
Adds an invalid combination of parameters. |
| Methods inherited from class org.xins.server.FunctionResult |
add, add, checkOutputParameters, getDataElement, getErrorCode, getParameter, getParameters, param, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public InvalidRequestResult()
InvalidRequestResult object.
| Method Detail |
public void addMissingParameter(String parameter)
parameter - the missing parameter.
public void addMissingParameter(String attribute,
String element)
attribute - the missing attribute.element - the element in which the attribute is missing.
public void addInvalidValueForType(String parameter,
String type)
parameter - the parameter passed by the user.type - the type which this parameter should be compliant with.
public void addInvalidValueForType(String attribute,
String type,
String element)
attribute - the attribute passed by the user.type - the type which this parameter should be compliant with.element - the element in which the attribute is missing.
public void addParamCombo(String type,
List parameters)
type - the type of the combination.parameters - list of the parameters in the combination passed as a list of
String objects.
public void addAttributeCombo(String type,
List attributes,
String elementName)
type - the type of the combination.attributes - list of the attributes in the combination passed as a list of
String objects.elementName - the name of the element to which these attributes belong.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||