Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

Commit

Permalink
completed exercise-04
Browse files Browse the repository at this point in the history
  • Loading branch information
lcabraja committed Mar 29, 2022
1 parent ce06db4 commit 81180a5
Show file tree
Hide file tree
Showing 38 changed files with 1,598 additions and 0 deletions.
8 changes: 8 additions & 0 deletions exercise-04/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions exercise-04/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions exercise-04/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions exercise-04/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions exercise-04/.idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions exercise-04/.idea/uiDesigner.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions exercise-04/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions exercise-04/exercise-04.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="imenik" type="imenikType"/>
<xs:complexType name="adresaType">
<xs:sequence>
<xs:element type="xs:string" name="ulica"/>
<xs:element type="xs:string" name="kucniBroj"/>
<xs:element type="xs:string" name="mjesto"/>
<xs:element type="xs:integer" name="postanskiBroj"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="osobaType">
<xs:sequence>
<xs:element type="xs:string" name="ime"/>
<xs:element type="xs:string" name="prezime"/>
<xs:element type="xs:string" name="email"/>
<xs:element type="adresaType" name="adresa"/>
<xs:element type="xs:string" name="telefon"/>
<xs:element type="xs:string" name="kategorija"/>
</xs:sequence>
<xs:attribute type="xs:string" name="oib" use="optional"/>
</xs:complexType>
<xs:complexType name="imenikType">
<xs:sequence>
<xs:element type="osobaType" name="osoba" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
<?xml version="1.0" encoding="utf-8"?>
<imenik>
<osoba oib="12345678901">
<ime>Marko</ime>
<prezime>Marić</prezime>
<email>mmaric@mail.com</email>
<adresa>
<ulica>Moja ulica</ulica>
<kucniBroj>15</kucniBroj>
<mjesto>Zagreb</mjesto>
<postanskiBroj>10000</postanskiBroj>
</adresa>
<telefon>0912222333</telefon>
<kategorija>Poslovni</kategorija>
</osoba>
<osoba>
<ime>Ana</ime>
<prezime>Anić</prezime>
<email>aanic@mail.com</email>
<adresa>
<ulica>Neka ulica</ulica>
<kucniBroj>18</kucniBroj>
<mjesto>Zagreb</mjesto>
<postanskiBroj>10000</postanskiBroj>
</adresa>
<telefon>0982222456</telefon>
<kategorija>Privatni</kategorija>
</osoba>
<osoba oib="02345678911">
<ime>Pero</ime>
<prezime>Perić</prezime>
<email>pperic@mail.com</email>
<adresa>
<ulica>Zagrebačka</ulica>
<kucniBroj>41</kucniBroj>
<mjesto>Velika Gorica</mjesto>
<postanskiBroj>10410</postanskiBroj>
</adresa>
<telefon>0923652471</telefon>
<kategorija>Poslovni</kategorija>
</osoba>
<osoba oib="2587413694">
<ime>Ivan</ime>
<prezime>Ivić</prezime>
<email>iivic@mail.com</email>
<adresa>
<ulica>Ilica</ulica>
<kucniBroj>1428</kucniBroj>
<mjesto>Zagreb</mjesto>
<postanskiBroj>10000</postanskiBroj>
</adresa>
<telefon>0914563254</telefon>
<kategorija>Privatni</kategorija>
</osoba>
<osoba oib="45217895144">
<ime>Iva</ime>
<prezime>Ivić</prezime>
<email>iivic2@mail.com</email>
<adresa>
<ulica>Ilica</ulica>
<kucniBroj>1428</kucniBroj>
<mjesto>Zagreb</mjesto>
<postanskiBroj>10000</postanskiBroj>
</adresa>
<telefon>0982541998</telefon>
<kategorija>Privatni</kategorija>
</osoba>
<osoba oib="12345678901">
<ime>Andre</ime>
<prezime>Andric</prezime>
<email>iivic2@mail.com</email>
<adresa>
<ulica>Ilica</ulica>
<kucniBroj>1428</kucniBroj>
<mjesto>Zagreb</mjesto>
<postanskiBroj>10000</postanskiBroj>
</adresa>
<telefon>0982541998</telefon>
<kategorija>Privatni</kategorija>
</osoba>
<osoba oib="12345678901">
<ime>Test1</ime>
<prezime>Testtest</prezime>
<email>test@mail.com</email>
<adresa>
<ulica>Testna ulica</ulica>
<kucniBroj>0011</kucniBroj>
<mjesto>Zagreb</mjesto>
<postanskiBroj>10000</postanskiBroj>
</adresa>
<telefon>0982541998</telefon>
<kategorija>Privatni</kategorija>
</osoba>
<osoba oib="12345678901">
<ime>Test2</ime>
<prezime>Testtest</prezime>
<email>test@mail.com</email>
<adresa>
<ulica>Testna ulica</ulica>
<kucniBroj>0012</kucniBroj>
<mjesto>Zagreb</mjesto>
<postanskiBroj>10000</postanskiBroj>
</adresa>
<telefon>0982541998</telefon>
<kategorija>Privatni</kategorija>
</osoba>
<osoba oib="12345678901">
<ime>Test3</ime>
<prezime>Testtest</prezime>
<email>test@mail.com</email>
<adresa>
<ulica>Testna ulica</ulica>
<kucniBroj>0013</kucniBroj>
<mjesto>Zagreb</mjesto>
<postanskiBroj>10000</postanskiBroj>
</adresa>
<telefon>0982541998</telefon>
<kategorija>Privatni</kategorija>
</osoba>
<osoba oib="12345678901">
<ime>Test4</ime>
<prezime>Testtest</prezime>
<email>test@mail.com</email>
<adresa>
<ulica>Testna ulica</ulica>
<kucniBroj>0014</kucniBroj>
<mjesto>Zagreb</mjesto>
<postanskiBroj>10000</postanskiBroj>
</adresa>
<telefon>0982541998</telefon>
<kategorija>Privatni</kategorija>
</osoba>
<osoba oib="12345678901">
<ime>Test5</ime>
<prezime>Resttest</prezime>
<email>test@mail.com</email>
<adresa>
<ulica>Testna ulica</ulica>
<kucniBroj>0015</kucniBroj>
<mjesto>Split</mjesto>
<postanskiBroj>20</postanskiBroj>
</adresa>
<telefon>0982541998</telefon>
<kategorija>Privatni</kategorija>
</osoba>
</imenik>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="imenik" type="imenikType"/>
<xs:complexType name="adresaType">
<xs:sequence>
<xs:element type="xs:string" name="ulica"/>
<xs:element type="xs:string" name="kucniBroj"/>
<xs:element type="xs:string" name="mjesto"/>
<xs:element type="xs:integer" name="postanskiBroj"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="osobaType">
<xs:sequence>
<xs:element type="xs:string" name="ime"/>
<xs:element type="xs:string" name="prezime"/>
<xs:element type="xs:string" name="email"/>
<xs:element type="adresaType" name="adresa"/>
<xs:element type="xs:string" name="telefon"/>
<xs:element type="xs:string" name="kategorija"/>
</xs:sequence>
<xs:attribute type="xs:string" name="oib" use="optional"/>
</xs:complexType>
<xs:complexType name="imenikType">
<xs:sequence>
<xs:element type="osobaType" name="osoba" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 81180a5

Please sign in to comment.