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

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

?? solution.java

?? 一個用java寫的地震分析軟件(無源碼)
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
package org.trinet.jasi;

/**
 * Solution
 *
 *
 * Created: Wed Oct 27 10:35:35 1999
 *
 * @author Doug Given
 * @version
 */

import java.util.ArrayList;
import java.util.Collection;

import java.sql.Connection;
import org.trinet.jasi.coda.*;
//import org.trinet.jasi.concrete.*;

import org.trinet.util.gazetteer.LatLonZ;
import org.trinet.util.DateTime;
import org.trinet.util.EpochTime;
import org.trinet.jdbc.datatypes.*;
import org.trinet.util.Format;		// CoreJava printf-like Format class
import org.trinet.jasi.JasiObject;

/**
 * Defines data members and methods that are exposed by all jasi Solution
 * objects.  All data members are DataObjects rather than primative types so
 * they can handle the concepts of "nullness", "mutability", and
 * "change-state".<p>
 *
 * NULLNESS = a field can be null, i.e. unknown or no value. The traditional
 *  approach has been to insert zero or some bogus value. In ASCII
 *  representations sometimes a field was just left blank. For example: RMS
 *  'distance' might*simply be unknown. To give it a value of 0.0km could foul
 *  up other calculations. When you write data out to a database you want to
 *  leave * null fields null and not write a bunch of zeros that were used as
 *  an expedient *inside of an application.<p>
 *
 * MUTABLITY = some fields should NEVER be explicity manipulated by an
 * application.  These are usually "key" fields that would break the database or
 * cause constraint errors. They would be set immutable. Think of these as
 * "read-only".<p>
 *
 * CHANGE-STATE = this is primarily an efficiency issue. If you read in 1000
 * records, change 10 of them, then save your work, you only want to write
 * ('update') the changed records to the database.<p>
 *
 * The database can contain null values for
 * certain fields. Also applications may not want to write a "bogus" value like 0
 * into the database when when the real value is not known. Data primatives can't
 * be null and are initiallize to zero. */

public abstract class Solution extends JasiObject implements Lockable {

    /*
      Here's the list of public data members for a solution. These need to be
      supported by any port of this abstract layer
     */

    /** Unique integer ID number of the Solution */
    public DataLong    id		= new DataLong();
    /** Unique integer ID number of the Solution that was assigned by an
     * external source. Imported data must be given a "safe" (guaranteed unique)
     * local ID when it is imported. This data member remembers the original,
     * external ID. May be null. THis is a string because some networks (e.g. NEIC)
     * use letters and numbers in their ID codes. */
    public DataString  externalId	= new DataString();

    /** In some cases a Solution is "descended" or "cloned" from an original Solution.
    * This is the number of the "parent" Solution. May be null.*/
    public DataLong parentId       = new DataLong();

    /** Origin time in seconds since epoch start. (00:00 Jan. 1, 1970) */
    public DataDouble  datetime	   = new DataDouble();

    /** Latitude of the hypocenter, decimal degrees, N positive */
    public DataDouble  lat		= new DataDouble();
    /** Longitude of the hypocenter, decimal degrees, E positive */
    public DataDouble  lon		= new DataDouble();
    /** Depth of hypocenter in km below vertDatum. Negative is below datum */
    public DataDouble  depth		= new DataDouble();

    /** Datum for lat and long */
    public DataString  horizDatum	= new DataString();
    /** Datum for depth */
    public DataString  vertDatum	= new DataString();

    /** A string describing the solution type:
  "H"=hypocenter, "C"=centroid, "A"=amplitude */
    public DataString  type		= new DataString("H");

    /** String describing the location method */
    public DataString  method		= new DataString();
    /** String describing the crustal model used. */
    public DataString    crustModel = new DataString();
    /** String describing the velocity model used */
    public DataString    velModel	 = new DataString();

    /** Solution's origin authority. The 2-character FDSN network code from which this
        origin came. Default to network code set in EnvironmentInfo.
        @See: EnvironmentInfo.getNetworkCode */
    public DataString  authority  = new DataString(EnvironmentInfo.getNetworkCode());

    /** Authority of the initial declaration of the event. An event declared or created
    * by one authority may be relocated by another. Thus, the 'authority' and 'eventauthority'
    * would be different.*/
    public DataString  eventAuthority  = new DataString(EnvironmentInfo.getNetworkCode());

    /** Data source string. Describes the source of the Solution's origin (location)
        information. Optional site defined source string.
        Default to application name set in EnvironmentInfo.
        @See: EnvironmentInfo.getApplicationName */
    public DataString  source	  = new DataString(EnvironmentInfo.getApplicationName());

    /** Source of the initial declaration of the event. An event declared or created
    * by one application may be relocated by another. Thus, the 'source' and 'eventsource'
    * would be different. */
    public DataString  eventSource	= new DataString(EnvironmentInfo.getApplicationName());

    /** DataString containing username of the analyst that created this solution. */
    private DataString  who	= new DataString(EnvironmentInfo.getApplicationName());

    /** Largest azimuthal gap of solution in degrees. */
    public DataDouble  gap		= new DataDouble();

    /** Distance in km to the nearest station that contributed to the solution */
    public DataDouble  distance		= new DataDouble();
    /** RMS error of solution */
    public DataDouble  rms		= new DataDouble();
    /** Error in origin time in seconds. */
    public DataDouble  errorTime	= new DataDouble();
    /** Horizontal error in km. */
    public DataDouble  errorHoriz	= new DataDouble();
    /** Vertical error in km. */
    public DataDouble  errorVert	= new DataDouble();
    /** Latitude error in degrees. */
    public DataDouble  errorLat		= new DataDouble();
    /** Longitude error in degress. */
    public DataDouble  errorLon		= new DataDouble();
    /** Total phase readings, of all types associated with the solutions. */
    public DataLong    totalReadings	= new DataLong();
    /**  Total phase readings, of all types used in the solution. */
    public DataLong    usedReadings	= new DataLong();
    /**  Total S-phase readings, of all types used in the solution. */
    public DataLong    sReadings	= new DataLong();
    /** Total first motion reading associated with this solution */
    public DataLong    firstMotions	= new DataLong();

    /** Solution quality expressed as a number between 0.0 and 1.0; 0.0 is the worst*/
    public DataDouble  quality		= new DataDouble();

    /** Solution priority, this is a site defined value that can be used to
    * determine the priority of events for processing tasks. */
    public DataDouble  priority		= new DataDouble();

    /** A free-format comment text string. May not be supported by
    * all data sources or may be limited in length.*/
    public DataString  comment = new DataString();

    /** Equals 0 if the solution should not be considered valid. */
    final long DefaultValidFlag = 1;
    public DataLong    validFlag	= new DataLong(DefaultValidFlag);

    /** Equals 1 if this is a dummy solution. A dummy solution is often needed
    * to hold incomplete Solution information. For example a Solution for which
    * no viable location was possible. Events with type 'trigger' will usually
    * have dummyFlag = 1. */
    final long DefaultDummyFlag = 0;
    public DataLong    dummyFlag	= new DataLong(DefaultDummyFlag);

    /** A string describing the event type. Possible types are: <p>
  <ul>
  <li> local </li>
  <li> quarry </li>
  <li> regional </li>
  <li> teleseism </li>
  <li> sonic </li>
  <li> nuclear </li>
  <li> trigger </li>
      <li> unknown </li>
  </ul>
     @see: EventTypeMap
     */
    public DataString  eventType	= new DataString(EventTypeMap.getDefaultEventType());   //"unknown"

    /** State of processing. 'A'=automatic, 'H'=human, 'F'=final */
    final String DefaultProcessingState = EnvironmentInfo.getAutoString();
    public DataString  processingState	= new DataString(DefaultProcessingState);	// rflag

    public static int STATE_NONE = 0;
    public static int STATE_AUTOMATIC = 1;
    public static int STATE_HUMAN = 2;
    public static int STATE_FINAL = 3;

    /** True if the solution's depth is fixed. */
    // Defaults to "false". If you use "new Databoolean()" it sets isUpdate = true!
    public DataBoolean  depthFixed	= new DataBoolean();
    /** True if the solution's location is fixed. */
    public DataBoolean  locationFixed	= new DataBoolean();
    /** True if the solution's origin time is fixed. */
    public DataBoolean  timeFixed	= new DataBoolean();

    /** Number of waveforms associated with this solution */
    public DataLong    waveRecords	= new DataLong();

    /** List of alternate solutions for this solution. This list does not contain
     * the preferred (this) solution. */
    public SolutionList altSolList = new SolutionList();

    /** The preferred Magnitude associated with this Solution */
    //    public Magnitude magnitude = Magnitude.create();
    public Magnitude magnitude = null;

    /** Collection of alternate magnitudes associated with the solution.
     * This list does NOT contain the preferred magnitude so it is a list
     * on non-preferred mags. */
    public ArrayList altMagList = new ArrayList();

    /** List of phases associated with this Solution */
    //    public ArrayList phaseList = new ArrayList();
    public PhaseList phaseList = new PhaseList();

    /** List of Waveform object associated with this Solution.  Note that not
     * all schemas make a connection between solutions and waveforms.  This is
     * provided to accommodate those that do.*/
    public ArrayList waveformList = new ArrayList();

    /**
     * List of amplitude reading associated with this solution.
     */
    public AmpList ampList = new AmpList();

    /**
     * List of codas observations associated with this solution.
     */
    public CodaList codaList = new CodaList();  // AWW added 10/11/2000

    /** A solutionLock instance to support the Lockable interface. Will be null
    * if locking is not supported by the datasource */

    SolutionLock solLock = SolutionLock.create();

    /** Set true to lookup comments for each solution in the data source.
    * Default is 'true'. */
    protected boolean includeComment = true;

    /**
     * NOTE ON COLLECTIONS Java (SWING) Collections are abstract. The caller
     * must use a concrete subclass where ever "Collection" is used as an
     * argument or return type here. Use of the abstract type "Collection" here
     * allows the user to choose ANY subclass they choose with on modification to
     * the jasi classes. */

    /** True if changes have been made to the phase list and a relocation is
     needed.  */
    boolean isStale = false;

    /** True if changes have been made OR solution has been relocated and it
     needs to be recommited to the datasource.  */
    boolean needsCommit = false;

    /** Summary string describing status of the last commit operation. */
    protected String commitStatus = "";

    /** True if phase has been virtually deleted */
    boolean deleteFlag = false;

// //////////////////////////////////////////////////////////////////////
    /**
     * constructor is 'friendly' so that you can only instantiate jasi objects
     * using the 'create()' factory method.
     */
    public Solution() { }

// -- Concrete FACTORY METHODS ---
    /*
     o Must be static so we can call with Solution.create()
     o Can't be abstract in JasiObject because this must return a Solution object
       and JasiObject can only return Object.
     o Its final so concrete children can't override.
    */


    /**
     * Instantiate an object of this type. You do
     * NOT use a constructor. This "factory" method creates various
     * concrete implementations. Creates a Solution of the DEFAULT type.
     * @See: JasiObject
     */
     public static final Solution create() {
  return create(DEFAULT);
    }

    /**
     * Instantiate an object of this type. You do
     * NOT use a constructor. This "factory" method creates various
     * concrete implementations. The argument is an integer implementation type.
     * @See: JasiObject
     */
    public static final Solution create(int schemaType) {
      return create(JasiFactory.suffix[schemaType]);
    }

    /**
     * Instantiate an object of this type. You do
     * NOT use a constructor. This "factory" method creates various
     * concrete implementations. The argument is as 2-char implementation suffix.
     * @See: JasiObject
     */
    public static final Solution create(String suffix) {
  Solution sol = (Solution) JasiObject.newInstance("org.trinet.jasi.Solution", suffix);
        sol.setDefaultValues();
        return sol;
    }

    /**  Set true to lookup comments for each solution in the data source.*/
    public void setIncludeComment(boolean tf) {
      includeComment = tf;
    }
    /**  If true comments for each solution will be extracted from the data source.*/
    public boolean getIncludeComment(){
      return includeComment;
    }

    /**
    * Set the ID of the Solution. The ID must be a unique long integer.
    */
    public void setId (long id) {
      this.id.setValue(id);
    }
    /**
    * Return the ID of the Solution.
    */
    public DataLong getId () {
       return id;
    }

    /** Set the ID of the Solution this Solution is "descended" or "cloned" from.
    */
    public void setParentId ( long parentId) {
      this.parentId.setValue(parentId);
    }
    /** Return the ID of the Solution this Solution is "descended" or "cloned" from.
    */
    public DataLong getParentId () {
       return parentId;
    }

    /** Set the default values of some fields. Concrete classes can override this

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
激情综合网av| 日本成人在线一区| 久久久久久久久久久久久久久99 | 亚洲风情在线资源站| 一区二区三区免费| 亚洲女同ⅹxx女同tv| 亚洲色图19p| 亚洲第一主播视频| 日本美女视频一区二区| 美国av一区二区| 韩国精品免费视频| 国产精品1区2区| 成人激情免费视频| 欧洲精品一区二区| 欧美一区二区三区四区视频| 91精品国产乱码| 久久久蜜桃精品| 国产精品国产三级国产有无不卡| 自拍偷拍国产精品| 亚洲观看高清完整版在线观看| 五月天一区二区三区| 日韩成人精品在线| 国产suv精品一区二区三区 | 综合av第一页| 亚洲午夜久久久久久久久电影院| 午夜婷婷国产麻豆精品| 国产一区二区导航在线播放| 99re视频精品| 日韩精品中文字幕在线一区| 中文字幕不卡在线观看| 亚洲一区二区三区国产| 韩日av一区二区| 一本到不卡免费一区二区| 这里只有精品免费| 欧美激情在线一区二区三区| 亚洲高清在线视频| 国产suv精品一区二区883| 欧美三级欧美一级| 欧美tk丨vk视频| 亚洲制服欧美中文字幕中文字幕| 精品一区二区影视| 在线中文字幕一区二区| 国产欧美日韩在线视频| 青青草一区二区三区| 91同城在线观看| 久久蜜桃av一区二区天堂| 亚洲国产综合91精品麻豆| 国产成人综合亚洲91猫咪| 欧美日本精品一区二区三区| 亚洲欧美综合另类在线卡通| 久久99精品网久久| 欧美视频在线播放| 日韩美女久久久| 成人永久aaa| 国产亚洲精品资源在线26u| 天天影视网天天综合色在线播放| 99re这里只有精品首页| 久久―日本道色综合久久| 视频一区视频二区中文字幕| 色婷婷久久久亚洲一区二区三区 | 欧美视频一区在线| 中文字幕中文字幕中文字幕亚洲无线| 奇米四色…亚洲| 欧美久久久久久蜜桃| 亚洲电影视频在线| 91精彩视频在线观看| 亚洲欧美在线视频| 成人一区二区三区视频| 久久久久久免费网| 国产精品小仙女| 久久久久久久久久久99999| 精品一区二区三区在线观看国产 | 91视频91自| 国产精品美女www爽爽爽| 韩国三级在线一区| 国产91精品在线观看| 午夜精品福利一区二区三区av | 精品一区二区成人精品| 亚洲图片激情小说| 久久亚洲综合色| 欧美美女黄视频| 99热99精品| 国产曰批免费观看久久久| 亚洲嫩草精品久久| 国产欧美日本一区视频| 欧美一级xxx| 在线观看国产91| 国产精品伊人色| 男女性色大片免费观看一区二区| 中文字幕一区二区三区不卡在线| 精品久久久久一区| 日韩一区二区三区在线观看| 欧美午夜精品电影| 不卡免费追剧大全电视剧网站| 免费观看成人av| 天堂一区二区在线免费观看| 亚洲色图制服丝袜| 国产精品久久精品日日| 久久久五月婷婷| 精品国产免费人成电影在线观看四季 | 91在线国产观看| 国产精品区一区二区三| 欧美日韩免费一区二区三区| eeuss鲁片一区二区三区在线看| 欧美精品一区男女天堂| 在线综合亚洲欧美在线视频| 欧美在线一二三| 91麻豆免费观看| av午夜一区麻豆| 91亚洲国产成人精品一区二三| 国产成人av自拍| 国产成人在线视频播放| 久久综合综合久久综合| 久久精品国产亚洲一区二区三区 | 免费高清视频精品| 五月天视频一区| 性久久久久久久| 午夜久久久久久久久 | 亚洲欧洲性图库| 国产精品久久久久久久久快鸭 | 国产精品亚洲一区二区三区妖精 | 久久久午夜精品理论片中文字幕| 精品国产免费一区二区三区四区| 日韩你懂的电影在线观看| 精品久久久久久久久久久久久久久久久| 欧美日韩精品免费| 日韩一区二区视频| 久久久久99精品国产片| 国产精品欧美一区二区三区| 综合激情网...| 亚洲成av人影院| 奇米精品一区二区三区在线观看一| 日本中文字幕不卡| 国产精品一区二区三区乱码| 粉嫩欧美一区二区三区高清影视| 成人免费不卡视频| 欧美在线观看视频在线| 欧美一级夜夜爽| 国产欧美一区二区三区鸳鸯浴| 亚洲欧洲三级电影| 无码av中文一区二区三区桃花岛| 美女诱惑一区二区| 成人国产精品免费网站| 欧美性色综合网| 2021国产精品久久精品| 中文字幕日韩av资源站| 日本不卡在线视频| 成人免费毛片a| 欧美精品少妇一区二区三区| 久久精品欧美一区二区三区麻豆| 中文字幕亚洲成人| 麻豆免费看一区二区三区| 成人丝袜18视频在线观看| 欧美婷婷六月丁香综合色| 欧美精品一区二区三区视频 | 午夜电影网亚洲视频| 精久久久久久久久久久| 日本乱人伦aⅴ精品| 日韩丝袜情趣美女图片| 最新国产精品久久精品| 蜜桃精品在线观看| 91麻豆swag| 久久免费电影网| 日韩精品五月天| 色哦色哦哦色天天综合| 久久午夜色播影院免费高清| 亚洲国产成人av网| 99免费精品视频| 精品国产三级电影在线观看| 亚洲午夜免费电影| 99九九99九九九视频精品| 精品国内二区三区| 视频一区在线播放| 在线一区二区观看| 国产精品热久久久久夜色精品三区| 麻豆国产精品一区二区三区| 欧美亚男人的天堂| 国产精品大尺度| 成人性生交大片免费看中文 | 美女在线视频一区| 欧美日韩精品是欧美日韩精品| 国产精品美女久久福利网站| 国产综合久久久久久鬼色| 3d动漫精品啪啪一区二区竹菊 | 日韩制服丝袜av| 在线免费观看日韩欧美| 中文字幕欧美一区| 高清beeg欧美| 国产欧美一区二区精品仙草咪 | 久久婷婷国产综合精品青草| 丝瓜av网站精品一区二区| 26uuu色噜噜精品一区二区| 亚洲午夜免费视频| 91福利在线看| 亚洲一区二区av电影| 色久综合一二码| 亚洲宅男天堂在线观看无病毒| 在线观看精品一区| 亚洲成人免费在线| 欧美日韩一区二区三区四区五区|