亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? geometrybean.java

?? postGIS是一個能夠使用postSQL數據庫來管理GIS數據的小程序,充分發揮了該數據庫的空間管理功能,非常有用哦
?? JAVA
字號:
/* * GeometryBean.java * * Using PostGIS Geometry Types with EJB2 - Proof of Concept * * Copyright 2006, Geodetix S.r.l. (http://www.geodetix.it) * and individual contributors as indicated by the @authors tag. * * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation, either version 2.1 of the License. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. * * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or visit the web at * http://www.gnu.org. * */package com.geodetix.geo.ejb;import javax.ejb.*;import java.util.*;import org.postgis.*;import com.geodetix.geo.value.GeometryValue;/** * This BMP (Bean Managed Persistence) entity bean stores information * about geometrical description of a choosen entity in some application * domain. It stores geometrical infos in the <code>geometry</code> attribute * of type <code>org.postgis.Geometry</code>. Note that such an attribute could  * even be implemented as a pure text (i.e. Java <code>String</code>) field  * following the WKT format, thus leaving geometric details to the PostGIS  * api classes (see <code>README</code> file for further details). * * @ejb.bean *    name="Geometry" *    jndi-name="geodetix/geo/Geometry" *    local-jndi-name="geodetix/geo/GeometryLocal" *    type="BMP" *    view-type="local" *    primkey-field="id" * * @ejb.dao *     impl-class="com.geodetix.geo.dao.PostGisGeometryDAOImpl" * * * @ejb.transaction *     type="RequiresNew" * * * @ejb.value-object *     name="Geometry" *     match="value" * * @author  <a href="mailto:antonio.pace@geodetix.it">Antonio Pace</a> * */public abstract class GeometryBean implements javax.ejb.EntityBean {            /* TEMPORARY (NOT FOR REAL WORLD) PRIMARY KEY GENERATOR */    private static final int SIMPLE_ID_GENERATOR = (int) System.currentTimeMillis();    private static int actualId = SIMPLE_ID_GENERATOR;                /* BMP fields */    private Integer   id;    private String    description;    private Geometry  geometry;                    /* CREATE METHODS */            /**     * Creates a new Geometry Bean.     *      * @ejb.create-method      *     * @param geometry the <code>org.postgis.Geometry</code> that has to be      * included in this EJB.     * @param description the textual description of this bean.     * @throws CreateException lauched if an error occours during the      * EJB creation.     * @return the EJB's primary key.     */    public Integer ejbCreate(org.postgis.Geometry geometry,String description)    throws CreateException {                this.id    = (new Integer(actualId++));        this.geometry = geometry;        this.description=description;                /* For now return null, this will be overrided in the DAO implementation of this method */        return null;    }        /**     * This method is called by the container after the EJB creation.     *     * @param geometry the <code>org.postgis.Geometry</code> that has to be      * included in this EJB.     */    public void ejbPostCreate(org.postgis.Geometry geometry) {                // Do something with Relationship.    }                        /* ========== Finder Methods =========== */            /**     * Find a Geometry Bean from his primary key.     *      * @param primaryKey the primary key of the bean to found.     * @throws FinderException lauched if an error occours during the      * EJB search operation.     */    public abstract Integer ejbFindByPrimaryKey(Integer primaryKey)    throws FinderException;                    /**     * Find all of the geometry beans contained in a <code>Polygon</code>.     *     * @param polygon the Polygon to search in.     */    public abstract Collection ejbFindByPolygon(org.postgis.Polygon polygon)    throws FinderException;                     /* ============== BMP Fields Accessor Methods ============ */            /**     * Returns the EJB's id field.     *     * @ejb.pk-field     * @ejb.interface-method     * @ejb.value-object match="value"     */    public Integer getId() {                return this.id;    }            /**     * Modifies the id field.     */    public void setId(Integer id) {                this.id = id;                this.makeDirty();    }            /**     * Returns the EJB's textual description.     *     * @ejb.interface-method     * @ejb.value-object match="value"     * @return the Geometry Bean description.     */    public String getDescription() {                return this.description;    }        /**     * Modifies the EJB's textual description.     *     * @ejb.interface-method     * @param description the Geometry Bean description.     */    public void setDescription(String description) {                this.description = description;                this.makeDirty();    }                /**     * Returns the EJB's geometrical description.     *     * @ejb.interface-method     * @ejb.value-object match="value"     * @return the org.postgis.Geometry included in this bean.     */    public org.postgis.Geometry getGeometry() {                return this.geometry;    }        /**     * Modifies the EJB's geometrical description.     *     * @ejb.interface-method     * @param geometry the <code>org.postgis.Geometry</code> that has to      * be included in this EJB.     */    public void setGeometry(org.postgis.Geometry geometry) {                this.geometry = geometry;                this.makeDirty();    }                        /* HOME INTERFACE BMP UTILITY METHODS */            /**     * Create a non-OpenGIS DataBase table, used to persist the Geometry Beans.     *     * @ejb.home-method     *     * @dao.call     */    public abstract void ejbHomeMakeDbTable();                /**     * Create OpenGIS DataBase table, used to persist the Geometry Beans.     *     * @ejb.home-method     *     * @dao.call     */    public abstract void ejbHomeMakeDbTable(String gemetryType, int srid, int geometryDimension);                /**     * Remove Bean's Persistence Teable of the DataBase.     *     * @ejb.home-method     *     * @dao.call     */    public abstract void ejbHomeDropDbTable();                /* VALUE OBJECTS */        /**     * This is an abstract method to allow XDoclet to expose     * value object functionalities in the local/remote interface.     *     * @ejb.interface-method     *     * @return a value object for this GeometryBean.     */    public abstract GeometryValue getGeometryValue();                        /* XDOCLET BMP METHODS RELATED STUFF */            /**     * @see com.geodetix.geo.ejb.GeometryBMP source.     */    protected abstract void makeDirty();    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产天堂| 午夜精品一区在线观看| 国产一区二区电影| 久久影院电视剧免费观看| 激情久久五月天| 国产日产欧美精品一区二区三区| 国产一区二区在线观看免费| 欧美国产乱子伦| www.亚洲人| 亚洲国产欧美日韩另类综合| 91精品久久久久久蜜臀| 日日欢夜夜爽一区| 久久一夜天堂av一区二区三区| 高清久久久久久| 一区二区视频免费在线观看| 777奇米成人网| 国产一区二区导航在线播放| 亚洲欧洲另类国产综合| 欧美色区777第一页| 久久国内精品自在自线400部| 国产人妖乱国产精品人妖| 99精品视频一区| 日韩中文字幕1| 国产视频一区二区在线| 在线精品亚洲一区二区不卡| 日本麻豆一区二区三区视频| 国产亚洲一本大道中文在线| 色偷偷一区二区三区| 久久精品国产精品亚洲综合| 国产精品久久久久影院色老大 | 波多野结衣中文字幕一区| 一区二区三区欧美激情| 欧美成人乱码一区二区三区| 91在线丨porny丨国产| 亚洲成人免费视| 欧美国产日韩a欧美在线观看| 欧美视频在线播放| 国产不卡视频在线播放| 日韩中文字幕一区二区三区| 欧美国产日韩一二三区| 欧美久久婷婷综合色| 成人网在线播放| 奇米四色…亚洲| 一区二区在线观看视频| 久久久久国产成人精品亚洲午夜 | 国产成a人亚洲| 亚洲国产一区二区a毛片| 国产日韩欧美亚洲| 日韩一卡二卡三卡四卡| 91久久精品一区二区二区| 国产成人8x视频一区二区| 青青草97国产精品免费观看无弹窗版 | 国产欧美日韩另类视频免费观看| 欧美日韩视频在线一区二区| 成人av免费网站| 国产精品资源网| 日韩成人精品在线观看| 亚洲在线成人精品| 国产精品免费丝袜| 26uuu另类欧美亚洲曰本| 7777精品伊人久久久大香线蕉的 | 国产精品乱码一区二区三区软件| 欧美一级视频精品观看| 精品视频在线免费看| 94-欧美-setu| 成人动漫av在线| 成人丝袜高跟foot| 国产成人综合亚洲91猫咪| 久久精品国产秦先生| 青青草原综合久久大伊人精品优势| 夜夜精品视频一区二区| 亚洲欧美视频在线观看视频| 国产欧美日本一区视频| 久久久三级国产网站| 精品乱人伦一区二区三区| 欧美一区二区黄色| 欧美一区国产二区| 欧美一级黄色录像| 欧美伦理影视网| 欧美日韩不卡一区二区| 欧美日韩精品一区二区三区| 91成人在线精品| 欧美亚洲一区二区在线| 91精品久久久久久久99蜜桃| 欧美久久久影院| 日韩三级免费观看| 精品国产免费视频| 久久天堂av综合合色蜜桃网| 久久久亚洲高清| 国产精品视频麻豆| 国产精品成人一区二区三区夜夜夜| 日本一区二区成人在线| 亚洲欧洲99久久| 一级中文字幕一区二区| 亚洲国产精品精华液网站| 香蕉加勒比综合久久| 日本成人超碰在线观看| 国产在线麻豆精品观看| 粉嫩av一区二区三区粉嫩| 99久久国产综合精品色伊| 欧美亚洲综合色| 精品日韩在线观看| 欧美国产日本韩| 亚洲激情一二三区| 婷婷综合久久一区二区三区| 麻豆一区二区三| 成人午夜在线视频| 欧美性受极品xxxx喷水| 欧美大片一区二区三区| 中文一区二区在线观看| 亚洲在线视频网站| 激情综合色播激情啊| 成人av在线网站| 欧美军同video69gay| 久久综合一区二区| 一区二区三区中文字幕精品精品 | 欧美三片在线视频观看| 精品日韩av一区二区| 亚洲视频一二区| 另类小说综合欧美亚洲| av电影天堂一区二区在线| 91精品国产综合久久蜜臀| 国产农村妇女精品| 天堂成人国产精品一区| 国产激情一区二区三区四区| 欧美性视频一区二区三区| 国产午夜精品一区二区| 亚洲国产精品一区二区久久| 国产成人鲁色资源国产91色综| 欧美又粗又大又爽| 国产日韩av一区| 蜜臀av亚洲一区中文字幕| 91看片淫黄大片一级在线观看| 欧美一级日韩一级| 夜夜精品视频一区二区 | 欧美伊人精品成人久久综合97 | 欧美一区二区三区免费大片 | 亚洲色欲色欲www| 精品在线播放午夜| 欧美日韩亚洲国产综合| 1024亚洲合集| 国产精品一区三区| 日韩一区二区免费在线观看| 亚洲蜜臀av乱码久久精品| 国产乱一区二区| 日韩视频在线一区二区| 亚洲国产三级在线| 99国产欧美久久久精品| 国产欧美日韩三级| 国产美女在线精品| 欧美哺乳videos| 日本中文一区二区三区| 色综合天天综合网国产成人综合天 | 亚洲综合激情网| 不卡一区二区三区四区| 欧美国产一区在线| 国产成人在线观看| 久久综合久久综合久久综合| 日韩激情视频在线观看| 欧美四级电影网| 亚洲一区二区美女| 欧美一a一片一级一片| 亚洲精选免费视频| 色偷偷久久一区二区三区| 亚洲丝袜美腿综合| 色妞www精品视频| 一区二区在线免费观看| 色婷婷国产精品综合在线观看| 中文字幕亚洲一区二区va在线| 福利电影一区二区| 国产精品全国免费观看高清| 成人午夜电影久久影院| 亚洲欧美一区二区视频| 91天堂素人约啪| 亚洲视频免费观看| 欧美视频一区二区三区| 亚洲18色成人| 日韩欧美一区在线| 久久99精品国产.久久久久| 精品日韩99亚洲| 成人午夜私人影院| 亚洲欧美日韩在线| 欧美三级中文字幕在线观看| 亚洲高清在线精品| 欧美大肚乱孕交hd孕妇| 久久99精品国产| 五月婷婷色综合| 欧美一区二区三区在线看| 激情五月婷婷综合| 欧美国产日本韩| 欧美在线视频全部完| 欧美a级一区二区| 国产日韩在线不卡| 91久久精品国产91性色tv| 天天综合色天天综合色h| 久久午夜国产精品| 91蜜桃在线观看| 日本美女一区二区三区| 国产欧美精品区一区二区三区| 色综合视频在线观看|