Skip to content

Commit

Permalink
restructured package hierarchie in order to facilitate re-use of edm …
Browse files Browse the repository at this point in the history
…code
  • Loading branch information
aquast committed Feb 15, 2024
1 parent aca8ca6 commit 20b63cb
Show file tree
Hide file tree
Showing 46 changed files with 181 additions and 181 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.nrw.hbz.genericSipLoader.edm.impl;
package de.nrw.hbz.edm.impl;

import java.util.ArrayList;
import java.util.Hashtable;
Expand All @@ -9,12 +9,12 @@
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;

import de.nrw.hbz.genericSipLoader.edm.model.Aggregation;
import de.nrw.hbz.genericSipLoader.edm.model.Rdf;
import de.nrw.hbz.genericSipLoader.edm.model.WebResource;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeResourceAttribute;
import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeRdf;
import de.nrw.hbz.genericSipLoader.util.TimeStampProvider;
import de.nrw.hbz.edm.model.Aggregation;
import de.nrw.hbz.edm.model.Rdf;
import de.nrw.hbz.edm.model.WebResource;
import de.nrw.hbz.edm.model.deserialize.DeserializeResourceAttribute;
import de.nrw.hbz.edm.model.serialize.SerializeRdf;
import de.nrw.hbz.edm.util.TimeStampProvider;

/**
* A Class to replace Element values and attributes within the EDM Aggregation Core Element.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.impl;
package de.nrw.hbz.edm.impl;

import java.util.ArrayList;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import de.nrw.hbz.genericSipLoader.edm.model.Aggregation;
import de.nrw.hbz.genericSipLoader.edm.model.OaiPmh;
import de.nrw.hbz.genericSipLoader.edm.model.OaiRecord;
import de.nrw.hbz.genericSipLoader.edm.model.ProvidedCHO;
import de.nrw.hbz.genericSipLoader.edm.model.Rdf;
import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeAggregation;
import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeOaiPmh;
import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeProvidedCHO;
import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeResourceAttribute;
import de.nrw.hbz.edm.model.Aggregation;
import de.nrw.hbz.edm.model.OaiPmh;
import de.nrw.hbz.edm.model.OaiRecord;
import de.nrw.hbz.edm.model.ProvidedCHO;
import de.nrw.hbz.edm.model.Rdf;
import de.nrw.hbz.edm.model.serialize.SerializeAggregation;
import de.nrw.hbz.edm.model.serialize.SerializeOaiPmh;
import de.nrw.hbz.edm.model.serialize.SerializeProvidedCHO;
import de.nrw.hbz.edm.model.serialize.SerializeResourceAttribute;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.impl;
package de.nrw.hbz.edm.impl;

import java.io.BufferedInputStream;
import java.io.File;
Expand All @@ -14,8 +14,8 @@
import com.fasterxml.jackson.databind.DatabindException;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;

import de.nrw.hbz.genericSipLoader.edm.model.Rdf;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeRdf;
import de.nrw.hbz.edm.model.Rdf;
import de.nrw.hbz.edm.model.deserialize.DeserializeRdf;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.impl;
package de.nrw.hbz.edm.impl;

import java.io.BufferedInputStream;
import java.io.File;
Expand All @@ -14,8 +14,8 @@
import com.fasterxml.jackson.databind.DatabindException;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;

import de.nrw.hbz.genericSipLoader.edm.model.OaiPmh;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeOaiPmh;
import de.nrw.hbz.edm.model.OaiPmh;
import de.nrw.hbz.edm.model.deserialize.DeserializeOaiPmh;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.impl;
package de.nrw.hbz.edm.impl;

import de.nrw.hbz.genericSipLoader.edm.model.Rdf;
import de.nrw.hbz.edm.model.Rdf;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.impl;
package de.nrw.hbz.edm.impl;


import de.nrw.hbz.genericSipLoader.edm.model.OaiPmh;
import de.nrw.hbz.edm.model.OaiPmh;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.impl;
package de.nrw.hbz.edm.impl;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;

import de.nrw.hbz.genericSipLoader.edm.model.ProvidedCHO;
import de.nrw.hbz.genericSipLoader.edm.model.Qdc;
import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeQdc;
import de.nrw.hbz.edm.model.ProvidedCHO;
import de.nrw.hbz.edm.model.Qdc;
import de.nrw.hbz.edm.model.serialize.SerializeQdc;

/**
* class that provides a Qualified Dublin Core (QDC) representation mapped from EDM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.impl;
package de.nrw.hbz.edm.impl;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;

import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeRdf;
import de.nrw.hbz.genericSipLoader.impl.DipsLoaderImpl;
import de.nrw.hbz.genericSipLoader.edm.model.Rdf;
import de.nrw.hbz.edm.model.serialize.SerializeRdf;
import de.nrw.hbz.edm.model.Rdf;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.impl;
package de.nrw.hbz.edm.impl;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;

import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeOaiPmh;
import de.nrw.hbz.genericSipLoader.edm.model.OaiPmh;
import de.nrw.hbz.edm.model.serialize.SerializeOaiPmh;
import de.nrw.hbz.edm.model.OaiPmh;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeAboutAttribute;
import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeAboutAttribute;
import de.nrw.hbz.edm.model.deserialize.DeserializeAboutAttribute;
import de.nrw.hbz.edm.model.serialize.SerializeAboutAttribute;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeAggregation;
import de.nrw.hbz.edm.model.deserialize.DeserializeAggregation;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeOaiMetadata;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeOaiMetadata;
import de.nrw.hbz.edm.model.deserialize.DeserializeOaiMetadata;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import java.util.ArrayList;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeOaiMethod;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeOaiMethod;
import de.nrw.hbz.edm.model.deserialize.DeserializeOaiMethod;
/**
*
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeOaiPmh;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeOaiPmh;
import de.nrw.hbz.edm.model.deserialize.DeserializeOaiPmh;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeOaiRecord;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeOaiRecord;
import de.nrw.hbz.edm.model.deserialize.DeserializeOaiRecord;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeProvidedCHO;
import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeResourceAttribute;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeProvidedCHO;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeRdf;
import de.nrw.hbz.edm.model.deserialize.DeserializeProvidedCHO;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeQdc;
import de.nrw.hbz.edm.model.deserialize.DeserializeQdc;

@JsonDeserialize(as = DeserializeQdc.class)
// @JsonSerialize(as = SerializeRdf.class)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import java.util.ArrayList;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeRdf;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeRdf;
import de.nrw.hbz.edm.model.deserialize.DeserializeRdf;

@JsonDeserialize(as = DeserializeRdf.class)
// @JsonSerialize(as = SerializeRdf.class)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeResourceAttribute;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeResourceAttribute;
import de.nrw.hbz.edm.model.deserialize.DeserializeResourceAttribute;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.model;
package de.nrw.hbz.edm.model;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeProvidedCHO;
import de.nrw.hbz.genericSipLoader.edm.model.serialize.SerializeResourceAttribute;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeProvidedCHO;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeRdf;
import de.nrw.hbz.genericSipLoader.edm.model.deserialize.DeserializeWebResource;
import de.nrw.hbz.edm.model.deserialize.DeserializeWebResource;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
*
*/
package de.nrw.hbz.genericSipLoader.edm.model.deserialize;
package de.nrw.hbz.edm.model.deserialize;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import de.nrw.hbz.genericSipLoader.edm.model.AboutAttribute;
import de.nrw.hbz.edm.model.AboutAttribute;

/**
*
Expand Down
Loading

0 comments on commit 20b63cb

Please sign in to comment.