public static final long serialVersionUID = 0x98344342;
public SpaceDimension(RelationalTable table){
super("Space",null);
Level environmentLvl = new MondrianLevel("Environment",table,"environment_name");
LevelProperty envNameProp = new MondrianLevelProperty( "Environment Name",
LevelProperty.TYPE_STRING,
table,
"environment_name");
environmentLvl.addProperty(envNameProp);
LevelProperty envGeomProp = new MondrianLevelProperty( "geom",
LevelProperty.TYPE_GEOMETRY,
table,
"environment_geom");
environmentLvl.addProperty(envGeomProp);
Level regionLvl = new MondrianLevel("Region",table,"region_name");
LevelProperty regNameProp = new MondrianLevelProperty( "Region Name",
LevelProperty.TYPE_STRING,
table,
"region_name");
regionLvl.addProperty(regNameProp);
LevelProperty regGeomProp = new MondrianLevelProperty( "geom",
LevelProperty.TYPE_GEOMETRY,
table,
"region_geom");
regionLvl.addProperty(regGeomProp);
Level areaLvl = new MondrianLevel("Area",table,"area_name");
LevelProperty areaNameProp = new MondrianLevelProperty( "Area Name",
LevelProperty.TYPE_STRING,
table,
"area_name");
areaLvl.addProperty(areaNameProp);
LevelProperty areaGeomProp = new MondrianLevelProperty( "geom",
LevelProperty.TYPE_GEOMETRY,
table,
"area_geom");
areaLvl.addProperty(areaGeomProp);