strolch/li.strolch.model
Robert von Burg ffca077419 [New] Changed Parameter.getValue() for implicit cast to type
Now you can simplify:
StringParameter valueS = resource.getParameter("bagId", "paramId");
String value = valueS.getValue();

to:
String value = resource.getParameter("bagId", "paramId").getValue();

Casting is done implicitly, thus this can lead to runtime exceptions
when the parameter is not of the relevant type, but otherwise it reduces
the code by one line.

Setting the value in this manor is not supported due to the
ListParameters requiring a type of List<T>.
2017-04-12 17:34:23 +02:00
..
src [New] Changed Parameter.getValue() for implicit cast to type 2017-04-12 17:34:23 +02:00
.gitignore moved everything to a subdirectory for repo merge 2014-09-16 08:50:59 +02:00
LICENSE moved everything to a subdirectory for repo merge 2014-09-16 08:50:59 +02:00
README.md [Project] Updated project for deployment to Maven Central 2016-09-22 09:37:55 +02:00
pom.xml [Project] Set new version 1.5.0-SNAPSHOT 2016-11-03 12:07:38 +01:00

README.md

li.strolch.model

Strolch is a generic framework for building parameterized models for modification at runtime written in Java