org.wsdmdemo.service.weatherStation.VisibilityDocument prop_visibility = org.wsdmdemo.service.weatherStation.VisibilityDocument.Factory.newInstance();
org.wsdmdemo.service.weatherStation.VisibilityMetricType visibilityMetricType = prop_visibility.addNewVisibility();
visibilityMetricType.setResetAt(resetAt);
visibilityMetricType.setDoubleValue(InteropConstants.DEFAULT_VISIBILITY);
resourceProperty.add(prop_visibility);
resourceProperty.setCallback(new VisibilityCallback());
// init the {http://wsdmdemo.org/service/weather-station}Temperature Resource Property
resourceProperty = resourcePropertySet.get(WeatherStationPropertyQNames.TEMPERATURE);
org.wsdmdemo.service.weatherStation.TemperatureDocument prop_temperature = org.wsdmdemo.service.weatherStation.TemperatureDocument.Factory.newInstance();