You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if you would consider adding a new decorator to the codegen that adds a @Nullable annotation on getters that might return a null value, based on the cardinality defined in the XSD.
I started working on such a decorator, I think I have something that works pretty well on my XSD but I'm not sure it's 100% correct, and I would rather use an officiel decorator that is bundled with JiBX.
The text was updated successfully, but these errors were encountered:
Hi,
I was wondering if you would consider adding a new decorator to the codegen that adds a
@Nullable
annotation on getters that might return anull
value, based on the cardinality defined in the XSD.For example,
would generate the following getter:
Also, things like choices would also result in nullable getters:
would result in:
I started working on such a decorator, I think I have something that works pretty well on my XSD but I'm not sure it's 100% correct, and I would rather use an officiel decorator that is bundled with JiBX.
The text was updated successfully, but these errors were encountered: