{"id":16859513,"url":"https://github.com/raphw/xjcoptional","last_synced_at":"2025-03-23T16:30:53.349Z","repository":{"id":49896988,"uuid":"159825887","full_name":"raphw/xjcoptional","owner":"raphw","description":"A XJC plugin to make getters of optional properties Optional.","archived":false,"fork":false,"pushed_at":"2024-04-23T20:32:26.000Z","size":19,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T21:54:47.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-30T13:15:35.000Z","updated_at":"2024-04-23T20:32:29.000Z","dependencies_parsed_at":"2024-04-22T22:30:05.431Z","dependency_job_id":"ca283161-7831-45ba-807b-39bd0243b9bb","html_url":"https://github.com/raphw/xjcoptional","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphw%2Fxjcoptional","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphw%2Fxjcoptional/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphw%2Fxjcoptional/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphw%2Fxjcoptional/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphw","download_url":"https://codeload.github.com/raphw/xjcoptional/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245130690,"owners_count":20565694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T14:18:05.801Z","updated_at":"2025-03-23T16:30:53.007Z","avatar_url":"https://github.com/raphw.png","language":"Java","readme":"This plugin changes getters for properties that are not optional singletons in an XSD file (*minOccurs = 0* and *maxOccurs = 1*) to return an `Optional` value.\n\nExample use in Maven when building with the *maven-jaxb2-plugin*:\n\n```xml \n\u003cbuild\u003e\n  \u003cplugins\u003e\n    \u003cplugin\u003e\n      \u003cgroupId\u003eorg.jvnet.jaxb2.maven2\u003c/groupId\u003e\n      \u003cartifactId\u003emaven-jaxb2-plugin\u003c/artifactId\u003e\n      \u003cversion\u003eLATEST\u003c/version\u003e\n      \u003cexecutions\u003e\n        \u003cexecution\u003e\n          \u003cid\u003exsd-generate\u003c/id\u003e\n          \u003cphase\u003egenerate-sources\u003c/phase\u003e\n          \u003cgoals\u003e\n            \u003cgoal\u003egenerate\u003c/goal\u003e\n          \u003c/goals\u003e\n        \u003c/execution\u003e\n      \u003c/executions\u003e\n      \u003cconfiguration\u003e\n        \u003cextension\u003etrue\u003c/extension\u003e\n\t\u003cargs\u003e\n\t  \u003carg\u003e-Xnullsafegetters\u003c/arg\u003e\n        \u003c/args\u003e\n        \u003cplugins\u003e\n          \u003cplugin\u003e\n            \u003cgroupId\u003ecodes.rafael.xjc\u003c/groupId\u003e\n            \u003cartifactId\u003enullsafe\u003c/artifactId\u003e\n            \u003cversion\u003eLATEST\u003c/version\u003e\n          \u003c/plugin\u003e\n        \u003c/plugins\u003e\n      \u003c/configuration\u003e\n    \u003c/plugin\u003e\n  \u003c/plugins\u003e\n\u003c/build\u003e\n```\n\nUnder the Apache 2.0 license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphw%2Fxjcoptional","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphw%2Fxjcoptional","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphw%2Fxjcoptional/lists"}