code: private static void recursiveSetSrid(Geometry geometry, int srid) {
  		if (geometry != null) {
  			geometry.setSrid(srid);
  		}
  		if (geometry.getGeometries() != null) {
  			for (Geometry childGeometry : geometry.getGeometries()) {
  				recursiveSetSrid(childGeometry, srid);
  			}
  		}
  	}
docs: ------------------------------------------------------------------------