/** * Sets the "CategoricalTVP" element */ public void setCategoricalTVP(net.opengis.waterml.x20.CategoricalTVPType categoricalTVP) { synchronized (monitor()) { check_orphaned(); net.opengis.waterml.x20.CategoricalTVPType target = null; target = (net.opengis.waterml.x20.CategoricalTVPType)get_store().find_element_user(CATEGORICALTVP$0, 0); if (target == null) { target = (net.opengis.waterml.x20.CategoricalTVPType)get_store().add_element_user(CATEGORICALTVP$0); } target.set(categoricalTVP); } }
/** * Sets the "CategoricalTVP" element */ public void setCategoricalTVP(net.opengis.waterml.x20.CategoricalTVPType categoricalTVP) { synchronized (monitor()) { check_orphaned(); net.opengis.waterml.x20.CategoricalTVPType target = null; target = (net.opengis.waterml.x20.CategoricalTVPType)get_store().find_element_user(CATEGORICALTVP$0, 0); if (target == null) { target = (net.opengis.waterml.x20.CategoricalTVPType)get_store().add_element_user(CATEGORICALTVP$0); } target.set(categoricalTVP); } }
if (observationValue.getValue() instanceof TimeLocationValueTriple) { categoricalTimeseries.addNewPoint().addNewCategoricalTVP() .set(encodeTLVT((TimeLocationValueTriple) observationValue.getValue())); .setUserData(getUserObject(observationValue.getObservationID(), counter)); categoricalTimeseries.addNewPoint().addNewCategoricalTVP() .set(encodeTLVT(timeLocationValueTriple)); counter++;
if (observationValue.getValue() instanceof TimeLocationValueTriple) { categoricalTimeseries.addNewPoint().addNewCategoricalTVP() .set(encodeTLVT((TimeLocationValueTriple) observationValue.getValue())); .setUserData(getUserObject(observationValue.getObservationID(), counter)); categoricalTimeseries.addNewPoint().addNewCategoricalTVP() .set(encodeTLVT(timeLocationValueTriple)); counter++;