index
int64
0
0
repo_id
stringlengths
9
205
file_path
stringlengths
31
246
content
stringlengths
1
12.2M
__index_level_0__
int64
0
10k
0
Create_ds/ant-antlibs-vss/src/main/org/apache/ant
Create_ds/ant-antlibs-vss/src/main/org/apache/ant/vss/MSVSSCP.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
9,300
0
Create_ds/ant-antlibs-vss/src/main/org/apache/ant
Create_ds/ant-antlibs-vss/src/main/org/apache/ant/vss/MSVSSHISTORY.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
9,301
0
Create_ds/ant-antlibs-vss/src/main/org/apache/ant
Create_ds/ant-antlibs-vss/src/main/org/apache/ant/vss/MSVSSGET.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
9,302
0
Create_ds/ant-antlibs-vss/src/main/org/apache/ant
Create_ds/ant-antlibs-vss/src/main/org/apache/ant/vss/MSVSSCHECKIN.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
9,303
0
Create_ds/ant-antlibs-vss/src/main/org/apache/ant
Create_ds/ant-antlibs-vss/src/main/org/apache/ant/vss/MSVSSCHECKOUT.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
9,304
0
Create_ds/ant-antlibs-vss/src/main/org/apache/ant
Create_ds/ant-antlibs-vss/src/main/org/apache/ant/vss/MSVSSConstants.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
9,305
0
Create_ds/ant-antlibs-vss/src/main/org/apache/ant
Create_ds/ant-antlibs-vss/src/main/org/apache/ant/vss/MSVSSRECOVER.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
9,306
0
Create_ds/ant-antlibs-vss/src/main/org/apache/ant
Create_ds/ant-antlibs-vss/src/main/org/apache/ant/vss/MSVSSLABEL.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
9,307
0
Create_ds/ant-antlibs-vss/src/main/org/apache/ant
Create_ds/ant-antlibs-vss/src/main/org/apache/ant/vss/MSVSSLOCATE.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
9,308
0
Create_ds/ant-antlibs-vss/src/main/org/apache/ant
Create_ds/ant-antlibs-vss/src/main/org/apache/ant/vss/MSVSSDELETE.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
9,309
0
Create_ds/dubbo-async-processor/src/main/java/com/alibaba/dubbo/config
Create_ds/dubbo-async-processor/src/main/java/com/alibaba/dubbo/config/async/AsyncSignal.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,310
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/util/DBHandler.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,311
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/util/APICall.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,312
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/util/TimeConvert.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,313
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/util/Constants.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,314
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/DataSet.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,315
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/User.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,316
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/BugReport.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,317
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/ConditionalSampling2Var.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,318
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/ScatterHistogramTwoVar.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,319
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/ClimateService.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,320
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/ServiceLog.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,321
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/ConditionalSampling.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,322
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/TwoDVarTimeSeries.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,323
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/TwoDVarMap.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,324
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/TwoDVarZonalMean.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,325
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/DiffPlotTwoTimeAveragedVar.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,326
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/CorrelationMap.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,327
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/ThreeDVarZonalMean.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,328
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/ThreeDVarAvgVertical4Profile.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,329
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/RegridAndDownload.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,330
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/models/metadata/ThreeDVar2DSlice.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,331
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/controllers/AnalyticsController.java
package controllers; import play.data.Form; import play.mvc.Controller; import play.mvc.Result; import util.Constants; import util.APICall; import util.APICall.ResponseType; import views.html.climate.*; import com.fasterxml.jackson.databind.JsonNode; public class AnalyticsController extends Controller{ public sta...
9,332
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/controllers/ClimateServiceController.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,333
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/controllers/Application.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,334
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/controllers/DatasetController.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,335
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/controllers/AboutusController.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,336
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/controllers/HttpHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,337
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/controllers/AccountController.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,338
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/app/controllers/BugReportController.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,339
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/test/ApplicationTest.java
import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.fasterxml.jackson.databind.JsonNode; import org.junit.*; import play.mvc.*; import play.test.*; import play.data.DynamicForm; import play.data.validation.ValidationError; import play.data.validation.Constrain...
9,340
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/test/IntegrationTest.java
import org.junit.*; import play.mvc.*; import play.test.*; import play.libs.F.*; import static play.test.Helpers.*; import static org.fest.assertions.Assertions.*; import static org.fluentlenium.core.filter.FilterConstructor.*; public class IntegrationTest { /** * add your integration test here * in ...
9,341
0
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/target/scala-2.10/src_managed/main
Create_ds/incubator-retired-cmda/ApacheCMDA-Frontend/target/scala-2.10/src_managed/main/controllers/routes.java
// @SOURCE:/Users/mingqi/git/ApacheCMDA-Frontend/conf/routes // @HASH:eca2c99108c803652b52ba9b9ce3e1df5ff3a4fc // @DATE:Fri Sep 04 16:33:43 PDT 2015 package controllers; public class routes { public static final controllers.ReverseAssets Assets = new controllers.ReverseAssets(); public static final controllers.Revers...
9,342
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/Global.java
import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; import org.springframework.orm.hibernate3.Hiber...
9,343
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/util/Matrix.java
package util; public class Matrix { private final int M; // number of rows private final int N; // number of columns private final int[][] data; // M-by-N array // create M-by-N matrix of 0's public Matrix(int M, int N) { this.M = M; this.N = N; data = new int[M][N]; } // create matrix based on 2d array...
9,344
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/util/HashMapUtil.java
package util; import java.util.HashMap; import java.util.Map; public class HashMapUtil { public static Map<String, Object> map(String key1, Object value1, String key2, Object value2) { Map<String, Object> result = new HashMap<String, Object>(2); result.put(key1, value1); result.put(key2, value2); return...
9,345
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/util/Common.java
package util; import java.text.SimpleDateFormat; public class Common { public static final String DATE_PATTERN = "yyyy-MM-dd'T'HH:mm:ssz"; public static final String DATASET_DATE_PATTERN = "yyyyMM"; }
9,346
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/util/Constants.java
package util; public class Constants { public static final String htmlHead = "<head>\r\n <meta charset=\"utf-8\">\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\r\n <!-- The above 3 meta tags *must* come first in...
9,347
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/DatasetRepository.java
package models; import java.util.Date; import java.util.List; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface DatasetRepository extends CrudRepository<Dataset...
9,348
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/BookPublication.java
package models; import javax.persistence.Entity; import javax.persistence.PrimaryKeyJoinColumn; @Entity @PrimaryKeyJoinColumn(name = "bookPublicationId", referencedColumnName = "id")//referencedColumnName public class BookPublication extends Publication { private String bookName; //private String publisherName; pr...
9,349
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/Dataset.java
package models; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; i...
9,350
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceAndDataset.java
package models; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; @Entity public class ServiceAndDataset { @Id @GeneratedValue(strategy = Generation...
9,351
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/DatasetAndUserRepository.java
package models; import java.util.List; import org.springframework.data.domain.Sort; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface DatasetAndUserRepository extends CrudRepository<DatasetAndUser, Long> { List<...
9,352
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ClimateServiceRepository.java
package models; import java.util.Date; import java.util.List; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface ClimateServiceRepository extends CrudRepository<...
9,353
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/JournalPublication.java
package models; import javax.persistence.Entity; import javax.persistence.PrimaryKeyJoinColumn; @Entity @PrimaryKeyJoinColumn(name = "journalPublicationId", referencedColumnName = "id")//referencedColumnName public class JournalPublication extends Publication { private String journalName; private int volume; priva...
9,354
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ClimateService.java
package models; import java.util.Date; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence...
9,355
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceAndUser.java
package models; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; @Entity public class ServiceAndUser { @Id @GeneratedValue(strategy = GenerationTyp...
9,356
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/Publication.java
package models; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Inheritance; import javax.persistence.InheritanceType; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; @Enti...
9,357
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/Parameter.java
package models; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; @Entity public class Parameter { @Id @GeneratedValue(strategy = GenerationType.AUTO...
9,358
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/DatasetEntry.java
package models; import javax.persistence.*; import java.util.Date; @Entity public class DatasetEntry { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; private String versionNo; @Temporal(TemporalType.TIMESTAMP) private Date registerTimeStamp; private String registerN...
9,359
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/DatasetLogRepository.java
package models; import java.util.Date; import java.util.List; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface DatasetLogRepository extends CrudRepository<DatasetLog, Long> { List<DatasetLog> findByServiceEx...
9,360
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceConfigurationRepository.java
package models; import java.util.List; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface ServiceConfigurationRepository extends CrudRepository<ServiceConfiguration, Long> { List<ServiceConfiguration> findAllByUser...
9,361
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceAndDatasetRepository.java
package models; import java.util.List; import org.springframework.data.domain.Sort; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface ServiceAndDatasetRepository extends CrudRepository<ServiceAndDataset, Long> { ...
9,362
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ConferencePublicationRepository.java
package models; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface ConferencePublicationRepository extends CrudRepository<ConferencePublication, Long> { }
9,363
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/DatasetAndUser.java
package models; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; @Entity public class DatasetAndUser { @Id @GeneratedValue(strategy = GenerationTyp...
9,364
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceExecutionLogRepository.java
package models; import java.util.Date; import java.util.List; import java.util.Set; import org.springframework.data.repository.CrudRepository; import com.google.gson.JsonElement; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface ServiceExecutionLogRepository extends CrudR...
9,365
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceConfiguration.java
package models; import java.util.Date; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.OneToMany; @...
9,366
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceExecutionLog.java
package models; import java.util.Date; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence...
9,367
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceConfigurationItemRepository.java
package models; import java.util.List; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface ServiceConfigurationItemRepository extends CrudRepository<ServiceConfigurationItem, Long> { List<ServiceConfigurationItem>...
9,368
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/User.java
package models; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class User { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; private String userName; private String password; priv...
9,369
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceEntryRepository.java
package models; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.Repository; import javax.inject.Named; import javax.inject.Singleton; import java.u...
9,370
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ParameterRepository.java
package models; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; import java.util.List; @Named @Singleton public interface ParameterRepository extends CrudRepository<Parameter, Long> { List<Parameter> findByName(String name); Parameter findByNameA...
9,371
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/InstrumentRepository.java
package models; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface InstrumentRepository extends CrudRepository<Instrument, Long> { }
9,372
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceAndUserRepository.java
package models; import java.util.List; import org.springframework.data.domain.Sort; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface ServiceAndUserRepository extends CrudRepository<ServiceAndUser, Long> { List<S...
9,373
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/BookChapterPublicationRepository.java
package models; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface BookChapterPublicationRepository extends CrudRepository<BookChapterPublication, Long> { }
9,374
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/BookChapterPublication.java
package models; import javax.persistence.Entity; import javax.persistence.PrimaryKeyJoinColumn; @Entity @PrimaryKeyJoinColumn(name = "bookChapterPublicationId", referencedColumnName = "id")//referencedColumnName public class BookChapterPublication extends Publication { private String bookName; private String edito...
9,375
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceEntry.java
package models; import javax.persistence.*; import java.util.Date; /** * Created by xing on 4/15/15. */ @Entity public class ServiceEntry { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @ManyToOne(fetch = FetchType.EAGER, cascade = {CascadeType.MERGE}) @JoinColumn(name = "...
9,376
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ConferencePublication.java
package models; import javax.persistence.Entity; import javax.persistence.PrimaryKeyJoinColumn; @Entity @PrimaryKeyJoinColumn(name = "conferencePublicationId", referencedColumnName = "id") public class ConferencePublication extends Publication { private String name; private String location; private String time; ...
9,377
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/JournalPublicationRepository.java
package models; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface JournalPublicationRepository extends CrudRepository<JournalPublication, Long> { }
9,378
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/DatasetLog.java
package models; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Temporal; import javax.persistence.Te...
9,379
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/UserRepository.java
package models; import java.util.List; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; /** * Provides CRUD functionality for accessing people. Spring Data auto-magically takes care of many standard * operations here. */ @Named @Singleton public...
9,380
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/BugReport.java
package models; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; i...
9,381
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/BookPublicationRepository.java
package models; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface BookPublicationRepository extends CrudRepository<BookPublication, Long> { }
9,382
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/BugReportRepository.java
package models; import java.util.List; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface BugReportRepository extends CrudRepository<BugReport, Long> { List<BugReport> findAllBySolved(int solved); }
9,383
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/ServiceConfigurationItem.java
package models; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; @Entity public class ServiceConfigurationItem ...
9,384
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/DatasetEntryRepository.java
package models; import java.util.List; import javax.inject.Named; import javax.inject.Singleton; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; @Named @Singleton public interface DatasetEntryRepository extends CrudRepository<DatasetEntry, Long> { ...
9,385
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/WorkflowRepository.java
package models; import org.springframework.data.repository.CrudRepository; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public interface WorkflowRepository extends CrudRepository<Workflow, Long> { }
9,386
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/Workflow.java
package models; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; i...
9,387
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/models/Instrument.java
package models; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Instrument { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; private String name; priva...
9,388
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/workflow/Node.java
package workflow; public class Node { private long nid; private String name; private String type; private boolean anim; private double x; private double y; private Fields fields; public long getNid() { return nid; } public void setNid(long nid) { this.nid = nid; } public String getName() { retu...
9,389
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/workflow/FieldIn.java
package workflow; public class FieldIn { private String name; private String value; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } }
9,390
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/workflow/Group.java
package workflow; public class Group { }
9,391
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/workflow/FieldOut.java
package workflow; public class FieldOut { private String name; private String value; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } }
9,392
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/workflow/ServiceWorkFlow.java
package workflow; import java.util.Arrays; public class ServiceWorkFlow { private long uid; private Node[] nodes; private Connection[] connections; private Group[] groups; public long getUid() { return uid; } public void setUid(long uid) { this.uid = uid; } public Node[] getNodes() { return nodes...
9,393
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/workflow/Fields.java
package workflow; public class Fields { private FieldIn[] in; private FieldOut[] out; public FieldIn[] getIn() { return in; } public void setIn(FieldIn[] in) { this.in = in; } public FieldOut[] getOut() { return out; } public void setOut(FieldOut[] out) { this.out = out; } }
9,394
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/workflow/Connection.java
package workflow; public class Connection { private long id; private long from_node; private String from; private long to_node; private String to; public long getId() { return id; } public void setId(long id) { this.id = id; } public long getFrom_node() { return from_node; } public void setFr...
9,395
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/workflow/VisTrailJson.java
package workflow; import java.util.ArrayList; import java.util.List; import models.ServiceExecutionLog; import com.google.gson.Gson; public class VisTrailJson { public static String getVisTrailJson(List<ServiceExecutionLog> list) { ServiceWorkFlow serviceWorkFlow = new ServiceWorkFlow(); serviceWorkFlo...
9,396
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/controllers/AnalyticsController.java
package controllers; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import org.springframework.data.domain.Sort; import models.ClimateService; import models.ClimateServiceReposit...
9,397
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/controllers/ClimateServiceController.java
package controllers; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import models.*; import util.Common; i...
9,398
0
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app
Create_ds/incubator-retired-cmda/ApacheCMDA_Backend_1.0/app/controllers/DatasetController.java
package controllers; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import javax.persistence.PersistenceException; import com.fasterxml.jackson.databind.JsonNode; import com.google.gson.Gson; import mode...
9,399