• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java AbstractBuilding类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中org.citygml4j.model.citygml.building.AbstractBuilding的典型用法代码示例。如果您正苦于以下问题:Java AbstractBuilding类的具体用法?Java AbstractBuilding怎么用?Java AbstractBuilding使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

AbstractBuilding类属于org.citygml4j.model.citygml.building包,在下文中一共展示了AbstractBuilding类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: doExport

点赞 3

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
protected Collection<AbstractCityObject> doExport(AbstractBuilding parent, long parentId, ProjectionFilter parentProjectionFilter) throws CityGMLExportException, SQLException {
	boolean exterior = parentProjectionFilter.containsProperty("outerBuildingInstallation", buildingModule);
	boolean interior = parentProjectionFilter.containsProperty("interiorBuildingInstallation", buildingModule);
	if (!exterior && !interior)
		return Collections.emptyList();
	
	PreparedStatement ps = null;
	if (!exterior)
		ps = getOrCreateStatement("building_id", IntBuildingInstallation.class);
	else if (!interior)
		ps = getOrCreateStatement("building_id", BuildingInstallation.class);
	else
		ps = getOrCreateStatement("building_id");
	
	return doExport(parentId, null, null, ps);
}
 

开发者ID:3dcitydb,
项目名称:importer-exporter,
代码行数:17,
代码来源:DBBuildingInstallation.java

示例2: visit

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
public void visit(AbstractBuilding abstractBuilding) {
	visit((AbstractSite)abstractBuilding);

	if (abstractBuilding.isSetGenericApplicationPropertyOfAbstractBuilding())
		for (ADEComponent ade : abstractBuilding.getGenericApplicationPropertyOfAbstractBuilding())
			visit(ade);
}
 

开发者ID:3dcitydb,
项目名称:importer-exporter,
代码行数:8,
代码来源:ADEPropertyCollector.java

示例3: apply

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
public T apply(Building building) {
	T object = apply((AbstractBuilding)building);
	if (object != null)
		return object;

	if (building.isSetGenericApplicationPropertyOfBuilding()) {
		for (ADEComponent ade : new ArrayList<ADEComponent>(building.getGenericApplicationPropertyOfBuilding())) {
			object = apply(ade);
			if (object != null)
				return object;
		}
	}

	return null;
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:16,
代码来源:GMLFunctionWalker.java

示例4: visit

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
public void visit(Building building) {
	visit((AbstractBuilding)building);

	if (building.isSetGenericApplicationPropertyOfBuilding())
		for (ADEComponent ade : new ArrayList<ADEComponent>(building.getGenericApplicationPropertyOfBuilding()))
			visit(ade);
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:8,
代码来源:GMLWalker.java

示例5: visit

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
public void visit(AbstractBuilding abstractBuilding) {
	visit((AbstractSite)abstractBuilding);

	if (abstractBuilding.isSetOuterBuildingInstallation())
		for (BuildingInstallationProperty buildingInstallationProperty : new ArrayList<BuildingInstallationProperty>(abstractBuilding.getOuterBuildingInstallation()))
			visit(buildingInstallationProperty);

	if (abstractBuilding.isSetInteriorBuildingInstallation())
		for (IntBuildingInstallationProperty intBuildingInstallationProperty : new ArrayList<IntBuildingInstallationProperty>(abstractBuilding.getInteriorBuildingInstallation())) 
			visit(intBuildingInstallationProperty);

	if (abstractBuilding.isSetBoundedBySurface())
		for (org.citygml4j.model.citygml.building.BoundarySurfaceProperty boundarySurfaceProperty : new ArrayList<org.citygml4j.model.citygml.building.BoundarySurfaceProperty>(abstractBuilding.getBoundedBySurface()))
			visit(boundarySurfaceProperty);

	if (abstractBuilding.isSetConsistsOfBuildingPart())
		for (BuildingPartProperty buildingPartProperty : new ArrayList<BuildingPartProperty>(abstractBuilding.getConsistsOfBuildingPart()))
			visit(buildingPartProperty);

	if (abstractBuilding.isSetInteriorRoom())
		for (InteriorRoomProperty interiorRoomProperty : new ArrayList<InteriorRoomProperty>(abstractBuilding.getInteriorRoom()))
			visit(interiorRoomProperty);

	if (abstractBuilding.isSetAddress())
		for (AddressProperty addressProperty : new ArrayList<AddressProperty>(abstractBuilding.getAddress()))
			visit(addressProperty);

	if (abstractBuilding.isSetGenericApplicationPropertyOfAbstractBuilding())
		for (ADEComponent ade : new ArrayList<ADEComponent>(abstractBuilding.getGenericApplicationPropertyOfAbstractBuilding()))
			visit(ade);
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:32,
代码来源:FeatureWalker.java

示例6: insert

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
public long insert(AbstractBuilding building) throws SQLException {
	long buildingId = dbImporterManager.getDBId(DBSequencerEnum.CITYOBJECT_SEQ);
	boolean success = false;

	if (buildingId != 0)
		success = insert(building, buildingId, 0, buildingId);

	if (success)
		return buildingId;
	else
		return 0;
}
 

开发者ID:3dcitydb,
项目名称:importer-exporter-oracle,
代码行数:13,
代码来源:DBBuilding.java

示例7: insert

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
public long insert(AbstractBuilding building) throws SQLException {
	long buildingId = dbImporterManager.getDBId(DBSequencerEnum.CITYOBJECT_ID_SEQ);
	boolean success = false;

	if (buildingId != 0)
		success = insert(building, buildingId, 0, buildingId);

	if (success)
		return buildingId;
	else
		return 0;
}
 

开发者ID:3dcitydb,
项目名称:importer-exporter-postgis,
代码行数:13,
代码来源:DBBuilding.java

示例8: doExport

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
protected Collection<Room> doExport(AbstractBuilding parent, long parentId) throws CityGMLExportException, SQLException {
	return doExport(parentId, null, null, getOrCreateStatement("building_id"));
}
 

开发者ID:3dcitydb,
项目名称:importer-exporter,
代码行数:4,
代码来源:DBRoom.java

示例9: doExport

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
protected Collection<AbstractBoundarySurface> doExport(AbstractBuilding parent, long parentId) throws CityGMLExportException, SQLException {
	return doExport(parentId, null, null, getOrCreateStatement("building_id"));
}
 

开发者ID:3dcitydb,
项目名称:importer-exporter,
代码行数:4,
代码来源:DBThematicSurface.java

示例10: DBBuilding

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
public DBBuilding(Connection connection, CityGMLExportManager exporter) throws CityGMLExportException, SQLException {
	super(AbstractBuilding.class, connection, exporter);

	CombinedProjectionFilter projectionFilter = exporter.getCombinedProjectionFilter(TableEnum.BUILDING.getName());
	buildingModule = exporter.getTargetCityGMLVersion().getCityGMLModule(CityGMLModuleType.BUILDING).getNamespaceURI();		
	lodFilter = exporter.getLodFilter();
	String schema = exporter.getDatabaseAdapter().getConnectionDetails().getSchema();

	hasObjectClassIdColumn = exporter.getDatabaseAdapter().getConnectionMetaData().getCityDBVersion().compareTo(4, 0, 0) >= 0;

	table = new Table(TableEnum.BUILDING.getName(), schema);
	Table address = new Table(TableEnum.ADDRESS.getName(), schema);

	select = new Select().addProjection(table.getColumn("id"), table.getColumn("building_parent_id"));
	if (hasObjectClassIdColumn) select.addProjection(table.getColumn("objectclass_id"));
	if (projectionFilter.containsProperty("class", buildingModule)) select.addProjection(table.getColumn("class"), table.getColumn("class_codespace"));
	if (projectionFilter.containsProperty("function", buildingModule)) select.addProjection(table.getColumn("function"), table.getColumn("function_codespace"));
	if (projectionFilter.containsProperty("usage", buildingModule)) select.addProjection(table.getColumn("usage"), table.getColumn("usage_codespace"));
	if (projectionFilter.containsProperty("yearOfConstruction", buildingModule)) select.addProjection(table.getColumn("year_of_construction"));
	if (projectionFilter.containsProperty("yearOfDemolition", buildingModule)) select.addProjection(table.getColumn("year_of_demolition"));
	if (projectionFilter.containsProperty("roofType", buildingModule)) select.addProjection(table.getColumn("roof_type"), table.getColumn("roof_type_codespace"));
	if (projectionFilter.containsProperty("measuredHeight", buildingModule)) select.addProjection(table.getColumn("measured_height"), table.getColumn("measured_height_unit"));
	if (projectionFilter.containsProperty("storeysAboveGround", buildingModule)) select.addProjection(table.getColumn("storeys_above_ground"));
	if (projectionFilter.containsProperty("storeysBelowGround", buildingModule)) select.addProjection(table.getColumn("storeys_below_ground"));
	if (projectionFilter.containsProperty("storeyHeightsAboveGround", buildingModule)) select.addProjection(table.getColumn("storey_heights_above_ground"), table.getColumn("storey_heights_ag_unit"));
	if (projectionFilter.containsProperty("storeyHeightsBelowGround", buildingModule)) select.addProjection(table.getColumn("storey_heights_below_ground"), table.getColumn("storey_heights_bg_unit"));
	if (projectionFilter.containsProperty("lod1TerrainIntersection", buildingModule)) select.addProjection(exporter.getGeometryColumn(table.getColumn("lod1_terrain_intersection")));
	if (projectionFilter.containsProperty("lod2TerrainIntersection", buildingModule)) select.addProjection(exporter.getGeometryColumn(table.getColumn("lod2_terrain_intersection")));
	if (projectionFilter.containsProperty("lod3TerrainIntersection", buildingModule)) select.addProjection(exporter.getGeometryColumn(table.getColumn("lod3_terrain_intersection")));
	if (projectionFilter.containsProperty("lod4TerrainIntersection", buildingModule)) select.addProjection(exporter.getGeometryColumn(table.getColumn("lod4_terrain_intersection")));
	if (projectionFilter.containsProperty("lod2MultiCurve", buildingModule)) select.addProjection(exporter.getGeometryColumn(table.getColumn("lod2_multi_curve")));
	if (projectionFilter.containsProperty("lod3MultiCurve", buildingModule)) select.addProjection(exporter.getGeometryColumn(table.getColumn("lod3_multi_curve")));
	if (projectionFilter.containsProperty("lod4MultiCurve", buildingModule)) select.addProjection(exporter.getGeometryColumn(table.getColumn("lod4_multi_curve")));
	if (projectionFilter.containsProperty("lod0FootPrint", buildingModule)) select.addProjection(table.getColumn("lod0_footprint_id"));
	if (projectionFilter.containsProperty("lod0RoofEdge", buildingModule)) select.addProjection(table.getColumn("lod0_roofprint_id"));
	if (projectionFilter.containsProperty("lod1Solid", buildingModule)) select.addProjection(table.getColumn("lod1_solid_id"));
	if (projectionFilter.containsProperty("lod2Solid", buildingModule)) select.addProjection(table.getColumn("lod2_solid_id"));
	if (projectionFilter.containsProperty("lod3Solid", buildingModule)) select.addProjection(table.getColumn("lod3_solid_id"));
	if (projectionFilter.containsProperty("lod4Solid", buildingModule)) select.addProjection(table.getColumn("lod4_solid_id"));
	if (projectionFilter.containsProperty("lod1MultiSurface", buildingModule)) select.addProjection(table.getColumn("lod1_multi_surface_id"));
	if (projectionFilter.containsProperty("lod2MultiSurface", buildingModule)) select.addProjection(table.getColumn("lod2_multi_surface_id"));
	if (projectionFilter.containsProperty("lod3MultiSurface", buildingModule)) select.addProjection(table.getColumn("lod3_multi_surface_id"));
	if (projectionFilter.containsProperty("lod4MultiSurface", buildingModule)) select.addProjection(table.getColumn("lod4_multi_surface_id"));
	if (projectionFilter.containsProperty("address", buildingModule)) {
		Table addressToBuilding = new Table(TableEnum.ADDRESS_TO_BUILDING.getName(), schema);
		select.addJoin(JoinFactory.left(addressToBuilding, "building_id", ComparisonName.EQUAL_TO, table.getColumn("id")))
		.addJoin(JoinFactory.left(address, "id", ComparisonName.EQUAL_TO, addressToBuilding.getColumn("address_id")))
		.addProjection(address.getColumn("id", "addr_id"), address.getColumn("street"), address.getColumn("house_number"), address.getColumn("po_box"), address.getColumn("zip_code"), address.getColumn("city"),
				address.getColumn("state"), address.getColumn("country"), address.getColumn("xal_source"), exporter.getGeometryColumn(address.getColumn("multi_point")));
	}

	// add joins to ADE hook tables
	if (exporter.hasADESupport()) {
		buildingADEHookTables = exporter.getADEHookTables(TableEnum.BUILDING);
		addressADEHookTables = exporter.getADEHookTables(TableEnum.ADDRESS);			
		if (buildingADEHookTables != null) addJoinsToADEHookTables(buildingADEHookTables, table);
		if (addressADEHookTables != null) addJoinsToADEHookTables(addressADEHookTables, address);
	}

	thematicSurfaceExporter = exporter.getExporter(DBThematicSurface.class);
	buildingInstallationExporter = exporter.getExporter(DBBuildingInstallation.class);
	roomExporter = exporter.getExporter(DBRoom.class);
	cityObjectExporter = exporter.getExporter(DBCityObject.class);
	geometryExporter = exporter.getExporter(DBSurfaceGeometry.class);
	addressExporter = exporter.getExporter(DBAddress.class);
	gmlConverter = exporter.getGMLConverter();
	valueSplitter = exporter.getAttributeValueSplitter();
}
 

开发者ID:3dcitydb,
项目名称:importer-exporter,
代码行数:69,
代码来源:DBBuilding.java

示例11: doExport

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
@Override
protected boolean doExport(AbstractBuilding object, long id, FeatureType featureType) throws CityGMLExportException, SQLException {
	ProjectionFilter projectionFilter = exporter.getProjectionFilter(featureType);
	String column = projectionFilter.containsProperty("consistsOfBuildingPart", buildingModule) ? "building_root_id" : "id";
	return !doExport(id, object, featureType, getOrCreateStatement(column)).isEmpty();
}
 

开发者ID:3dcitydb,
项目名称:importer-exporter,
代码行数:7,
代码来源:DBBuilding.java

示例12: doImport

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
protected long doImport(AbstractBuilding building) throws CityGMLImportException, SQLException {
	return doImport(building, 0, 0);
}
 

开发者ID:3dcitydb,
项目名称:importer-exporter,
代码行数:4,
代码来源:DBBuilding.java

示例13: assignGenericProperty

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
public boolean assignGenericProperty(ADEGenericElement genericProperty, QName substitutionGroup, CityGML dest) {
	String name = substitutionGroup.getLocalPart();
	boolean success = true;

	if (dest instanceof AbstractBuilding && name.equals("_GenericApplicationPropertyOfAbstractBuilding"))
		((AbstractBuilding)dest).addGenericApplicationPropertyOfAbstractBuilding(genericProperty);
	else if (dest instanceof Building && name.equals("_GenericApplicationPropertyOfBuilding"))
		((Building)dest).addGenericApplicationPropertyOfBuilding(genericProperty);
	else if (dest instanceof BuildingPart && name.equals("_GenericApplicationPropertyOfBuildingPart"))
		((BuildingPart)dest).addGenericApplicationPropertyOfBuildingPart(genericProperty);
	else if (dest instanceof AbstractBoundarySurface && name.equals("_GenericApplicationPropertyOfBoundarySurface"))
		((AbstractBoundarySurface)dest).addGenericApplicationPropertyOfBoundarySurface(genericProperty);
	else if (dest instanceof CeilingSurface && name.equals("_GenericApplicationPropertyOfCeilingSurface"))
		((CeilingSurface)dest).addGenericApplicationPropertyOfCeilingSurface(genericProperty);
	else if (dest instanceof ClosureSurface && name.equals("_GenericApplicationPropertyOfClosureSurface"))
		((ClosureSurface)dest).addGenericApplicationPropertyOfClosureSurface(genericProperty);
	else if (dest instanceof FloorSurface && name.equals("_GenericApplicationPropertyOfFloorSurface"))
		((FloorSurface)dest).addGenericApplicationPropertyOfFloorSurface(genericProperty);
	else if (dest instanceof GroundSurface && name.equals("_GenericApplicationPropertyOfGroundSurface"))
		((GroundSurface)dest).addGenericApplicationPropertyOfGroundSurface(genericProperty);
	else if (dest instanceof InteriorWallSurface && name.equals("_GenericApplicationPropertyOfInteriorWallSurface"))
		((InteriorWallSurface)dest).addGenericApplicationPropertyOfInteriorWallSurface(genericProperty);
	else if (dest instanceof RoofSurface && name.equals("_GenericApplicationPropertyOfRoofSurface"))
		((RoofSurface)dest).addGenericApplicationPropertyOfRoofSurface(genericProperty);
	else if (dest instanceof WallSurface && name.equals("_GenericApplicationPropertyOfWallSurface"))
		((WallSurface)dest).addGenericApplicationPropertyOfWallSurface(genericProperty);
	else if (dest instanceof AbstractOpening && name.equals("_GenericApplicationPropertyOfOpening"))
		((AbstractOpening)dest).addGenericApplicationPropertyOfOpening(genericProperty);
	else if (dest instanceof Window && name.equals("_GenericApplicationPropertyOfWindow"))
		((Window)dest).addGenericApplicationPropertyOfWindow(genericProperty);
	else if (dest instanceof Door && name.equals("_GenericApplicationPropertyOfDoor"))
		((Door)dest).addGenericApplicationPropertyOfDoor(genericProperty);
	else if (dest instanceof BuildingFurniture && name.equals("_GenericApplicationPropertyOfBuildingFurniture"))
		((BuildingFurniture)dest).addGenericApplicationPropertyOfBuildingFurniture(genericProperty);
	else if (dest instanceof BuildingInstallation && name.equals("_GenericApplicationPropertyOfBuildingInstallation"))
		((BuildingInstallation)dest).addGenericApplicationPropertyOfBuildingInstallation(genericProperty);
	else if (dest instanceof IntBuildingInstallation && name.equals("_GenericApplicationPropertyOfIntBuildingInstallation"))
		((IntBuildingInstallation)dest).addGenericApplicationPropertyOfIntBuildingInstallation(genericProperty);
	else if (dest instanceof Room && name.equals("_GenericApplicationPropertyOfRoom"))
		((Room)dest).addGenericApplicationPropertyOfRoom(genericProperty);		
	else 
		success = false;

	return success;
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:46,
代码来源:Building100Unmarshaller.java

示例14: assignGenericProperty

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
public boolean assignGenericProperty(ADEGenericElement genericProperty, QName substitutionGroup, CityGML dest) {
	String name = substitutionGroup.getLocalPart();
	boolean success = true;

	if (dest instanceof AbstractBuilding && name.equals("_GenericApplicationPropertyOfAbstractBuilding"))
		((AbstractBuilding)dest).addGenericApplicationPropertyOfAbstractBuilding(genericProperty);
	else if (dest instanceof Building && name.equals("_GenericApplicationPropertyOfBuilding"))
		((Building)dest).addGenericApplicationPropertyOfBuilding(genericProperty);
	else if (dest instanceof BuildingPart && name.equals("_GenericApplicationPropertyOfBuildingPart"))
		((BuildingPart)dest).addGenericApplicationPropertyOfBuildingPart(genericProperty);
	else if (dest instanceof AbstractBoundarySurface && name.equals("_GenericApplicationPropertyOfBoundarySurface"))
		((AbstractBoundarySurface)dest).addGenericApplicationPropertyOfBoundarySurface(genericProperty);
	else if (dest instanceof CeilingSurface && name.equals("_GenericApplicationPropertyOfCeilingSurface"))
		((CeilingSurface)dest).addGenericApplicationPropertyOfCeilingSurface(genericProperty);
	else if (dest instanceof ClosureSurface && name.equals("_GenericApplicationPropertyOfClosureSurface"))
		((ClosureSurface)dest).addGenericApplicationPropertyOfClosureSurface(genericProperty);
	else if (dest instanceof FloorSurface && name.equals("_GenericApplicationPropertyOfFloorSurface"))
		((FloorSurface)dest).addGenericApplicationPropertyOfFloorSurface(genericProperty);
	else if (dest instanceof GroundSurface && name.equals("_GenericApplicationPropertyOfGroundSurface"))
		((GroundSurface)dest).addGenericApplicationPropertyOfGroundSurface(genericProperty);
	else if (dest instanceof InteriorWallSurface && name.equals("_GenericApplicationPropertyOfInteriorWallSurface"))
		((InteriorWallSurface)dest).addGenericApplicationPropertyOfInteriorWallSurface(genericProperty);
	else if (dest instanceof OuterCeilingSurface && name.equals("_GenericApplicationPropertyOfOuterCeilingSurface"))
		((OuterCeilingSurface)dest).addGenericApplicationPropertyOfOuterCeilingSurface(genericProperty);
	else if (dest instanceof OuterFloorSurface && name.equals("_GenericApplicationPropertyOfOuterFloorSurface"))
		((OuterFloorSurface)dest).addGenericApplicationPropertyOfOuterFloorSurface(genericProperty);
	else if (dest instanceof RoofSurface && name.equals("_GenericApplicationPropertyOfRoofSurface"))
		((RoofSurface)dest).addGenericApplicationPropertyOfRoofSurface(genericProperty);
	else if (dest instanceof WallSurface && name.equals("_GenericApplicationPropertyOfWallSurface"))
		((WallSurface)dest).addGenericApplicationPropertyOfWallSurface(genericProperty);
	else if (dest instanceof AbstractOpening && name.equals("_GenericApplicationPropertyOfOpening"))
		((AbstractOpening)dest).addGenericApplicationPropertyOfOpening(genericProperty);
	else if (dest instanceof Window && name.equals("_GenericApplicationPropertyOfWindow"))
		((Window)dest).addGenericApplicationPropertyOfWindow(genericProperty);
	else if (dest instanceof Door && name.equals("_GenericApplicationPropertyOfDoor"))
		((Door)dest).addGenericApplicationPropertyOfDoor(genericProperty);
	else if (dest instanceof BuildingFurniture && name.equals("_GenericApplicationPropertyOfBuildingFurniture"))
		((BuildingFurniture)dest).addGenericApplicationPropertyOfBuildingFurniture(genericProperty);
	else if (dest instanceof BuildingInstallation && name.equals("_GenericApplicationPropertyOfBuildingInstallation"))
		((BuildingInstallation)dest).addGenericApplicationPropertyOfBuildingInstallation(genericProperty);
	else if (dest instanceof IntBuildingInstallation && name.equals("_GenericApplicationPropertyOfIntBuildingInstallation"))
		((IntBuildingInstallation)dest).addGenericApplicationPropertyOfIntBuildingInstallation(genericProperty);
	else if (dest instanceof Room && name.equals("_GenericApplicationPropertyOfRoom"))
		((Room)dest).addGenericApplicationPropertyOfRoom(genericProperty);		
	else 
		success = false;

	return success;
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:50,
代码来源:Building200Unmarshaller.java

示例15: read

点赞 2

import org.citygml4j.model.citygml.building.AbstractBuilding; //导入依赖的package包/类
public void read(AbstractBuilding building, long parentId) throws SQLException {
	read(building, parentId, true);
}
 

开发者ID:3dcitydb,
项目名称:importer-exporter-oracle,
代码行数:4,
代码来源:DBThematicSurface.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)