/** * Sets ith "spatialElement" element */ public void setSpatialElementArray(int i, net.opengis.gml.x32.GeometryPropertyType spatialElement) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.x32.GeometryPropertyType target = null; target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(SPATIALELEMENT$0, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(spatialElement); } }
private void setGeometry(AbstractMonitoringObjectType amot, AbstractMonitoringObject abstractMonitoringObject) throws OwsExceptionReport { if (abstractMonitoringObject.isSetGeometry()) { if (abstractMonitoringObject.isSetGmlID()) { Map<HelperValues, String> additionalValues = Maps.newHashMap(); additionalValues.put(HelperValues.GMLID, abstractMonitoringObject.getGmlId()); amot.addNewGeometry().set(encodeGML32(abstractMonitoringObject.getGeometry(), additionalValues)); } else { amot.addNewGeometry().set(encodeGML32(abstractMonitoringObject.getGeometry())); } } }
/** * Sets ith "geometryMember" element */ public void setGeometryMemberArray(int i, net.opengis.gml.x32.GeometryPropertyType geometryMember) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.x32.GeometryPropertyType target = null; target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRYMEMBER$0, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(geometryMember); } }
private void addSamplingLocation(SFSpecimenType sfst, SfSpecimen specimen) throws EncodingException { if (specimen.isSetSamplingLocation()) { sfst.addNewSamplingLocation().set(encodeGML32(specimen.getSamplingLocation(), EncodingContext.of(XmlBeansEncodingFlags.PROPERTY_TYPE, "true"))); } }
private void setGeometry(AbstractMonitoringObjectType amot, AbstractMonitoringObject abstractMonitoringObject) throws EncodingException { if (abstractMonitoringObject.isSetGeometry()) { if (abstractMonitoringObject.isSetGmlID()) { amot.addNewGeometry().set(encodeGML32(abstractMonitoringObject.getGeometry(), new EncodingContext().with(XmlBeansEncodingFlags.GMLID, abstractMonitoringObject.getGmlId()))); } else { amot.addNewGeometry().set(encodeGML32(abstractMonitoringObject.getGeometry())); } } }
/** * Sets the "geometry" element */ public void setGeometry(net.opengis.gml.x32.GeometryPropertyType geometry) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.x32.GeometryPropertyType target = null; target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRY$4, 0); if (target == null) { target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(GEOMETRY$4); } target.set(geometry); } }
/** * Sets the "geometry" element */ public void setGeometry(net.opengis.gml.x32.GeometryPropertyType geometry) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.x32.GeometryPropertyType target = null; target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRY$12, 0); if (target == null) { target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(GEOMETRY$12); } target.set(geometry); } }
/** * Sets the "elementGeometry" element */ public void setElementGeometry(net.opengis.gml.x32.GeometryPropertyType elementGeometry) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.x32.GeometryPropertyType target = null; target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(ELEMENTGEOMETRY$6, 0); if (target == null) { target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(ELEMENTGEOMETRY$6); } target.set(elementGeometry); } }
/** * Sets the "samplingLocation" element */ public void setSamplingLocation(net.opengis.gml.x32.GeometryPropertyType samplingLocation) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.x32.GeometryPropertyType target = null; target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(SAMPLINGLOCATION$6, 0); if (target == null) { target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(SAMPLINGLOCATION$6); } target.set(samplingLocation); } }
/** * Sets the "geometry" element */ public void setGeometry(net.opengis.gml.x32.GeometryPropertyType geometry) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.x32.GeometryPropertyType target = null; target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRY$6, 0); if (target == null) { target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(GEOMETRY$6); } target.set(geometry); } }
/** * Sets the "position" element */ public void setPosition(net.opengis.gml.x32.GeometryPropertyType position) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.x32.GeometryPropertyType target = null; target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(POSITION$0, 0); if (target == null) { target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(POSITION$0); } target.set(position); } }
/** * Sets the "geometryMember" element */ public void setGeometryMember(net.opengis.gml.x32.GeometryPropertyType geometryMember) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.x32.GeometryPropertyType target = null; target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRYMEMBER$0, 0); if (target == null) { target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(GEOMETRYMEMBER$0); } target.set(geometryMember); } }
/** * Sets the "geometry" element */ public void setGeometry(net.opengis.gml.x32.GeometryPropertyType geometry) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.x32.GeometryPropertyType target = null; target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRY$0, 0); if (target == null) { target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(GEOMETRY$0); } target.set(geometry); } }