|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,PARAMETER}) @Retention(value=RUNTIME) public @interface MOWebParam
Defines mapping options for a web-service method parameter or return value. This annotation is only used by the J2XB-Axis2 module.
MOPropertyEditor
,
MOPropertyEditorRegistry
,
MOPolymorphicAtomProperty
Optional Element Summary | |
---|---|
java.lang.String |
defaultValue
defines the default value of the XML element. |
boolean |
isXmlAttribute
defines if the value is written as an XML attribute or an XML element |
java.lang.String |
xmlName
the xmlName() value defines the xml element or attribute name of the parameter. |
boolean |
xmlOptional
defines if the value is optional in the XML representation. |
public abstract java.lang.String xmlName
xmlName()
value defines the xml element or attribute name of the parameter. If not specified, the
Java parameter name is used
public abstract boolean xmlOptional
public abstract boolean isXmlAttribute
public abstract java.lang.String defaultValue
The default value is written in terms of the string representation of the property type, as defined by the
matching MOPropertyEditor
class.
MOPropertyEditor.toString(Class, java.lang.Object)
,
MOPropertyEditor.fromString(Class, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |