-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Deltares-research/stac-dms …
…into cloud-deployment
- Loading branch information
Showing
31 changed files
with
1,059 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
set PATH=%PATH%;%CD%/jdk17/bin | ||
set JAVA_HOME=%CD%/jdk17 | ||
java -jar migrate.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.example</groupId> | ||
<artifactId>migratieFDF</artifactId> | ||
|
||
<version>1.0-SNAPSHOT</version> | ||
|
||
<properties> | ||
<maven.compiler.source>17</maven.compiler.source> | ||
<maven.compiler.target>17</maven.compiler.target> | ||
</properties> | ||
|
||
<name>Archetype - migratieFDF</name> | ||
|
||
<url>http://maven.apache.org</url> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<version>2.15.3</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
public class Assets { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
public class Coordinates { | ||
private double[][] values; | ||
|
||
public Coordinates(double[][] values) { | ||
this.values = values; | ||
} | ||
|
||
public double[][] getValues() { | ||
return values; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
import java.util.ArrayList; | ||
|
||
public class DataSet { | ||
private ArrayList<String> subjects = new ArrayList<>();//done | ||
private String title;//done | ||
private String creator; | ||
private String description;//done | ||
private String publisher; | ||
private String date; | ||
private String modified; | ||
private String type; | ||
private String format; | ||
private String source; | ||
private String language; | ||
private String rights; | ||
private String coverage;//done | ||
|
||
public ArrayList<String> getSubjects() { | ||
return subjects; | ||
} | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
|
||
public String getCreator() { | ||
return creator; | ||
} | ||
|
||
public void setSubjects(ArrayList<String> subjects) { | ||
this.subjects = subjects; | ||
} | ||
|
||
public String getModified() { | ||
return modified; | ||
} | ||
|
||
public void setModified(String modified) { | ||
this.modified = modified; | ||
} | ||
|
||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
public String getPublisher() { | ||
return publisher; | ||
} | ||
|
||
public String getDate() { | ||
return date; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
public String getFormat() { | ||
return format; | ||
} | ||
|
||
public String getSource() { | ||
return source; | ||
} | ||
|
||
public String getLanguage() { | ||
return language; | ||
} | ||
|
||
public String getRights() { | ||
return rights; | ||
} | ||
|
||
public String getCoverage() { | ||
return coverage; | ||
} | ||
|
||
public void addSubject(String subject) { | ||
subjects.add(subject); | ||
} | ||
public void setTitle(String title){ | ||
this.title = title; | ||
} | ||
public void setCreator(String creator){ | ||
this.creator = creator; | ||
} | ||
public void setDescription(String description){ | ||
this.description = description; | ||
} | ||
public void setPublisher(String publisher){ | ||
this.publisher = publisher; | ||
} | ||
public void setDate(String date){ | ||
this.date = date; | ||
} | ||
public void setType(String type){ | ||
this.type = type; | ||
} | ||
public void setFormat(String format){ | ||
this.format = format; | ||
} | ||
public void setSource(String source){ | ||
this.source = source; | ||
} | ||
public void setLanguage(String language){ | ||
this.language = language; | ||
} | ||
public void setRights(String rights){ | ||
this.rights = rights; | ||
} | ||
public void setCoverage(String coverage){ | ||
this.coverage = coverage; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class DataSetCollector { | ||
private ArrayList<DataSet> dataSets = new ArrayList<>(); | ||
private DataSet dataSet; | ||
|
||
public ArrayList<DataSet> getDataSets() { | ||
return dataSets; | ||
} | ||
|
||
public DataSet createNewDataSet() { | ||
if (dataSet != null) { | ||
dataSets.add(dataSet); | ||
} | ||
dataSet = new DataSet(); | ||
return dataSet; | ||
} | ||
|
||
public void addSubject(String subject) { | ||
dataSet.addSubject(subject); | ||
} | ||
|
||
public void setTitle(String title) { | ||
dataSet.setTitle(title); | ||
} | ||
|
||
public void setCreator(String creator) { | ||
dataSet.setCreator(creator); | ||
} | ||
|
||
public void setDescription(String description) { | ||
dataSet.setDescription(description); | ||
} | ||
|
||
public void setPublisher(String publisher) { | ||
dataSet.setPublisher(publisher); | ||
} | ||
|
||
public void setDate(String date) { | ||
dataSet.setDate(date); | ||
} | ||
public void setModified(String date){ | ||
dataSet.setModified(date); | ||
} | ||
|
||
public void setType(String type) { | ||
dataSet.setType(type); | ||
} | ||
|
||
public void setFormat(String format) { | ||
dataSet.setFormat(format); | ||
} | ||
|
||
public void setSource(String source) { | ||
dataSet.setSource(source); | ||
} | ||
|
||
public void setLanguage(String language) { | ||
dataSet.setLanguage(language); | ||
} | ||
|
||
public void setRights(String rights) { | ||
dataSet.setRights(rights); | ||
} | ||
|
||
public void setCoverage(String coverage) { | ||
dataSet.setCoverage(coverage); | ||
} | ||
} |
Oops, something went wrong.