Provides interfaces to store and retrieve GDML data sets.

Geometries are defined using GDML. The {@link mice.cdb.service.geometry.Geometry Geometry} interface provides methods to retrieve GDML data sets and the {@link mice.cdb.service.geometry.GeometrySuperMouse GeometrySuperMouse} interface extends the Geometry interface providing additional methods to store GDML data sets. Data is never deleted or overwritten. The nearest operation to updating a GDML data set is to add a new one with the same valid from time. The old and new GDML will be distinguished by their id and creation time and can be accessed via their id. The notes field should be used to provide a brief explanation of changes in the GDML

The data about Geometries are made persistent via a relational database. The address of the database is determined from the configuration file cdb.props. The configuration file can be found at MICE_HOME/etc/cdb-server/, where MICE_HOME is a property passed into the servlet container. By default if MICE_HOME is not set then the value /opt/mice is used. The configuration file should contain the following properties:

db.url
db.name
db.user
db.pwd
db.superUser
db.superPwd

Where db.url is the URL of the database to use, db.name is the name of the database, db.user and db.pwd should point a READ ONLY account for use by the Geometry class and db.superUser and db.superPwd are used by the GeometrySuperMouse class for READ/WRITE access to the database.

@since 1.0