{"id":20196230,"url":"https://github.com/shaikrasheed99/factory-pattern","last_synced_at":"2025-03-03T08:13:56.336Z","repository":{"id":113142165,"uuid":"484326387","full_name":"shaikrasheed99/factory-pattern","owner":"shaikrasheed99","description":"Implementation of Factory Pattern.","archived":false,"fork":false,"pushed_at":"2022-04-27T14:30:08.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T19:39:07.981Z","etag":null,"topics":["design-patterns","factory-pattern","java","tdd","tdd-java"],"latest_commit_sha":null,"homepage":"","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/shaikrasheed99.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":"2022-04-22T06:48:49.000Z","updated_at":"2023-01-03T03:28:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"7807eab6-c032-4a93-a051-b97c8caa38f1","html_url":"https://github.com/shaikrasheed99/factory-pattern","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaikrasheed99%2Ffactory-pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaikrasheed99%2Ffactory-pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaikrasheed99%2Ffactory-pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaikrasheed99%2Ffactory-pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaikrasheed99","download_url":"https://codeload.github.com/shaikrasheed99/factory-pattern/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241629769,"owners_count":19993710,"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":["design-patterns","factory-pattern","java","tdd","tdd-java"],"created_at":"2024-11-14T04:22:38.462Z","updated_at":"2025-03-03T08:13:56.317Z","avatar_url":"https://github.com/shaikrasheed99.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Factory Pattern examples using Test Driven Development\n\n## Example (Garage):\n\n* There is an owner who is pretty much obsessed with different kinds of vehicles, he wants to buy as many vehicles as possible to store them in his garage.\n* For that, he wants to visit a nearby vehicle store to buy a brand-new kind of vehicle every time.\n* He likes all kinds of vehicles, but they should be differentiated with the number of wheels they have.\n* So, he wants different types of vehicles with different values of wheels.\n\n## Class Diagram:\n\n![](class-diagrams/factory-pattern.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaikrasheed99%2Ffactory-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaikrasheed99%2Ffactory-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaikrasheed99%2Ffactory-pattern/lists"}