]> git.mxchange.org Git - jcontacts-business-core.git/commit
Continued:
authorRoland Häder <roland@mxchange.org>
Fri, 8 Sep 2017 23:22:59 +0000 (01:22 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 8 Sep 2017 23:22:59 +0000 (01:22 +0200)
commit30c792267835be88974a4baf87e6bf770d07297e
treee5a27f479abf035c65bc90e912d70bfaa9b6a78d
parent9456d01890f421b44d6f776c8230a43dc9b7e787
Continued:
- added utilities class for branch offices
- added event class/interface for branch offices being added
- added exception when a branch office has already been added
- renamed branchPhoneNumber -> branchLandLineNumber as everywhere is land-line
  used
- sorted members
- added contructor CompanyBranchOffice() with all required fields and validated
  parameters before setting them
- also need to add default constructor as the JPA requires it
- renamed companyDataId -> basicDataId

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jcontactsbusiness/basicdata/BusinessBasicData.java
src/org/mxchange/jcontactsbusiness/basicdata/CompanyBasicData.java
src/org/mxchange/jcontactsbusiness/branchoffice/BranchOffice.java
src/org/mxchange/jcontactsbusiness/branchoffice/BranchOfficeUtils.java [new file with mode: 0644]
src/org/mxchange/jcontactsbusiness/branchoffice/CompanyBranchOffice.java
src/org/mxchange/jcontactsbusiness/events/basicdata/added/AdminAddedBusinessBasicDataEvent.java
src/org/mxchange/jcontactsbusiness/events/branchoffice/added/BranchOfficeAddedEvent.java [new file with mode: 0644]
src/org/mxchange/jcontactsbusiness/events/branchoffice/added/ObservableBranchOfficeAddedEvent.java [new file with mode: 0644]
src/org/mxchange/jcontactsbusiness/exceptions/basicdata/BusinessDataAlreadyAddedException.java
src/org/mxchange/jcontactsbusiness/exceptions/branchoffice/BranchOfficeAlreadyAddedException.java [new file with mode: 0644]