Package eu.admire.seismo.metadata

Examples of eu.admire.seismo.metadata.Trace


    public String getInsertTraceExpression(Dataset dataset,int index)
    {
   
      
        Trace trace=dataset.getTraceList().get(index);
        String expression="INSERT INTO trace (Station,Network,Channel,StartTime,EndTime,Samples,Frequency,DatasetID) VALUES" +
       " (\""+trace.getStation()+"\",\""+
       trace.getNetwork()+"\",\""+
       trace.getChannel()+"\",\""+
       trace.getStartTime()+"\",\""+
       trace.getEndTime()+"\",\""+
       trace.getSamples()+"\",\""+
       trace.getFrequency()+"\",\""+
       dataset.getDatasetId()+"\""+
       ");";
        return expression;
    }
View Full Code Here


    public String getInsertTraceExpression(Dataset dataset,int index)
    {
   
      
         Trace trace=dataset.getTraceList().get(index);
        String expression=" (\""+trace.getStation()+"\",\""+
       trace.getNetwork()+"\",\""+
       trace.getChannel()+"\",\""+
       trace.getStartTime()+"\",\""+
       trace.getEndTime()+"\",\""+
       trace.getSamples()+"\",\""+
       trace.getFrequency()+"\",\""+
       dataset.getDatasetId()+"\""+
       ")";
        return expression;
    }
View Full Code Here

   
      
    public String getInsertTraceExpression(Dataset dataset,int index)
    {
        Trace trace=dataset.getTraceList().get(index);
        String expression=" (\""+trace.getStation()+"\",\""+
       trace.getNetwork()+"\",\""+
       trace.getChannel()+"\",\""+
       trace.getStartTime()+"\",\""+
       trace.getEndTime()+"\",\""+
       trace.getSamples()+"\",\""+
       trace.getFrequency()+"\",\""+
       dataset.getDatasetId()+"\",\""+
       trace.getTraceID()+"\""+
       ");";
        return expression;
    }
View Full Code Here

TOP

Related Classes of eu.admire.seismo.metadata.Trace

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.