-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example for sorting the EN16931 genericode lists by Code alphabetically #2
Conversation
Why is an Object returned? How can the attribute value of @ColumnRef be accessed? Object lhsColumnRef = lhs.getValue().get(0).getColumnRef(); I aim to get full access to all data of the EN16931 genericode lists to be able to do regression tests and automatic testing! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I gave some proposals
src/test/java/com/helger/genericode/Genericode10EN16931CodeListMarshallerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/helger/genericode/Genericode10EN16931CodeListMarshallerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/helger/genericode/Genericode10EN16931CodeListMarshallerTest.java
Show resolved
Hide resolved
src/test/java/com/helger/genericode/Genericode10EN16931CodeListMarshallerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/helger/genericode/Genericode10EN16931CodeListMarshallerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/helger/genericode/Genericode10EN16931CodeListMarshallerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/helger/genericode/Genericode10EN16931CodeListMarshallerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/helger/genericode/Genericode10EN16931CodeListMarshallerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/helger/genericode/Genericode10EN16931CodeListMarshallerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/helger/genericode/Genericode10EN16931CodeListMarshallerTest.java
Outdated
Show resolved
Hide resolved
Thanks for all the help, the access to the data and the sort are working now! Thanks again, at least the EN16931 GC reading was successful...I will likely start with POI tomorrow for the spreadsheet. not the expected 1-2 hours but likely more the 1-2 days ;-) |
PS: If there are any Nullpointer - like no Code in an EU e-invoice code list, I would like to let them throw... ;-) |
Just a drill no real PR and asking for assistance (or reporting a potential issue)
Trying out ph-genericode by extending its example for sorting the EN16931 genericode lists alphabetically by their Code