Commit 4a85936c authored by Rushikesh Padsala's avatar Rushikesh Padsala
Browse files

Initial commit

parents
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.common.visitor.FeatureFunctor;
import org.citygml4j.model.common.visitor.FeatureVisitor;
import org.citygml4j.model.common.visitor.GMLFunctor;
import org.citygml4j.model.common.visitor.GMLVisitor;
import org.citygml4j.model.gml.basicTypes.Code;
import org.citygml4j.model.gml.feature.AbstractFeature;
import org.citygml4j.model.gml.measures.Scale;
public class PhotovoltaicThermalCollector extends AbstractFeature implements ADEModelObject {
private Code type;
public Code cellType;
public Scale opticalEfficiency;
private Double linearHeatLossCoefficient;
private Double quadraticHeatLossCoefficient;
public boolean isSetType() {
return type != null;
}
public boolean isSetCellType() {
return cellType != null;
}
public boolean isSetOpticalEfficiency() {
return opticalEfficiency != null;
}
public boolean isSetLinearHeatLossCoefficient() {
return linearHeatLossCoefficient != null;
}
public boolean isSetQuadraticHeatLossCoefficient() {
return quadraticHeatLossCoefficient != null;
}
public Double getLinearHeatLossCoefficient() {
return linearHeatLossCoefficient;
}
public void setLinearHeatLossCoefficient(Double linearHeatLossCoefficient) {
this.linearHeatLossCoefficient = linearHeatLossCoefficient;
}
public Code getType() {
return type;
}
public void setType(Code type) {
this.type = type;
}
public Code getCellType() {
return cellType;
}
public void setCellType(Code cellType) {
this.cellType = cellType;
}
public Scale getOpticalEfficiency() {
return opticalEfficiency;
}
public void setOpticalEfficiency(Scale opticalEfficiency) {
this.opticalEfficiency = opticalEfficiency;
}
public Double getQuadraticHeatLossCoefficient() {
return quadraticHeatLossCoefficient;
}
public void setQuadraticHeatLossCoefficient(Double quadraticHeatLossCoefficient) {
this.quadraticHeatLossCoefficient = quadraticHeatLossCoefficient;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new PhotovoltaicThermalCollector(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
PhotovoltaicThermalCollector copy = (target == null) ? new PhotovoltaicThermalCollector() : (PhotovoltaicThermalCollector) target;
if (isSetCellType())
copy.setCellType(cellType);
if (isSetType())
copy.setType(type);
if (isSetOpticalEfficiency())
copy.setOpticalEfficiency(opticalEfficiency);
if (isSetLinearHeatLossCoefficient())
copy.setLinearHeatLossCoefficient(linearHeatLossCoefficient);
if (isSetQuadraticHeatLossCoefficient())
copy.setQuadraticHeatLossCoefficient(quadraticHeatLossCoefficient);
return super.copyTo(copy, copyBuilder);
}
@Override
public void accept(FeatureVisitor visitor) {
visitor.visit(this);
}
@Override
public <T> T accept(FeatureFunctor<T> visitor) {
return visitor.apply(this);
}
@Override
public void accept(GMLVisitor visitor) {
visitor.visit(this);
}
@Override
public <T> T accept(GMLFunctor<T> visitor) {
return visitor.apply(this);
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.gml.base.AssociationByRepOrRef;
public class PhotovoltaicThermalCollectorProperty extends AssociationByRepOrRef<PhotovoltaicThermalCollector> implements ADEModelObject {
public PhotovoltaicThermalCollectorProperty() {
}
public PhotovoltaicThermalCollectorProperty(PhotovoltaicThermalCollector photovoltaicThermalCollector) {
super(photovoltaicThermalCollector);
}
public PhotovoltaicThermalCollectorProperty(String href) {
super(href);
}
public PhotovoltaicThermalCollector getPhotovoltaicThermalCollector() {
return super.getObject();
}
public boolean isSetPhotovoltaicThermalCollector() {
return super.isSetObject();
}
public void setPhotovoltaicThermalCollector(PhotovoltaicThermalCollector photovoltaicThermalCollector) {
super.setObject(photovoltaicThermalCollector);
}
public void unsetPhotovoltaicThermalCollector() {
super.unsetObject();
}
@Override
public Class<PhotovoltaicThermalCollector> getAssociableClass() {
return PhotovoltaicThermalCollector.class;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new PhotovoltaicThermalCollectorProperty(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
PhotovoltaicThermalCollectorProperty copy = (target == null) ? new PhotovoltaicThermalCollectorProperty() : (PhotovoltaicThermalCollectorProperty) target;
return super.copyTo(copy, copyBuilder);
}
}
/*
* energy-ade-citygml4j - Energy ADE module for citygml4j
* https://github.com/citygml4j/energy-ade-citygml4j
*
* energy-ade-citygml4j is part of the citygml4j project
*
* Copyright 2019-2024 Claus Nagel <claus.nagel@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.common.visitor.FeatureFunctor;
import org.citygml4j.model.common.visitor.FeatureVisitor;
import org.citygml4j.model.gml.basicTypes.MeasureList;
public class RegularTimeSeries extends AbstractTimeSeries {
private TimePeriodProperty temporalExtent;
private TimeIntervalLength timeInterval;
private MeasureList values;
public TimePeriodProperty getTemporalExtent() {
return temporalExtent;
}
public boolean isSetTemporalExtent() {
return temporalExtent != null;
}
public void setTemporalExtent(TimePeriodProperty temporalExtent) {
if (temporalExtent != null)
temporalExtent.setParent(this);
this.temporalExtent = temporalExtent;
}
public TimeIntervalLength getTimeInterval() {
return timeInterval;
}
public boolean isSetTimeInterval() {
return timeInterval != null;
}
public void setTimeInterval(TimeIntervalLength timeInterval) {
if (timeInterval != null)
timeInterval.setParent(this);
this.timeInterval = timeInterval;
}
public MeasureList getValues() {
return values;
}
public boolean isSetValues() {
return values != null;
}
public void setValues(MeasureList values) {
if (values != null)
values.setParent(this);
this.values = values;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new RegularTimeSeries(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
RegularTimeSeries copy = (target == null) ? new RegularTimeSeries() : (RegularTimeSeries) target;
if (isSetTemporalExtent())
copy.setTemporalExtent((TimePeriodProperty) copyBuilder.copy(temporalExtent));
if (isSetTimeInterval())
copy.setTimeInterval((TimeIntervalLength) copyBuilder.copy(timeInterval));
if (isSetValues())
copy.setValues((MeasureList) copyBuilder.copy(values));
return super.copyTo(copy, copyBuilder);
}
@Override
public void accept(FeatureVisitor featureVisitor) {
featureVisitor.visit(this);
}
@Override
public <T> T accept(FeatureFunctor<T> featureFunctor) {
return featureFunctor.apply(this);
}
}
/*
* energy-ade-citygml4j - Energy ADE module for citygml4j
* https://github.com/citygml4j/energy-ade-citygml4j
*
* energy-ade-citygml4j is part of the citygml4j project
*
* Copyright 2019-2024 Claus Nagel <claus.nagel@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.common.visitor.FeatureFunctor;
import org.citygml4j.model.common.visitor.FeatureVisitor;
import java.net.URI;
public class RegularTimeSeriesFile extends AbstractTimeSeries {
private String uom;
private URI fileURI;
private TimePeriodProperty temporalExtent;
private TimeIntervalLength timeInterval;
private Integer numberOfHeaderLines;
private String fieldSeparator;
private String recordSeparator;
private String decimalSymbol;
private Integer valueColumnNumber;
public String getUom() {
return uom;
}
public boolean isSetUom() {
return uom != null;
}
public void setUom(String uom) {
this.uom = uom;
}
public URI getFileURI() {
return fileURI;
}
public boolean isSetFileURI() {
return fileURI != null;
}
public void setFileURI(URI fileURI) {
this.fileURI = fileURI;
}
public TimePeriodProperty getTemporalExtent() {
return temporalExtent;
}
public boolean isSetTemporalExtent() {
return temporalExtent != null;
}
public void setTemporalExtent(TimePeriodProperty temporalExtent) {
if (temporalExtent != null)
temporalExtent.setParent(this);
this.temporalExtent = temporalExtent;
}
public TimeIntervalLength getTimeInterval() {
return timeInterval;
}
public boolean isSetTimeInterval() {
return timeInterval != null;
}
public void setTimeInterval(TimeIntervalLength timeInterval) {
if (timeInterval != null)
timeInterval.setParent(this);
this.timeInterval = timeInterval;
}
public Integer getNumberOfHeaderLines() {
return numberOfHeaderLines != null ? numberOfHeaderLines : 0;
}
public boolean isSetNumberOfHeaderLines() {
return numberOfHeaderLines != null;
}
public void setNumberOfHeaderLines(Integer numberOfHeaderLines) {
this.numberOfHeaderLines = numberOfHeaderLines;
}
public String getFieldSeparator() {
return fieldSeparator;
}
public boolean isSetFieldSeparator() {
return fieldSeparator != null;
}
public void setFieldSeparator(String fieldSeparator) {
this.fieldSeparator = fieldSeparator;
}
public String getRecordSeparator() {
return recordSeparator != null ? recordSeparator : "\\n";
}
public boolean isSetRecordSeparator() {
return recordSeparator != null;
}
public void setRecordSeparator(String recordSeparator) {
this.recordSeparator = recordSeparator;
}
public String getDecimalSymbol() {
return decimalSymbol != null ? decimalSymbol : ".";
}
public boolean isSetDecimalSymbol() {
return decimalSymbol != null;
}
public void setDecimalSymbol(String decimalSymbol) {
this.decimalSymbol = decimalSymbol;
}
public Integer getValueColumnNumber() {
return valueColumnNumber != null ? valueColumnNumber : 1;
}
public boolean isSetValueColumnNumber() {
return valueColumnNumber != null;
}
public void setValueColumnNumber(Integer valueColumnNumber) {
this.valueColumnNumber = valueColumnNumber;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new RegularTimeSeriesFile(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
RegularTimeSeriesFile copy = (target == null) ? new RegularTimeSeriesFile() : (RegularTimeSeriesFile) target;
if (isSetFileURI())
copy.setFileURI(fileURI);
if (isSetTemporalExtent())
copy.setTemporalExtent((TimePeriodProperty) copyBuilder.copy(temporalExtent));
if (isSetTimeInterval())
copy.setTimeInterval((TimeIntervalLength) copyBuilder.copy(timeInterval));
if (isSetNumberOfHeaderLines())
copy.setNumberOfHeaderLines(numberOfHeaderLines);
if (isSetFieldSeparator())
copy.setFieldSeparator(copyBuilder.copy(fieldSeparator));
if (isSetRecordSeparator())
copy.setRecordSeparator(copyBuilder.copy(recordSeparator));
if (isSetDecimalSymbol())
copy.setDecimalSymbol(copyBuilder.copy(decimalSymbol));
if (isSetValueColumnNumber())
copy.setValueColumnNumber(valueColumnNumber);
return super.copyTo(copy, copyBuilder);
}
@Override
public void accept(FeatureVisitor featureVisitor) {
featureVisitor.visit(this);
}
@Override
public <T> T accept(FeatureFunctor<T> featureFunctor) {
return featureFunctor.apply(this);
}
}
/*
* energy-ade-citygml4j - Energy ADE module for citygml4j
* https://github.com/citygml4j/energy-ade-citygml4j
*
* energy-ade-citygml4j is part of the citygml4j project
*
* Copyright 2019-2024 Claus Nagel <claus.nagel@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.gml.base.AssociationByRepOrRef;
public class RegularTimeSeriesFileProperty extends AssociationByRepOrRef<RegularTimeSeriesFile> implements ADEModelObject {
public RegularTimeSeriesFileProperty() {
}
public RegularTimeSeriesFileProperty(RegularTimeSeriesFile regularTimeSeriesFile) {
super(regularTimeSeriesFile);
}
public RegularTimeSeriesFile getRegularTimeSeriesFile() {
return super.getObject();
}
public boolean isSetRegularTimeSeriesFile() {
return super.isSetObject();
}
public void setRegularTimeSeriesFile(RegularTimeSeriesFile regularTimeSeriesFile) {
super.setObject(regularTimeSeriesFile);
}
public void unsetRegularTimeSeriesFile() {
super.unsetObject();
}
@Override
public Class<RegularTimeSeriesFile> getAssociableClass() {
return RegularTimeSeriesFile.class;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new RegularTimeSeriesFileProperty(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
RegularTimeSeriesFileProperty copy = (target == null) ? new RegularTimeSeriesFileProperty() : (RegularTimeSeriesFileProperty) target;
return super.copyTo(copy, copyBuilder);
}
}
/*
* energy-ade-citygml4j - Energy ADE module for citygml4j
* https://github.com/citygml4j/energy-ade-citygml4j
*
* energy-ade-citygml4j is part of the citygml4j project
*
* Copyright 2019-2024 Claus Nagel <claus.nagel@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.gml.base.AssociationByRepOrRef;
public class RegularTimeSeriesProperty extends AssociationByRepOrRef<RegularTimeSeries> implements ADEModelObject {
public RegularTimeSeriesProperty() {
}
public RegularTimeSeriesProperty(RegularTimeSeries regularTimeSeries) {
super(regularTimeSeries);
}
public RegularTimeSeries getRegularTimeSeries() {
return super.getObject();
}
public boolean isSetRegularTimeSeries() {
return super.isSetObject();
}
public void setRegularTimeSeries(RegularTimeSeries regularTimeSeries) {
super.setObject(regularTimeSeries);
}
public void unsetRegularTimeSeries() {
super.unsetObject();
}
@Override
public Class<RegularTimeSeries> getAssociableClass() {
return RegularTimeSeries.class;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new RegularTimeSeriesProperty(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
RegularTimeSeriesProperty copy = (target == null) ? new RegularTimeSeriesProperty() : (RegularTimeSeriesProperty) target;
return super.copyTo(copy, copyBuilder);
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.ade.energy.model.core.DeviceOperation;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.common.visitor.FeatureFunctor;
import org.citygml4j.model.common.visitor.FeatureVisitor;
import org.citygml4j.model.common.visitor.GMLFunctor;
import org.citygml4j.model.common.visitor.GMLVisitor;
import org.citygml4j.model.gml.basicTypes.Code;
import org.citygml4j.model.gml.feature.AbstractFeature;
public class ScheduleComponent extends AbstractFeature implements ADEModelObject {
private Code type;
private Integer repetitions;
private TimeIntervalLength additionalGap;
public TimeIntervalLength getAdditionalGap() {
return additionalGap;
}
public void setAdditionalGap(TimeIntervalLength additionalGap) {
this.additionalGap = additionalGap;
}
public Integer getRepetitions() {
return repetitions;
}
public void setRepetitions(Integer repetitions) {
this.repetitions = repetitions;
}
public Code getType() {
return type;
}
public void setType(Code type) {
this.type = type;
}
@Override
public void accept(FeatureVisitor featureVisitor) {
featureVisitor.visit(this);
}
@Override
public <T> T accept(FeatureFunctor<T> featureFunctor) {
return featureFunctor.apply(this);
}
@Override
public void accept(GMLVisitor gmlVisitor) {
gmlVisitor.visit(this);
}
@Override
public <T> T accept(GMLFunctor<T> gmlFunctor) {
return gmlFunctor.apply(this);
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new ScheduleComponent(), copyBuilder);
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.gml.base.AssociationByRepOrRef;
public class ScheduleComponentProperty extends AssociationByRepOrRef<ScheduleComponent> implements ADEModelObject {
public ScheduleComponentProperty() {
}
public ScheduleComponentProperty(ScheduleComponent scheduleComponent) {
super(scheduleComponent);
}
public ScheduleComponent getScheduleComponent() {
return super.getObject();
}
public boolean isSetScheduleComponent() {
return super.isSetObject();
}
public void setScheduleComponent(ScheduleComponent scheduleComponent) {
super.setObject(scheduleComponent);
}
public void unsetScheduleComponent() {
super.unsetObject();
}
@Override
public Class<ScheduleComponent> getAssociableClass() {
return ScheduleComponent.class;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new ScheduleComponentProperty(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
ScheduleComponentProperty copy = (target == null) ? new ScheduleComponentProperty() : (ScheduleComponentProperty) target;
return super.copyTo(copy, copyBuilder);
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.common.visitor.FeatureFunctor;
import org.citygml4j.model.common.visitor.FeatureVisitor;
import org.citygml4j.model.common.visitor.GMLFunctor;
import org.citygml4j.model.common.visitor.GMLVisitor;
import org.citygml4j.model.gml.feature.AbstractFeature;
public class ScheduleLibrary extends AbstractFeature implements ADEModelObject {
@Override
public void accept(FeatureVisitor featureVisitor) {
featureVisitor.visit(this);
}
@Override
public <T> T accept(FeatureFunctor<T> featureFunctor) {
return featureFunctor.apply(this);
}
@Override
public void accept(GMLVisitor gmlVisitor) {
gmlVisitor.visit(this);
}
@Override
public <T> T accept(GMLFunctor<T> gmlFunctor) {
return gmlFunctor.apply(this);
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new ScheduleLibrary(), copyBuilder);
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.gml.base.AssociationByRepOrRef;
public class ScheduleLibraryProperty extends AssociationByRepOrRef<ScheduleLibrary> implements ADEModelObject {
public ScheduleLibraryProperty() {
}
public ScheduleLibraryProperty(ScheduleLibrary scheduleLibrary) {
super(scheduleLibrary);
}
public ScheduleLibrary getScheduleLibrary() {
return super.getObject();
}
public boolean isSetScheduleLibrary() {
return super.isSetObject();
}
public void setScheduleLibrary(ScheduleLibrary scheduleLibrary) {
super.setObject(scheduleLibrary);
}
public void unsetScheduleLibrary() {
super.unsetObject();
}
@Override
public Class<ScheduleLibrary> getAssociableClass() {
return ScheduleLibrary.class;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new ScheduleLibraryProperty(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
ScheduleLibraryProperty copy = (target == null) ? new ScheduleLibraryProperty() : (ScheduleLibraryProperty) target;
return super.copyTo(copy, copyBuilder);
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.common.visitor.FeatureFunctor;
import org.citygml4j.model.common.visitor.FeatureVisitor;
import org.citygml4j.model.gml.basicTypes.Code;
import java.net.URI;
public class SensorConnection extends AbstractTimeSeries {
private TimeIntervalLength temporalExtent;
private Code connectionType;
private String observationProperty;
private String uom;
private String sensorID;
private String sensorName;
private String observationID;
private String dataStreamID;
private URI baseURL;
private Code authType;
private String mqtServer;
private String mqtTopic;
private String linkToObservation;
private String linkToSensorDescription;
public String getDataStreamID() {
return dataStreamID;
}
public void setDataStreamID(String dataStreamID) {
this.dataStreamID = dataStreamID;
}
public TimeIntervalLength getTemporalExtent() {
return temporalExtent;
}
public void setTemporalExtent(TimeIntervalLength temporalExtent) {
this.temporalExtent = temporalExtent;
}
public Code getConnectionType() {
return connectionType;
}
public void setConnectionType(Code connectionType) {
this.connectionType = connectionType;
}
public String getObservationProperty() {
return observationProperty;
}
public void setObservationProperty(String observationProperty) {
this.observationProperty = observationProperty;
}
public String getUom() {
return uom;
}
public void setUom(String uom) {
this.uom = uom;
}
public String getSensorID() {
return sensorID;
}
public void setSensorID(String sensorID) {
this.sensorID = sensorID;
}
public String getSensorName() {
return sensorName;
}
public void setSensorName(String sensorName) {
this.sensorName = sensorName;
}
public String getObservationID() {
return observationID;
}
public void setObservationID(String observationID) {
this.observationID = observationID;
}
public URI getBaseURL() {
return baseURL;
}
public void setBaseURL(URI baseURL) {
this.baseURL = baseURL;
}
public Code getAuthType() {
return authType;
}
public void setAuthType(Code authType) {
this.authType = authType;
}
public String getMqtServer() {
return mqtServer;
}
public void setMqtServer(String mqtServer) {
this.mqtServer = mqtServer;
}
public String getMqtTopic() {
return mqtTopic;
}
public void setMqtTopic(String mqtTopic) {
this.mqtTopic = mqtTopic;
}
public String getLinkToObservation() {
return linkToObservation;
}
public void setLinkToObservation(String linkToObservation) {
this.linkToObservation = linkToObservation;
}
public String getLinkToSensorDescription() {
return linkToSensorDescription;
}
public void setLinkToSensorDescription(String linkToSensorDescription) {
this.linkToSensorDescription = linkToSensorDescription;
}
public boolean isSetTemporalExtent() {
return temporalExtent != null;
}
public boolean isSetConnectionType() { return connectionType != null; }
public boolean isSetObservationProperty() { return observationProperty != null; }
public boolean isSetUom() { return uom != null; }
public boolean isSetSensorID() { return sensorID != null; }
public boolean isSetSensorName() { return sensorName != null; }
public boolean isSetObservationID() { return observationID != null; }
public boolean isSetDataStreamID() { return dataStreamID != null; }
public boolean isSetBaseURL() { return baseURL != null; }
public boolean isSetAuthType() { return authType != null; }
public boolean isSetMqtTopic() { return mqtTopic != null; }
public boolean isSetMqtServer() { return mqtServer != null; }
public boolean isSetLinkToObservation() { return linkToObservation != null; }
public boolean isSetLinkToSensorDescription() { return linkToSensorDescription != null; }
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new SensorConnection(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
SensorConnection copy = (target == null) ? new SensorConnection() : (SensorConnection) target;
if (isSetTemporalExtent())
copy.setTemporalExtent((TimeIntervalLength) copyBuilder.copy(temporalExtent));
if (isSetConnectionType())
copy.setConnectionType((Code) copyBuilder.copy(connectionType));
if (isSetObservationProperty())
copy.setObservationProperty(copyBuilder.copy(observationProperty));
if (isSetUom())
copy.setUom(copyBuilder.copy(uom));
if (isSetSensorID())
copy.setSensorID(copyBuilder.copy(sensorID));
if (isSetSensorName())
copy.setSensorName(copyBuilder.copy(sensorName));
if (isSetObservationID())
copy.setObservationID(copyBuilder.copy(observationID));
if (isSetDataStreamID())
copy.setDataStreamID(copyBuilder.copy(dataStreamID));
if (isSetBaseURL())
copy.setBaseURL((URI) copyBuilder.copy(baseURL));
if (isSetAuthType())
copy.setAuthType((Code) copyBuilder.copy(authType));
if (isSetMqtTopic())
copy.setMqtTopic(copyBuilder.copy(mqtTopic));
if (isSetMqtServer())
copy.setMqtServer(copyBuilder.copy(mqtServer));
if (isSetLinkToObservation())
copy.setLinkToObservation(copyBuilder.copy(linkToObservation));
if (isSetLinkToSensorDescription())
copy.setLinkToSensorDescription(copyBuilder.copy(linkToSensorDescription));
return super.copyTo(copy, copyBuilder);
}
@Override
public void accept(FeatureVisitor featureVisitor) {
featureVisitor.visit(this);
}
@Override
public <T> T accept(FeatureFunctor<T> featureFunctor) {
return featureFunctor.apply(this);
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.gml.base.AssociationByRepOrRef;
public class SensorConnectionProperty extends AssociationByRepOrRef<SensorConnection> implements ADEModelObject {
public SensorConnectionProperty() {
}
public SensorConnectionProperty(SensorConnection sensorConnection) {
super(sensorConnection);
}
public SensorConnection getSensorConnection() {
return super.getObject();
}
public boolean isSetSensorConnection() {
return super.isSetObject();
}
public void setSensorConnection(SensorConnection sensorConnection) {
super.setObject(sensorConnection);
}
public void unsetSensorConnection() {
super.unsetObject();
}
@Override
public Class<SensorConnection> getAssociableClass() {
return SensorConnection.class;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new SensorConnectionProperty(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
SensorConnectionProperty copy = (target == null) ? new SensorConnectionProperty() : (SensorConnectionProperty) target;
return super.copyTo(copy, copyBuilder);
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.common.visitor.FeatureFunctor;
import org.citygml4j.model.common.visitor.FeatureVisitor;
import org.citygml4j.model.common.visitor.GMLFunctor;
import org.citygml4j.model.common.visitor.GMLVisitor;
import org.citygml4j.model.gml.basicTypes.Code;
import org.citygml4j.model.gml.feature.AbstractFeature;
import org.citygml4j.model.gml.measures.Scale;
public class SolarThermalCollector extends AbstractFeature implements ADEModelObject {
private Code type;
private Scale opticalEfficiency;
private Double linearHeatLossCoefficient;
private Double quadraticHeatLossCoefficient;
public boolean isSetType(){
return type != null;
}
public boolean isSetLinearHeatLossCoefficient(){
return linearHeatLossCoefficient != null;
}
public boolean isSetQuadraticHeatLossCoefficient(){
return quadraticHeatLossCoefficient != null;
}
public boolean isSetOpticalEfficiency(){
return opticalEfficiency != null;
}
public Double getQuadraticHeatLossCoefficient() {
return quadraticHeatLossCoefficient;
}
public void setQuadraticHeatLossCoefficient(Double quadraticHeatLossCoefficient) {
this.quadraticHeatLossCoefficient = quadraticHeatLossCoefficient;
}
public Double getLinearHeatLossCoefficient() {
return linearHeatLossCoefficient;
}
public void setLinearHeatLossCoefficient(Double linearHeatLossCoefficient) {
this.linearHeatLossCoefficient = linearHeatLossCoefficient;
}
public Scale getOpticalEfficiency() {
return opticalEfficiency;
}
public void setOpticalEfficiency(Scale opticalEfficiency) {
this.opticalEfficiency = opticalEfficiency;
}
public Code getType() {
return type;
}
public void setType(Code type) {
this.type = type;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new SolarThermalCollector(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
SolarThermalCollector copy = (target == null) ? new SolarThermalCollector() : (SolarThermalCollector) target;
if (isSetType())
copy.setType(type);
if (isSetLinearHeatLossCoefficient())
copy.setLinearHeatLossCoefficient(linearHeatLossCoefficient);
if (isSetOpticalEfficiency())
copy.setOpticalEfficiency(opticalEfficiency);
if (isSetQuadraticHeatLossCoefficient())
copy.setQuadraticHeatLossCoefficient(quadraticHeatLossCoefficient);
return super.copyTo(copy, copyBuilder);
}
@Override
public void accept(FeatureVisitor visitor) {
visitor.visit(this);
}
@Override
public <T> T accept(FeatureFunctor<T> visitor) {
return visitor.apply(this);
}
@Override
public void accept(GMLVisitor visitor) {
visitor.visit(this);
}
@Override
public <T> T accept(GMLFunctor<T> visitor) {
return visitor.apply(this);
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.gml.base.AssociationByRepOrRef;
public class SolarThermalCollectorProperty extends AssociationByRepOrRef<SolarThermalCollector> implements ADEModelObject {
public SolarThermalCollectorProperty() {
}
public SolarThermalCollectorProperty(SolarThermalCollector solarThermalCollector) {
super(solarThermalCollector);
}
public SolarThermalCollectorProperty(String href) {
super(href);
}
public SolarThermalCollector getSolarThermalCollector() {
return super.getObject();
}
public boolean isSetSolarThermalCollector() {
return super.isSetObject();
}
public void setSolarThermalCollector(SolarThermalCollector solarThermalCollector) {
super.setObject(solarThermalCollector);
}
public void unsetSolarThermalCollector() {
super.unsetObject();
}
@Override
public Class<SolarThermalCollector> getAssociableClass() {
return SolarThermalCollector.class;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new SolarThermalCollectorProperty(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
SolarThermalCollectorProperty copy = (target == null) ? new SolarThermalCollectorProperty() : (SolarThermalCollectorProperty) target;
return super.copyTo(copy, copyBuilder);
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
public enum SurfaceSide {
INSIDE("inside"),
OUTSIDE("outside");
private final String value;
SurfaceSide(String value) {
this.value = value;
}
public String value() {
return value;
}
public static SurfaceSide fromValue(String v) {
for (SurfaceSide c : SurfaceSide.values()) {
if (c.value.equals(v))
return c;
}
return null;
}
}
package org.citygml4j.ade.energy.model.supportingClasses;
public class ThermalStorageDevice {
}
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.common.base.ModelObject;
import org.citygml4j.model.gml.base.StringOrRef;
import java.time.ZonedDateTime;
public class TimeClock implements ADEModelObject {
private ZonedDateTime referenceTime;
private StringOrRef referenceEvent;
private ZonedDateTime utcReference;
private ModelObject parent;
public StringOrRef getReferenceEvent() {
return referenceEvent;
}
public void setReferenceEvent(StringOrRef referenceEvent) {
this.referenceEvent = referenceEvent;
}
public ZonedDateTime getReferenceTime() {
return referenceTime;
}
public void setReferenceTime(ZonedDateTime referenceTime) {
this.referenceTime = referenceTime;
}
public ZonedDateTime getUtcReference() {
return utcReference;
}
public void setUtcReference(ZonedDateTime utcReference) {
this.utcReference = utcReference;
}
@Override
public ModelObject getParent() {
return parent;
}
@Override
public boolean isSetParent() {
return parent != null;
}
@Override
public void setParent(ModelObject parent) {
this.parent = parent;
}
@Override
public void unsetParent() {
parent = null;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new TimeClock(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
TimeClock copy = (target == null) ? new TimeClock() : (TimeClock) target;
copy.unsetParent();
return copy;
}
}
/*
* energy-ade-citygml4j - Energy ADE module for citygml4j
* https://github.com/citygml4j/energy-ade-citygml4j
*
* energy-ade-citygml4j is part of the citygml4j project
*
* Copyright 2019-2024 Claus Nagel <claus.nagel@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.common.base.ModelObject;
public class TimeIntervalLength implements ADEModelObject {
private Double value;
private String unit;
private Integer radix;
private Integer factor;
private ModelObject parent;
public TimeIntervalLength(Double value) {
this.value = value;
}
public TimeIntervalLength() {
}
public Double getValue() {
return value;
}
public boolean isSetValue() {
return value != null;
}
public void setValue(Double value) {
this.value = value;
}
public String getUnit() {
return unit;
}
public boolean isSetUnit() {
return unit != null;
}
public void setUnit(String unit) {
this.unit = unit;
}
public Integer getRadix() {
return radix;
}
public boolean isSetRadix() {
return radix != null;
}
public void setRadix(Integer radix) {
this.radix = radix;
}
public Integer getFactor() {
return factor;
}
public boolean isSetFactor() {
return factor != null;
}
public void setFactor(Integer factor) {
this.factor = factor;
}
@Override
public ModelObject getParent() {
return parent;
}
@Override
public boolean isSetParent() {
return parent != null;
}
@Override
public void setParent(ModelObject parent) {
this.parent = parent;
}
@Override
public void unsetParent() {
parent = null;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new TimeIntervalLength(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
TimeIntervalLength copy = (target == null) ? new TimeIntervalLength() : (TimeIntervalLength) target;
if (isSetValue())
copy.setValue(value);
if (isSetUnit())
copy.setUnit(copyBuilder.copy(unit));
if (isSetRadix())
copy.setRadix(radix);
if (isSetFactor())
copy.setFactor(factor);
copy.unsetParent();
return copy;
}
}
/*
* energy-ade-citygml4j - Energy ADE module for citygml4j
* https://github.com/citygml4j/energy-ade-citygml4j
*
* energy-ade-citygml4j is part of the citygml4j project
*
* Copyright 2019-2024 Claus Nagel <claus.nagel@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.citygml4j.ade.energy.model.supportingClasses;
import net.opengis.gml.TimeInstantPropertyType;
import net.opengis.gml.TimeIntervalLengthType;
import net.opengis.gml.TimePositionType;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.common.association.Associable;
import org.citygml4j.model.common.base.ModelObject;
import javax.xml.datatype.Duration;
import java.time.ZonedDateTime;
public class TimePeriod implements Associable, ADEModelObject {
private ZonedDateTime beginPosition;
private ZonedDateTime endPosition;
private ModelObject parent;
public ZonedDateTime getBeginPosition() {
return beginPosition;
}
public boolean isSetBeginPosition() {
return beginPosition != null;
}
public void setBeginPosition(ZonedDateTime beginPosition) {
this.beginPosition = beginPosition;
}
public ZonedDateTime getEndPosition() {
return endPosition;
}
public boolean isSetEndPosition() {
return endPosition != null;
}
public void setEndPosition(ZonedDateTime endPosition) {
this.endPosition = endPosition;
}
@Override
public ModelObject getParent() {
return parent;
}
@Override
public boolean isSetParent() {
return parent != null;
}
@Override
public void setParent(ModelObject parent) {
this.parent = parent;
}
@Override
public void unsetParent() {
parent = null;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new TimePeriod(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
TimePeriod copy = (target == null) ? new TimePeriod() : (TimePeriod) target;
if (isSetBeginPosition())
copy.setBeginPosition((ZonedDateTime) copyBuilder.copy(beginPosition));
if (isSetEndPosition())
copy.setEndPosition((ZonedDateTime) copyBuilder.copy(endPosition));
copy.unsetParent();
return copy;
}
}
/*
* energy-ade-citygml4j - Energy ADE module for citygml4j
* https://github.com/citygml4j/energy-ade-citygml4j
*
* energy-ade-citygml4j is part of the citygml4j project
*
* Copyright 2019-2024 Claus Nagel <claus.nagel@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.citygml4j.ade.energy.model.supportingClasses;
import org.citygml4j.builder.copy.CopyBuilder;
import org.citygml4j.model.citygml.ade.binding.ADEModelObject;
import org.citygml4j.model.gml.base.AssociationByRepOrRef;
public class TimePeriodProperty extends AssociationByRepOrRef<TimePeriod> implements ADEModelObject {
public TimePeriodProperty() {
}
public TimePeriodProperty(TimePeriod timePeriod) {
super(timePeriod);
}
public TimePeriodProperty(String href) {
super(href);
}
public TimePeriod getTimePeriod() {
return super.getObject();
}
public boolean isSetTimePeriod() {
return super.isSetObject();
}
public void setTimePeriod(TimePeriod timePeriod) {
super.setObject(timePeriod);
}
public void unsetTimePeriod() {
super.unsetObject();
}
@Override
public Class<TimePeriod> getAssociableClass() {
return TimePeriod.class;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new TimePeriodProperty(), copyBuilder);
}
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
TimePeriodProperty copy = (target == null) ? new TimePeriodProperty() : (TimePeriodProperty) target;
return super.copyTo(copy, copyBuilder);
}
}
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