【问题标题】:Is com.vividsolutions.jts.geom.Geometry directly transportable using requestfactory?com.vividsolutions.jts.geom.Geometry 是否可以使用 requestfactory 直接传输?
【发布时间】:2013-07-01 11:33:56
【问题描述】:

com.vividsolutions.jts.geom.Geometry 是否可以使用 requestfactory 直接传输,还是我必须在我的 entityproxy 中使用值代理?

【问题讨论】:

    标签: gwt gis hibernate-spatial


    【解决方案1】:

    根据http://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html#transportable,您必须使用ValueProxy

    但似乎不可能往返几何,因为 setter 比 getter 少(即,不能仅通过调用 setter 从空对象重新构造几何);所以你可能不得不传输几何图形的文本表示,或者使用包装器/构建器。

    【讨论】:

    • 是的,我指的是 com.vividsolutions.jts.geom.Geometry
    猜你喜欢
    • 2011-04-25
    • 2011-11-27
    • 1970-01-01
    • 2011-08-09
    • 2019-07-21
    • 1970-01-01
    • 2016-12-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多