public class ResultTools extends Object
The result args contain information on the result requested for a service.
result = {
return = "void" | "primitive" | "composite";
property = {
= {
return = "true" | "false";
style = "literal" | "reference";
display = "true" | "false";
}
...
}
}
| Modifier and Type | Field and Description |
|---|---|
static String |
ARG_RESULT |
static String |
ARG_RESULT_PROPERTY |
static String |
ARG_RESULT_RETURN |
static String |
PROP_DISPLAY |
static String |
PROP_RETURN |
static String |
PROP_STYLE |
| Constructor and Description |
|---|
ResultTools() |
| Modifier and Type | Method and Description |
|---|---|
static IArgs |
getPropertyDescriptor(IArgs args,
String name) |
static Map<String,IArgs> |
getPropertyDescriptors(IArgs args) |
static EnumStyle |
getPropertyStyle(IArgs propertyDescriptor,
EnumStyle defaultValue) |
static EnumStyle |
getPropertyStyle(IArgs args,
String name,
EnumStyle defaultValue) |
static IArgs |
getResultDescriptor(IArgs args) |
static EnumReturnMode |
getResultReturnMode(IArgs args) |
static boolean |
isPropertyDescriptor(IArgs args) |
static boolean |
isPropertyDescriptorProperty(String name) |
static boolean |
isPropertyDisplay(IArgs propertyDescriptor,
boolean defaultValue) |
static boolean |
isPropertyDisplay(IArgs args,
String name,
boolean defaultValue) |
static boolean |
isPropertyReturn(IArgs propertyDescriptor,
boolean defaultValue) |
static boolean |
isPropertyReturn(IArgs args,
String name,
boolean defaultValue) |
public static final String ARG_RESULT
public static final String ARG_RESULT_RETURN
public static final String ARG_RESULT_PROPERTY
public static final String PROP_STYLE
public static final String PROP_RETURN
public static final String PROP_DISPLAY
public static EnumStyle getPropertyStyle(IArgs propertyDescriptor, EnumStyle defaultValue)
public static EnumStyle getPropertyStyle(IArgs args, String name, EnumStyle defaultValue)
public static EnumReturnMode getResultReturnMode(IArgs args)
public static boolean isPropertyDescriptor(IArgs args)
public static boolean isPropertyDescriptorProperty(String name)
public static boolean isPropertyDisplay(IArgs propertyDescriptor, boolean defaultValue)
public static boolean isPropertyDisplay(IArgs args, String name, boolean defaultValue)
public static boolean isPropertyReturn(IArgs propertyDescriptor, boolean defaultValue)
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.