gICS_2.8.6
|
wrapper class, because jaxb can't handle hashmaps - https://wiki.kuali.org/display/STUDENTDOC/5.2+Using+JAXB+Objects+in+Web+Services :
Unfortunately, as of 2.1, this processing is only defined for bean properties and not when you marshal HashMap as a top-level object (such as a value in JAXBElement.) In such case, HashMap will be treated as a Java bean, and when you look at HashMap _as a bean it defines no getter/setter property pair...
More...
Public Member Functions | |
HashMapWrapper (HashMap< K, V > map) | |
HashMap< K, V > | getMap () |
void | setMap (HashMap< K, V > map) |
int | hashCode () |
boolean | equals (Object obj) |
Private Attributes | |
HashMap< K, V > | map |
Static Private Attributes | |
static final long | serialVersionUID = -7187508614583233675L |
wrapper class, because jaxb can't handle hashmaps - https://wiki.kuali.org/display/STUDENTDOC/5.2+Using+JAXB+Objects+in+Web+Services :
Unfortunately, as of 2.1, this processing is only defined for bean properties and not when you marshal HashMap as a top-level object (such as a value in JAXBElement.) In such case, HashMap will be treated as a Java bean, and when you look at HashMap _as a bean it defines no getter/setter property pair...
This issue has been recorded as_ #223 and the fix needs to happen in later versions of the JAXB spec.[https://jaxb.dev.java.net/guide/Mapping_your_favorite_class.html]
a simple solution is this wrapper class (http://stackoverflow.com/questions/13782797/jax-ws-exception-return-is-not-a-valid-property)
Definition at line 51 of file HashMapWrapper.java.