Commit Graph

60 Commits

Author SHA1 Message Date
Robert von Burg 0dae330e72 [Major] Multiple issues
- setId() and setName() don't allow empty values
- added Locator.newBuilder(String)
- fixed wrong locator created by ParameterizedElement
- Better exception handling when parsing from XML as Sax
2014-03-03 23:32:33 +01:00
Robert von Burg d15d163ebf [New] Added New StrolchElementVisitor for StrolchRootElement
Also added getParent() and getRootElement() on StrolchElement
2014-02-26 20:37:42 +01:00
Robert von Burg 7147bc1570 [New] added a new StrolchRootElement interface for Resource and Order 2014-02-24 21:48:53 +01:00
Robert von Burg 205c4b967d [Minor] added sorting of exports XML model
- Parameters are sorted by Index
- ParameterBags are sorted by Id
2014-02-13 22:18:01 +01:00
Robert von Burg 791f12eef3 [Bugfix] fixed bug where Locator was not complete for Parameters 2014-02-13 22:17:02 +01:00
Robert von Burg 14dd9ff73b [New] added a ParameterVisitor interface with SetParameterValueVisitor 2014-02-07 17:54:48 +01:00
Robert von Burg 8b76bf3d4b [Major] refactoring use of BooleanSelection in StrolchQuery 2014-02-03 08:03:10 +01:00
Robert von Burg e023733cf0 [New] Added NotSelection and further builder methods to StrolchQuery 2014-02-01 13:12:43 +01:00
Robert von Burg 5915fe086d [New] added Parameter.getIndex() 2014-01-31 19:13:19 +01:00
Robert von Burg 49df0b54da [Minor] switched to StringHelper.isNotEmpty() 2014-01-31 19:02:21 +01:00
Robert von Burg 368f8f14a4 [New] modified the Selection to have a builder pattern
Further modified the StringParameterSelection to allow for contains and
case insensitive querying
2014-01-31 15:55:16 +01:00
Robert von Burg 743e1c039b [New] Implemented Export and Import model services and commands 2014-01-30 00:21:13 +01:00
Robert von Burg 9fda376697 [Minor] code cleanup 2014-01-25 22:14:33 +01:00
Robert von Burg 84c75c8d32 [Project] added Jenkins build badge to README.md 2014-01-23 22:52:38 +01:00
Robert von Burg 0f6f2183c9 [New] added version info metadata to agent 2014-01-23 22:00:34 +01:00
Robert von Burg 63fc60bdfd [Bugfix] fixed a bug that tries to parse inexistant state on Order 2014-01-22 20:19:10 +01:00
Robert von Burg ce2afd365b [Minor] extended Locator to get the path elements
Further added JavaDoc and removed exceptions when formatting about
locator length. This is now checked when instantiating using the builder
2014-01-13 19:08:21 +01:00
Robert von Burg e781aea668 [Major] refactored how transactions are opened
Now the ElementMapHandler is the central object and clients do not use
access DAOs or the PersistenceHandler anymore. This is now transparent.
2014-01-10 19:10:36 +01:00
Robert von Burg 3a756b9561 [New] added new TEMPLATE constant to Tags 2014-01-01 02:17:26 +01:00
Robert von Burg 2cb1aa0ffe [Bugfix] fixed an issue where cloning a Resource was missing the params 2013-12-28 12:58:13 +01:00
Robert von Burg fc92e9fff3 [Bugfix] fixed a bug in a test due to a timinig issue 2013-12-25 17:00:35 +01:00
Robert von Burg 43c31f4f31 [Minor] fixed issue where eclipse couldn't validate log4j.xml 2013-12-25 11:56:07 +01:00
Robert von Burg 46d446c700 [New] methods to generate bulk objects now pad the id
This allows for easier lexical sorting
2013-12-24 02:46:43 +01:00
Robert von Burg 66392767e5 [New] added methods to generate bulk model objects 2013-12-24 01:47:38 +01:00
Robert von Burg 98f92dc0f8 [Minor] moved constant for default realm 2013-12-24 00:17:30 +01:00
Robert von Burg 6951bac61c [Minor] added constant for default realm 2013-12-23 20:24:53 +01:00
Robert von Burg 9b836dd45c [New] Added visitor pattern for Resources and Orders 2013-12-23 01:52:50 +01:00
Robert von Burg e8cdbb59fe [Project] Changed all licence references to Apache License 2.0 2013-12-15 13:10:01 +01:00
Robert von Burg 2ab55605b9 [New] finally implemented a query model
In li.strolch.model we keep the API so that the visitors are available
in all Strolch projects
2013-12-11 23:50:20 +01:00
Robert von Burg d3353062b9 [New] Implemented an XmlModelDefaultHandler to parse a model file
Now we can parse a big file containing multiple types of objects. It is
also supported to include files by using the <IncludeFile file="" />
element.

Including tests
2013-11-21 18:17:35 +01:00
Robert von Burg 7289dccdfc [New] added parseFromString()-methods to all Parameter implementations 2013-11-19 22:54:25 +01:00
Robert von Burg d043c59910 [Major] refactored the DateParameter and Order date to be Date, not long 2013-11-18 19:22:59 +01:00
Robert von Burg 8c8a7b1dc4 [Minor] Extended LocatorBuilder to allow removing last element 2013-10-30 07:57:15 +01:00
Robert von Burg 546f2c9caf Revert "[New] refactored Locator"
This reverts commit bca42e35c8.
2013-10-30 07:45:01 +01:00
Robert von Burg bbd862de72 [Minor] Added hashcode() and equals() to Locator 2013-10-30 07:41:55 +01:00
Robert von Burg bca42e35c8 [New] refactored Locator
Now added method to add single element, or get parent. Also removed
restriction for element to have at least three elements. Now one element
is sufficient.
2013-10-29 21:04:50 +01:00
Robert von Burg 55fdc6cfc5 [Minor] cleaned up .gitignore 2013-10-28 18:58:11 +01:00
Robert von Burg 681bf88d96 [Minor] fixed compile error due to wrong typing 2013-10-24 21:57:17 +02:00
Robert von Burg 98e7490164 [New] Now all date parsing and formatting is done using ISO8601 2013-10-24 21:45:50 +02:00
Robert von Burg 80a7a326e0 [Minor] JavaDoc clarification 2013-10-24 20:07:34 +02:00
Robert von Burg 6b12b31605 [Minor] cleaned up compiler warnings and added Tags constants class 2013-10-24 18:37:47 +02:00
Robert von Burg 70258baf7c [Project] set a parent to li.strolch.parent for easier managing 2013-10-23 20:10:00 +02:00
Robert von Burg 9f9f7b0216 [Project] changed Java version frm 1.6 to 1.7 in pom.xml 2013-09-16 07:47:08 +02:00
Robert von Burg 618369378e Merge branch 'master' of github.com:eitch/li.strolch.model 2013-08-12 18:10:53 +02:00
Martin 2a6ec4cf0c Added Serializable interface to value model objects 2013-03-31 13:57:57 +02:00
Robert von Burg 5b846a1c62 Merge branch 'master' of github.com:eitch/li.strolch.model 2013-02-24 11:28:15 +01:00
Robert von Burg c085625cce [Minor] JavaDoc comments and file headers
fixed some JavaDoc comments and file headers
2013-01-31 19:08:26 +01:00
Robert von Burg 8a661ff04e Update pom.xml
Added distribution management to deploy to nexus.eitchnet.ch (fixed wrong URL)
2013-01-30 15:02:53 +01:00
Robert von Burg a8d8702464 Update pom.xml
Added distribution management to deploy to nexus.eitchnet.ch
2013-01-30 14:54:33 +01:00
Robert von Burg 487ad3e826 Fefactored xml parsing and writing to no longer depend on JDom. Now
only basic Java XML is used.
2013-01-21 18:39:11 +01:00