Hello,
(org.uddi.api_v3.Address)
I guess that's another bug: getSortCode() and getUseType() returns non-null
value (empty String) if values are nulls:
code:
> org.uddi.api_v3.Address a = new org.uddi.api_v3.Address();
> System.out.println("Lang:" + a.getLang());
> System.out.println("SortCode:" + a.getSortCode());
> System.out.println("UseType:" + a.getUseType());
> System.out.println();
> a.setLang("lang");
> a.setSortCode("sortcode");
> a.setUseType("usetype");
> System.out.println("Lang:" + a.getLang());
> System.out.println("SortCode:" + a.getSortCode());
> System.out.println("UseType:" + a.getUseType());
> System.out.println();
> a.setLang(null);
> a.setSortCode(null);
> a.setUseType(null);
> System.out.println("Lang:" + a.getLang());
> System.out.println("SortCode:" + a.getSortCode());
> System.out.println("UseType:" + a.getUseType());
>
output:
> Lang:null
> SortCode:
> UseType:
>
> Lang:lang
> SortCode:sortcode
> UseType:usetype
>
> Lang:null
> SortCode:
> UseType:
>
--Martin
--
View this message in context:
http://old.nabble.com/org.uddi.api_v3.Address-getSortCode%28%29-getUseType%28%29-bug-tp31423435p31423435.html
Sent from the jUDDI - User mailing list archive at Nabble.com.