本文整理汇总了Java中org.citygml4j.model.gml.basicTypes.Code类的典型用法代码示例。如果您正苦于以下问题:Java Code类的具体用法?Java Code怎么用?Java Code使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Code类属于org.citygml4j.model.gml.basicTypes包,在下文中一共展示了Code类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: marshalTrafficArea
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
private void marshalTrafficArea(TrafficArea src, SemanticsType dest) {
if (src.isSetClazz())
dest.addProperty("class", src.getClazz().getValue());
if (src.isSetFunction()) {
for (Code function : src.getFunction()) {
if (function.isSetValue()) {
dest.addProperty("function", function.getValue());
break;
}
}
}
if (src.isSetUsage()) {
for (Code usage : src.getUsage()) {
if (usage.isSetValue()) {
dest.addProperty("usage", usage.getValue());
break;
}
}
}
if (src.isSetSurfaceMaterial())
dest.addProperty("surfaceMaterial", src.getSurfaceMaterial().getValue());
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:26,代码来源:TransportationMarshaller.java
示例2: copyTo
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public Object copyTo(Object target, CopyBuilder copyBuilder) {
LocationProperty copy = (target == null) ? new LocationProperty() : (LocationProperty)target;
super.copyTo(copy, copyBuilder);
if (isSetLocationKeyWord()) {
copy.setLocationKeyWord((Code)copyBuilder.copy(locationKeyWord));
if (copy.getLocationKeyWord() == locationKeyWord)
locationKeyWord.setParent(this);
}
if (isSetLocationString()) {
copy.setLocationString((StringOrRef)copyBuilder.copy(locationString));
if (copy.getLocationString() == locationString)
locationString.setParent(this);
}
if (isSetNull()) {
copy.setNull((Null)copyBuilder.copy(_null));
if (copy.getNull() == _null)
_null.setParent(this);
}
return copy;
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:25,代码来源:LocationProperty.java
示例3: copyTo
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
NoiseCityFurnitureSegment copy = (target == null) ? new NoiseCityFurnitureSegment() : (NoiseCityFurnitureSegment)target;
super.copyTo(copy, copyBuilder);
if (isSetType()) {
copy.setType((Code)copyBuilder.copy(type));
if (copy.getType() == type)
type.setParent(this);
}
if (isSetReflection())
copy.setReflection((String)copyBuilder.copy(reflection));
if (isSetReflectionCorrection()) {
copy.setReflectionCorrection((Measure)copyBuilder.copy(reflectionCorrection));
if (copy.getReflectionCorrection() == reflectionCorrection)
reflectionCorrection.setParent(this);
}
if (isSetHeight()) {
copy.setHeight((Length)copyBuilder.copy(height));
if (copy.getHeight() == height)
height.setParent(this);
}
if (isSetDistance()) {
copy.setDistance((Length)copyBuilder.copy(distance));
if (copy.getDistance() == distance)
distance.setParent(this);
}
if (isSetLod0BaseLine()) {
copy.setLod0BaseLine((CurveProperty)copyBuilder.copy(lod0BaseLine));
if (copy.getLod0BaseLine() == lod0BaseLine)
lod0BaseLine.setParent(this);
}
return copy;
}
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:41,代码来源:NoiseCityFurnitureSegment.java
示例4: unmarshalLandUse
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void unmarshalLandUse(LandUseType src, LandUse dest) {
citygml.getCoreUnmarshaller().unmarshalAbstractCityObject(src, dest);
if (src.isSetAttributes()) {
Attributes attributes = src.getAttributes();
if (attributes.isSetClazz())
dest.setClazz(new Code(attributes.getClazz()));
if (attributes.isSetFunction())
dest.addFunction(new Code(attributes.getFunction()));
if (attributes.isSetUsage())
dest.addUsage(new Code(attributes.getUsage()));
}
for (AbstractGeometryType geometryType : src.getGeometry()) {
if (geometryType instanceof AbstractSurfaceCollectionType) {
AbstractSurfaceCollectionType surfaceType = (AbstractSurfaceCollectionType)geometryType;
MultiSurface multiSurface = json.getGMLUnmarshaller().unmarshalMultiSurface(surfaceType, dest);
if (multiSurface != null) {
int lod = geometryType.getLod().intValue();
switch (lod) {
case 0:
dest.setLod0MultiSurface(new MultiSurfaceProperty(multiSurface));
break;
case 1:
dest.setLod1MultiSurface(new MultiSurfaceProperty(multiSurface));
break;
case 2:
dest.setLod2MultiSurface(new MultiSurfaceProperty(multiSurface));
break;
case 3:
dest.setLod3MultiSurface(new MultiSurfaceProperty(multiSurface));
break;
}
}
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:41,代码来源:LandUseUnmarshaller.java
示例5: unmarshalIntBuildingInstallation
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void unmarshalIntBuildingInstallation(IntBuildingInstallationType src, IntBuildingInstallation dest) throws MissingADESchemaException {
citygml.getCore100Unmarshaller().unmarshalAbstractCityObject(src, dest);
if (src.isSetClazz())
dest.setClazz(new Code(src.getClazz()));
if (src.isSetFunction()) {
for (String function : src.getFunction())
dest.addFunction(new Code(function));
}
if (src.isSetUsage()) {
for (String usage : src.getUsage())
dest.addUsage(new Code(usage));
}
if (src.isSetLod4Geometry())
dest.setLod4Geometry(jaxb.getGMLUnmarshaller().unmarshalGeometryProperty(src.getLod4Geometry()));
if (src.isSet_GenericApplicationPropertyOfIntBuildingInstallation()) {
for (JAXBElement<Object> elem : src.get_GenericApplicationPropertyOfIntBuildingInstallation()) {
ADEModelObject ade = jaxb.getADEUnmarshaller().unmarshal(elem);
if (ade != null)
dest.addGenericApplicationPropertyOfIntBuildingInstallation(ade);
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:28,代码来源:Building100Unmarshaller.java
示例6: unmarshalCityFurniture
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void unmarshalCityFurniture(CityFurnitureType src, CityFurniture dest) {
citygml.getCoreUnmarshaller().unmarshalAbstractCityObject(src, dest);
if (src.isSetAttributes()) {
Attributes attributes = src.getAttributes();
if (attributes.isSetClazz())
dest.setClazz(new Code(attributes.getClazz()));
if (attributes.isSetFunction())
dest.addFunction(new Code(attributes.getFunction()));
if (attributes.isSetUsage())
dest.addUsage(new Code(attributes.getUsage()));
}
for (AbstractGeometryType geometryType : src.getGeometry()) {
AbstractGeometry geometry = json.getGMLUnmarshaller().unmarshal(geometryType, dest);
if (geometry != null) {
int lod = geometryType.getLod().intValue();
switch (lod) {
case 1:
dest.setLod1Geometry(new GeometryProperty<>(geometry));
break;
case 2:
dest.setLod2Geometry(new GeometryProperty<>(geometry));
break;
case 3:
dest.setLod3Geometry(new GeometryProperty<>(geometry));
break;
}
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:35,代码来源:CityFurnitureUnmarshaller.java
示例7: unmarshalParameterizedTexture
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void unmarshalParameterizedTexture(TextureType src, ParameterizedTexture dest) {
if (src.isSetImage()) {
String imageURI = textureFileHandler.getImageURI(src.getImage());
if (imageURI == null)
return;
dest.setImageURI(imageURI);
}
if (src.isSetType())
dest.setMimeType(new Code(src.getType().getMimeType()));
if (src.isSetWrapMode())
dest.setWrapMode(WrapMode.fromValue(src.getWrapMode().getValue()));
if (src.isSetTextureType())
dest.setTextureType(org.citygml4j.model.citygml.appearance.TextureType.fromValue(src.getTextureType().getValue()));
if (src.isSetBorderColor()) {
List<Double> color = src.getBorderColor();
if (color != null) {
if (color.size() == 3)
dest.setBorderColor(new ColorPlusOpacity(color.get(0), color.get(1), color.get(2)));
else if (color.size() > 3)
dest.setBorderColor(new ColorPlusOpacity(color.get(0), color.get(1), color.get(2), color.get(3)));
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:29,代码来源:AppearanceUnmarshaller.java
示例8: marshalBuildingInstallation
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void marshalBuildingInstallation(BuildingInstallation src, BuildingInstallationType dest) {
citygml.getCore100Marshaller().marshalAbstractCityObject(src, dest);
if (src.isSetClazz())
dest.setClazz(src.getClazz().getValue());
if (src.isSetFunction()) {
for (Code function : src.getFunction())
dest.getFunction().add(function.getValue());
}
if (src.isSetUsage()) {
for (Code usage : src.getUsage())
dest.getUsage().add(usage.getValue());
}
if (src.isSetLod2Geometry())
dest.setLod2Geometry(jaxb.getGMLMarshaller().marshalGeometryProperty(src.getLod2Geometry()));
if (src.isSetLod3Geometry())
dest.setLod3Geometry(jaxb.getGMLMarshaller().marshalGeometryProperty(src.getLod3Geometry()));
if (src.isSetLod4Geometry())
dest.setLod4Geometry(jaxb.getGMLMarshaller().marshalGeometryProperty(src.getLod4Geometry()));
if (src.isSetGenericApplicationPropertyOfBuildingInstallation()) {
for (ADEComponent adeComponent : src.getGenericApplicationPropertyOfBuildingInstallation()) {
JAXBElement<Object> jaxbElement = jaxb.getADEMarshaller().marshalJAXBElement(adeComponent);
if (jaxbElement != null)
dest.get_GenericApplicationPropertyOfBuildingInstallation().add(jaxbElement);
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:35,代码来源:Building100Marshaller.java
示例9: unmarshalAuxiliaryTrafficArea
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void unmarshalAuxiliaryTrafficArea(AuxiliaryTrafficAreaType src, AuxiliaryTrafficArea dest) throws MissingADESchemaException {
unmarshalAbstractTransportationObject(src, dest);
if (src.isSetFunction()) {
for (String function : src.getFunction())
dest.addFunction(new Code(function));
}
if (src.isSetSurfaceMaterial())
dest.setSurfaceMaterial(new Code(src.getSurfaceMaterial()));
if (src.isSetLod2MultiSurface())
dest.setLod2MultiSurface(jaxb.getGMLUnmarshaller().unmarshalMultiSurfaceProperty(src.getLod2MultiSurface()));
if (src.isSetLod3MultiSurface())
dest.setLod3MultiSurface(jaxb.getGMLUnmarshaller().unmarshalMultiSurfaceProperty(src.getLod3MultiSurface()));
if (src.isSetLod4MultiSurface())
dest.setLod4MultiSurface(jaxb.getGMLUnmarshaller().unmarshalMultiSurfaceProperty(src.getLod4MultiSurface()));
if (src.isSet_GenericApplicationPropertyOfAuxiliaryTrafficArea()) {
for (JAXBElement<Object> elem : src.get_GenericApplicationPropertyOfAuxiliaryTrafficArea()) {
ADEModelObject ade = jaxb.getADEUnmarshaller().unmarshal(elem);
if (ade != null)
dest.addGenericApplicationPropertyOfAuxiliaryTrafficArea(ade);
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:29,代码来源:Transportation100Unmarshaller.java
示例10: marshalTrafficArea
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void marshalTrafficArea(TrafficArea src, TrafficAreaType dest) {
marshalAbstractTransportationObject(src, dest);
if (src.isSetClazz())
dest.setClazz(jaxb.getGMLMarshaller().marshalCode(src.getClazz()));
if (src.isSetFunction()) {
for (Code function : src.getFunction())
dest.getFunction().add(jaxb.getGMLMarshaller().marshalCode(function));
}
if (src.isSetUsage()) {
for (Code usage : src.getUsage())
dest.getUsage().add(jaxb.getGMLMarshaller().marshalCode(usage));
}
if (src.isSetSurfaceMaterial())
dest.setSurfaceMaterial(jaxb.getGMLMarshaller().marshalCode(src.getSurfaceMaterial()));
if (src.isSetLod2MultiSurface())
dest.setLod2MultiSurface(jaxb.getGMLMarshaller().marshalMultiSurfaceProperty(src.getLod2MultiSurface()));
if (src.isSetLod3MultiSurface())
dest.setLod3MultiSurface(jaxb.getGMLMarshaller().marshalMultiSurfaceProperty(src.getLod3MultiSurface()));
if (src.isSetLod4MultiSurface())
dest.setLod4MultiSurface(jaxb.getGMLMarshaller().marshalMultiSurfaceProperty(src.getLod4MultiSurface()));
if (src.isSetGenericApplicationPropertyOfTrafficArea()) {
for (ADEComponent adeComponent : src.getGenericApplicationPropertyOfTrafficArea()) {
JAXBElement<Object> jaxbElement = jaxb.getADEMarshaller().marshalJAXBElement(adeComponent);
if (jaxbElement != null)
dest.get_GenericApplicationPropertyOfTrafficArea().add(jaxbElement);
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:37,代码来源:Transportation200Marshaller.java
示例11: marshalIntBridgeInstallation
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void marshalIntBridgeInstallation(IntBridgeInstallation src, IntBridgeInstallationType dest) {
citygml.getCore200Marshaller().marshalAbstractCityObject(src, dest);
if (src.isSetClazz())
dest.setClazz(jaxb.getGMLMarshaller().marshalCode(src.getClazz()));
if (src.isSetFunction()) {
for (Code function : src.getFunction())
dest.getFunction().add(jaxb.getGMLMarshaller().marshalCode(function));
}
if (src.isSetUsage()) {
for (Code usage : src.getUsage())
dest.getUsage().add(jaxb.getGMLMarshaller().marshalCode(usage));
}
if (src.isSetLod4Geometry())
dest.setLod4Geometry(jaxb.getGMLMarshaller().marshalGeometryProperty(src.getLod4Geometry()));
if (src.isSetLod4ImplicitRepresentation())
dest.setLod4ImplicitRepresentation(citygml.getCore200Marshaller().marshalImplicitRepresentationProperty(src.getLod4ImplicitRepresentation()));
if (src.isSetBoundedBySurface()) {
for (BoundarySurfaceProperty boundarySurfaceProperty : src.getBoundedBySurface())
dest.getBoundedBySurface().add(marshalBoundarySurfaceProperty(boundarySurfaceProperty));
}
if (src.isSetGenericApplicationPropertyOfIntBridgeInstallation()) {
for (ADEComponent adeComponent : src.getGenericApplicationPropertyOfIntBridgeInstallation()) {
JAXBElement<Object> jaxbElement = jaxb.getADEMarshaller().marshalJAXBElement(adeComponent);
if (jaxbElement != null)
dest.get_GenericApplicationPropertyOfIntBridgeInstallation().add(jaxbElement);
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:36,代码来源:Bridge200Marshaller.java
示例12: copyTo
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
@SuppressWarnings("unchecked")
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
ImplicitGeometry copy = (target == null) ? new ImplicitGeometry() : (ImplicitGeometry)target;
super.copyTo(copy, copyBuilder);
if (isSetLibraryObject())
copy.setLibraryObject(copyBuilder.copy(libraryObject));
if (isSetMimeType())
copy.setMimeType((Code)copyBuilder.copy(mimeType));
if (isSetReferencePoint()) {
copy.setReferencePoint((PointProperty)copyBuilder.copy(referencePoint));
if (copy.getReferencePoint() == referencePoint)
referencePoint.setParent(this);
}
if (isSetRelativeGMLGeometry()) {
copy.setRelativeGeometry((GeometryProperty<? extends AbstractGeometry>)copyBuilder.copy(relativeGeometry));
if (copy.getRelativeGMLGeometry() == relativeGeometry)
relativeGeometry.setParent(this);
}
if (isSetTransformationMatrix()) {
copy.setTransformationMatrix((TransformationMatrix4x4)copyBuilder.copy(transformationMatrix));
if (copy.getTransformationMatrix() == transformationMatrix)
transformationMatrix.setParent(this);
}
return copy;
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:33,代码来源:ImplicitGeometry.java
示例13: marshalAuxiliaryTrafficArea
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void marshalAuxiliaryTrafficArea(AuxiliaryTrafficArea src, AuxiliaryTrafficAreaType dest) {
marshalAbstractTransportationObject(src, dest);
if (src.isSetClazz())
dest.setClazz(jaxb.getGMLMarshaller().marshalCode(src.getClazz()));
if (src.isSetFunction()) {
for (Code function : src.getFunction())
dest.getFunction().add(jaxb.getGMLMarshaller().marshalCode(function));
}
if (src.isSetUsage()) {
for (Code usage : src.getUsage())
dest.getUsage().add(jaxb.getGMLMarshaller().marshalCode(usage));
}
if (src.isSetSurfaceMaterial())
dest.setSurfaceMaterial(jaxb.getGMLMarshaller().marshalCode(src.getSurfaceMaterial()));
if (src.isSetLod2MultiSurface())
dest.setLod2MultiSurface(jaxb.getGMLMarshaller().marshalMultiSurfaceProperty(src.getLod2MultiSurface()));
if (src.isSetLod3MultiSurface())
dest.setLod3MultiSurface(jaxb.getGMLMarshaller().marshalMultiSurfaceProperty(src.getLod3MultiSurface()));
if (src.isSetLod4MultiSurface())
dest.setLod4MultiSurface(jaxb.getGMLMarshaller().marshalMultiSurfaceProperty(src.getLod4MultiSurface()));
if (src.isSetGenericApplicationPropertyOfAuxiliaryTrafficArea()) {
for (ADEComponent adeComponent : src.getGenericApplicationPropertyOfAuxiliaryTrafficArea()) {
JAXBElement<Object> jaxbElement = jaxb.getADEMarshaller().marshalJAXBElement(adeComponent);
if (jaxbElement != null)
dest.get_GenericApplicationPropertyOfAuxiliaryTrafficArea().add(jaxbElement);
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:37,代码来源:Transportation200Marshaller.java
示例14: unmarshalBridgeInstallation
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void unmarshalBridgeInstallation(BridgeInstallationType src, BridgeInstallation dest) {
citygml.getCoreUnmarshaller().unmarshalAbstractCityObject(src, dest);
if (src.isSetAttributes()) {
Attributes attributes = src.getAttributes();
if (attributes.isSetClazz())
dest.setClazz(new Code(attributes.getClazz()));
if (attributes.isSetFunction())
dest.addFunction(new Code(attributes.getFunction()));
if (attributes.isSetUsage())
dest.addUsage(new Code(attributes.getUsage()));
}
for (AbstractGeometryType geometryType : src.getGeometry()) {
AbstractGeometry geometry = json.getGMLUnmarshaller().unmarshal(geometryType, dest);
if (geometry != null) {
int lod = geometryType.getLod().intValue();
switch (lod) {
case 2:
dest.setLod2Geometry(new GeometryProperty<>(geometry));
break;
case 3:
dest.setLod3Geometry(new GeometryProperty<>(geometry));
break;
}
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:32,代码来源:BridgeUnmarshaller.java
示例15: unmarshalBuildingInstallation
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void unmarshalBuildingInstallation(BuildingInstallationType src, BuildingInstallation dest) throws MissingADESchemaException {
citygml.getCore100Unmarshaller().unmarshalAbstractCityObject(src, dest);
if (src.isSetClazz())
dest.setClazz(new Code(src.getClazz()));
if (src.isSetFunction()) {
for (String function : src.getFunction())
dest.addFunction(new Code(function));
}
if (src.isSetUsage()) {
for (String usage : src.getUsage())
dest.addUsage(new Code(usage));
}
if (src.isSetLod2Geometry())
dest.setLod2Geometry(jaxb.getGMLUnmarshaller().unmarshalGeometryProperty(src.getLod2Geometry()));
if (src.isSetLod3Geometry())
dest.setLod3Geometry(jaxb.getGMLUnmarshaller().unmarshalGeometryProperty(src.getLod3Geometry()));
if (src.isSetLod4Geometry())
dest.setLod4Geometry(jaxb.getGMLUnmarshaller().unmarshalGeometryProperty(src.getLod4Geometry()));
if (src.isSet_GenericApplicationPropertyOfBuildingInstallation()) {
for (JAXBElement<Object> elem : src.get_GenericApplicationPropertyOfBuildingInstallation()) {
ADEModelObject ade = jaxb.getADEUnmarshaller().unmarshal(elem);
if (ade != null)
dest.addGenericApplicationPropertyOfBuildingInstallation(ade);
}
}
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:34,代码来源:Building100Unmarshaller.java
示例16: marshalX3DMaterial
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void marshalX3DMaterial(X3DMaterial src, MaterialType dest) {
if (src.isSetName()) {
for (Code name : src.getName()) {
if (name.isSetValue()) {
dest.setName(name.getValue());
break;
}
}
}
if (!dest.isSetName())
dest.setName(src.isSetId() ? src.getId() : DefaultGMLIdManager.getInstance().generateUUID());
if (src.isSetAmbientIntensity())
dest.setAmbientIntensity(src.getAmbientIntensity());
if (src.isSetDiffuseColor())
dest.setDiffuseColor(src.getDiffuseColor().toList());
if (src.isSetEmissiveColor())
dest.setEmissiveColor(src.getEmissiveColor().toList());
if (src.isSetSpecularColor())
dest.setSpecularColor(src.getSpecularColor().toList());
if (src.isSetShininess())
dest.setShininess(src.getShininess());
if (src.isSetTransparency())
dest.setTransparency(src.getTransparency());
if (src.isSetIsSmooth())
dest.setIsSmooth(src.getIsSmooth());
}
开发者ID:citygml4j,项目名称:citygml4j,代码行数:35,代码来源:AppearanceMarshaller.java
示例17: getType
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public Code getType() {
return type;
}
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:4,代码来源:NoiseCityFurnitureSegment.java
示例18: setType
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void setType(Code type) {
if (type != null)
type.setParent(this);
this.type = type;
}
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:7,代码来源:NoiseCityFurnitureSegment.java
示例19: getFunction
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public List<Code> getFunction() {
if (this.function == null) {
this.function = new ArrayList<Code>();
}
return this.function;
}
开发者ID:IGNF,项目名称:geoxygene,代码行数:7,代码来源:CG_CityFurniture.java
示例20: setFunction
import org.citygml4j.model.gml.basicTypes.Code; //导入依赖的package包/类
public void setFunction(List<Code> function) {
this.function = function;
}
开发者ID:IGNF,项目名称:geoxygene,代码行数:4,代码来源:CG_TransportationComplex.java
注:本文中的org.citygml4j.model.gml.basicTypes.Code类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论