Commit d7f02b9e authored by Rushikesh Padsala's avatar Rushikesh Padsala
Browse files

Merge branch 'beta7' into 'master'

Beta7

See merge request !11
parents 9e5fccb3 ec015961
package de.stuttgart.hft;
import de.stuttgart.hft.ade.energy2.exporter.ExportManager;
import de.stuttgart.hft.ade.energy2.importer.ImportManager;
import de.stuttgart.hft.ade.energy2.schema.ObjectMapper;
import de.stuttgart.hft.ade.energy2.schema.SchemaMapper;
import de.stuttgart.hft.ade.energy3.exporter.ExportManager;
import de.stuttgart.hft.ade.energy3.importer.ImportManager;
import de.stuttgart.hft.ade.energy3.schema.ObjectMapper;
import de.stuttgart.hft.ade.energy3.schema.SchemaMapper;
import org.citydb.core.ade.ADEExtension;
import org.citydb.core.ade.ADEExtensionException;
import org.citydb.core.ade.ADEObjectMapper;
......@@ -18,13 +18,13 @@ import java.nio.file.Paths;
import java.util.Collections;
import java.util.List;
public class EnergyADEExtension extends ADEExtension {
public class EnergyADE3Extension extends ADEExtension {
private final ObjectMapper objectMapper = new ObjectMapper();
private final SchemaMapper schemaMapper = new SchemaMapper();
private final EnergyADEContext context = new EnergyADEContext();
public static void main(String[] args) {
EnergyADEExtension adeExtension = new EnergyADEExtension();
EnergyADE3Extension adeExtension = new EnergyADE3Extension();
adeExtension.setBasePath(Paths.get("resources/database").toAbsolutePath());
new ImpExpLauncher().withArgs(args)
.withADEExtension(adeExtension)
......
package de.stuttgart.hft.ade.energy2.schema;
public enum ADESequence {
VOLUMETYPE_SEQ,
FLOORAREA_SEQ,
QUALIFIED_ATTRIBUTE_SEQ,
HEATEXCHANGETYPE_SEQ,
TRANSMITTANCE_SEQ,
OPTICALPROPERTIES_SEQ,
REFLECTANCE_SEQ,
TIMEVALUESPROPERTI_SEQ,
PERIODOFYEAR_SEQ,
DAILYSCHEDULE_SEQ,
REFURBISHMENT_MEASURE_SEQ
}
package de.stuttgart.hft.ade.energy2.exporter;
package de.stuttgart.hft.ade.energy3.exporter;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import org.citydb.core.ade.exporter.ADEExporter;
import org.citydb.core.ade.exporter.CityGMLExportHelper;
import org.citydb.core.database.schema.mapping.AbstractType;
import org.citydb.core.database.schema.mapping.ComplexType;
import org.citydb.core.database.schema.mapping.SchemaMapping;
import org.citydb.core.operation.exporter.CityGMLExportException;
import org.citydb.core.query.filter.projection.ProjectionFilter;
import org.citydb.core.registry.ObjectRegistry;
import org.citygml4j.ade.energy.model.core.*;
import org.citygml4j.ade.energy.model.module.EnergyADEModule;
......@@ -31,8 +29,8 @@ public class AbstractQualifiedAttributeExporter implements ADEExporter {
private final CityGMLExportHelper helper;
private final ExportManager manager;
private final Connection connection;
private WeatherDataExporter weatherDataExporter;
private ResourceExporter resourceExporter;
//private WeatherDataExporter weatherDataExporter;
//private ResourceExporter resourceExporter;
private String module;
private Map<Integer, Class <? extends AbstractQualifiedAttribute>> attributeClassMap;
......
package de.stuttgart.hft.ade.energy2.exporter;
package de.stuttgart.hft.ade.energy3.exporter;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import net.opengis.gml.CodeType;
import org.citydb.core.ade.exporter.ADEExporter;
import org.citydb.core.ade.exporter.CityGMLExportHelper;
......
package de.stuttgart.hft.ade.energy2.exporter;
package de.stuttgart.hft.ade.energy3.exporter;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import org.citydb.config.geometry.GeometryObject;
import org.citydb.core.ade.exporter.ADEExporter;
import org.citydb.core.ade.exporter.CityGMLExportHelper;
......
package de.stuttgart.hft.ade.energy2.exporter;
package de.stuttgart.hft.ade.energy3.exporter;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy2.schema.ObjectMapper;
import de.stuttgart.hft.ade.energy2.schema.SchemaMapper;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ObjectMapper;
import de.stuttgart.hft.ade.energy3.schema.SchemaMapper;
import org.citydb.core.ade.exporter.ADEExportManager;
import org.citydb.core.ade.exporter.ADEExporter;
import org.citydb.core.ade.exporter.CityGMLExportHelper;
......@@ -12,7 +12,6 @@ import org.citydb.core.database.schema.mapping.FeatureType;
import org.citydb.core.operation.exporter.CityGMLExportException;
import org.citydb.core.query.filter.projection.ProjectionFilter;
import org.citygml4j.ade.energy.model.core.AbstractResource;
import org.citygml4j.ade.energy.model.core.QualifiedHeight;
import org.citygml4j.ade.energy.model.core.WeatherData;
import org.citygml4j.ade.energy.model.supportingClasses.*;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
......
package de.stuttgart.hft.ade.energy2.exporter;
package de.stuttgart.hft.ade.energy3.exporter;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import org.citydb.core.ade.exporter.ADEExporter;
import org.citydb.core.ade.exporter.CityGMLExportHelper;
import org.citydb.core.database.schema.mapping.AbstractType;
......
package de.stuttgart.hft.ade.energy2.exporter;
package de.stuttgart.hft.ade.energy3.exporter;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import org.citydb.core.ade.exporter.ADEExporter;
import org.citydb.core.ade.exporter.CityGMLExportHelper;
import org.citydb.core.database.schema.mapping.ObjectType;
......
package de.stuttgart.hft.ade.energy2.exporter;
package de.stuttgart.hft.ade.energy3.exporter;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import org.citydb.core.ade.exporter.ADEExporter;
import org.citydb.core.ade.exporter.CityGMLExportHelper;
import org.citydb.core.operation.exporter.CityGMLExportException;
......
package de.stuttgart.hft.ade.energy2.exporter;
package de.stuttgart.hft.ade.energy3.exporter;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import org.citydb.core.ade.exporter.ADEExporter;
import org.citydb.core.ade.exporter.CityGMLExportHelper;
import org.citydb.core.database.schema.mapping.AbstractType;
......
package de.stuttgart.hft.ade.energy2.exporter;
package de.stuttgart.hft.ade.energy3.exporter;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import org.citydb.config.geometry.GeometryObject;
import org.citydb.core.ade.exporter.ADEExporter;
import org.citydb.core.ade.exporter.CityGMLExportHelper;
import org.citydb.core.database.schema.mapping.AbstractType;
import org.citydb.core.database.schema.mapping.ObjectType;
import org.citydb.core.operation.exporter.CityGMLExportException;
import org.citydb.core.operation.exporter.database.content.GMLConverter;
......
package de.stuttgart.hft.ade.energy2.exporter;
package de.stuttgart.hft.ade.energy3.exporter;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import org.citydb.core.ade.exporter.ADEExporter;
import org.citydb.core.ade.exporter.CityGMLExportHelper;
import org.citydb.core.database.schema.mapping.AbstractType;
......
package de.stuttgart.hft.ade.energy2.importer;
package de.stuttgart.hft.ade.energy3.importer;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy2.schema.SchemaMapper;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.SchemaMapper;
import org.citydb.config.geometry.GeometryObject;
import org.citydb.core.ade.importer.ADEImporter;
import org.citydb.core.ade.importer.ADEPropertyCollection;
......
package de.stuttgart.hft.ade.energy2.importer;
package de.stuttgart.hft.ade.energy3.importer;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy2.schema.SchemaMapper;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.SchemaMapper;
import org.citydb.core.ade.importer.ADEImporter;
import org.citydb.core.ade.importer.CityGMLImportHelper;
import org.citydb.core.ade.importer.ForeignKeys;
......
package de.stuttgart.hft.ade.energy2.importer;
package de.stuttgart.hft.ade.energy3.importer;
import de.stuttgart.hft.ade.energy2.schema.ADESequence;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy2.schema.SchemaMapper;
import de.stuttgart.hft.ade.energy3.schema.ADESequence;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.SchemaMapper;
import org.citydb.core.ade.importer.ADEImporter;
import org.citydb.core.ade.importer.CityGMLImportHelper;
import org.citydb.core.ade.importer.ForeignKeys;
import org.citydb.core.database.schema.mapping.AbstractObjectType;
import org.citydb.core.database.schema.mapping.ComplexType;
import org.citydb.core.database.schema.mapping.ObjectType;
import org.citydb.core.database.schema.mapping.SchemaMapping;
import org.citydb.core.operation.importer.CityGMLImportException;
import org.citydb.core.operation.importer.util.GeometryConverter;
import org.citydb.core.registry.ObjectRegistry;
import org.citydb.core.util.Util;
import org.citygml4j.ade.energy.model.core.AbstractQualifiedAttribute;
import org.citygml4j.ade.energy.model.core.QualifiedArea;
import org.citygml4j.ade.energy.model.core.QualifiedHeight;
import org.citygml4j.ade.energy.model.core.QualifiedVolume;
import org.sig3d.citygml.energyADE2beta7.AbstractQualifiedAttributeType;
import org.sig3d.citygml.energyADE2beta7.QualifiedAreaType;
import org.sig3d.citygml.energyADE2beta7.QualifiedHeightType;
......
package de.stuttgart.hft.ade.energy2.importer;
package de.stuttgart.hft.ade.energy3.importer;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy2.schema.SchemaMapper;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.SchemaMapper;
import org.citydb.core.ade.importer.ADEImporter;
import org.citydb.core.ade.importer.ADEPropertyCollection;
import org.citydb.core.ade.importer.CityGMLImportHelper;
......
package de.stuttgart.hft.ade.energy2.importer;
package de.stuttgart.hft.ade.energy3.importer;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy2.schema.SchemaMapper;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.SchemaMapper;
import org.citydb.config.geometry.GeometryObject;
import org.citydb.core.ade.importer.ADEImporter;
import org.citydb.core.ade.importer.ADEPropertyCollection;
......
package de.stuttgart.hft.ade.energy2.importer;
package de.stuttgart.hft.ade.energy3.importer;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import org.citydb.core.ade.importer.ADEImporter;
import org.citydb.core.ade.importer.CityGMLImportHelper;
import org.citydb.core.ade.importer.ForeignKeys;
......
package de.stuttgart.hft.ade.energy2.importer;
package de.stuttgart.hft.ade.energy3.importer;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import de.stuttgart.hft.ade.energy2.schema.SchemaMapper;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import de.stuttgart.hft.ade.energy3.schema.SchemaMapper;
import org.citydb.core.ade.importer.ADEImporter;
import org.citydb.core.ade.importer.CityGMLImportHelper;
import org.citydb.core.ade.importer.ForeignKeys;
......
package de.stuttgart.hft.ade.energy2.importer;
package de.stuttgart.hft.ade.energy3.importer;
import de.stuttgart.hft.ade.energy2.schema.ADETable;
import org.citydb.config.geometry.GeometryObject;
import de.stuttgart.hft.ade.energy3.schema.ADETable;
import org.citydb.core.ade.importer.ADEImporter;
import org.citydb.core.ade.importer.CityGMLImportHelper;
import org.citydb.core.ade.importer.ForeignKeys;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment