rename to OpenCDMP
This commit is contained in:
parent
5e75d61e38
commit
18510f380c
6
pom.xml
6
pom.xml
|
@ -3,13 +3,13 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>gr.cite.opendmp</groupId>
|
||||
<groupId>org.opencdmp</groupId>
|
||||
<artifactId>common-models</artifactId>
|
||||
<version>${revision}</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>OpenDMP Common Models</name>
|
||||
<description>OpenDMP Common Models</description>
|
||||
<name>OpenCDMP Common Models</name>
|
||||
<description>OpenCDMP Common Models</description>
|
||||
<url>https://code-repo.d4science.org/MaDgiK-CITE/common-models</url>
|
||||
<licenses>
|
||||
<license>
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate.fielddata;
|
||||
|
||||
public class LabelDataModel extends BaseFieldDataModel {
|
||||
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.enums;
|
||||
package org.opencdmp.commonmodels.enums;
|
||||
|
||||
import java.util.Map;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models;
|
||||
package org.opencdmp.commonmodels.models;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package eu.eudat.commonmodels.models;
|
||||
package org.opencdmp.commonmodels.models;
|
||||
|
||||
import eu.eudat.commonmodels.enums.DmpUserRole;
|
||||
import org.opencdmp.commonmodels.enums.DmpUserRole;
|
||||
|
||||
public class DmpUserModel {
|
||||
private UserModel user;
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models;
|
||||
package org.opencdmp.commonmodels.models;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models;
|
||||
package org.opencdmp.commonmodels.models;
|
||||
|
||||
public class FileEnvelopeModel {
|
||||
private String filename;
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models;
|
||||
package org.opencdmp.commonmodels.models;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package eu.eudat.commonmodels.models;
|
||||
package org.opencdmp.commonmodels.models;
|
||||
|
||||
import eu.eudat.commonmodels.enums.ContactInfoType;
|
||||
import org.opencdmp.commonmodels.enums.ContactInfoType;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.UUID;
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models;
|
||||
package org.opencdmp.commonmodels.models;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
|
@ -1,9 +1,9 @@
|
|||
package eu.eudat.commonmodels.models.description;
|
||||
package org.opencdmp.commonmodels.models.description;
|
||||
|
||||
|
||||
import eu.eudat.commonmodels.enums.DescriptionStatus;
|
||||
import eu.eudat.commonmodels.models.dmp.DmpModel;
|
||||
import eu.eudat.commonmodels.models.descriptiotemplate.DescriptionTemplateModel;
|
||||
import org.opencdmp.commonmodels.enums.DescriptionStatus;
|
||||
import org.opencdmp.commonmodels.models.dmp.DmpModel;
|
||||
import org.opencdmp.commonmodels.models.descriptiotemplate.DescriptionTemplateModel;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.description;
|
||||
package org.opencdmp.commonmodels.models.description;
|
||||
|
||||
public class ExternalIdentifierModel {
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package eu.eudat.commonmodels.models.description;
|
||||
package org.opencdmp.commonmodels.models.description;
|
||||
|
||||
import eu.eudat.commonmodels.models.FileEnvelopeModel;
|
||||
import eu.eudat.commonmodels.models.reference.ReferenceModel;
|
||||
import org.opencdmp.commonmodels.models.FileEnvelopeModel;
|
||||
import org.opencdmp.commonmodels.models.reference.ReferenceModel;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.description;
|
||||
package org.opencdmp.commonmodels.models.description;
|
||||
|
||||
import java.util.Map;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.description;
|
||||
package org.opencdmp.commonmodels.models.description;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.description;
|
||||
package org.opencdmp.commonmodels.models.description;
|
||||
|
||||
import java.util.Map;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.description;
|
||||
package org.opencdmp.commonmodels.models.description;
|
||||
|
||||
public class VisibilityStateModel {
|
||||
private String fieldId;
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate;
|
||||
|
||||
|
||||
import eu.eudat.commonmodels.models.DescriptionTemplateTypeModel;
|
||||
import org.opencdmp.commonmodels.models.DescriptionTemplateTypeModel;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate;
|
||||
|
||||
import eu.eudat.commonmodels.enums.FieldValidationType;
|
||||
import eu.eudat.commonmodels.models.descriptiotemplate.fielddata.BaseFieldDataModel;
|
||||
import org.opencdmp.commonmodels.enums.FieldValidationType;
|
||||
import org.opencdmp.commonmodels.models.descriptiotemplate.fielddata.BaseFieldDataModel;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate;
|
||||
|
||||
public class MultiplicityModel {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate.fielddata;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate.fielddata;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonSubTypes;
|
||||
import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||
import eu.eudat.commonmodels.enums.FieldType;
|
||||
import org.opencdmp.commonmodels.enums.FieldType;
|
||||
|
||||
@JsonTypeInfo(
|
||||
use = JsonTypeInfo.Id.NAME,
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate.fielddata;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate.fielddata;
|
||||
|
||||
public class LabelAndMultiplicityDataModel extends BaseFieldDataModel {
|
||||
private Boolean multipleSelect;
|
|
@ -0,0 +1,5 @@
|
|||
package org.opencdmp.commonmodels.models.descriptiotemplate.fielddata;
|
||||
|
||||
public class LabelDataModel extends BaseFieldDataModel {
|
||||
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate.fielddata;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate.fielddata;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate.fielddata;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate.fielddata;
|
||||
|
||||
import eu.eudat.commonmodels.models.reference.ReferenceTypeModel;
|
||||
import org.opencdmp.commonmodels.models.reference.ReferenceTypeModel;
|
||||
|
||||
public class ReferenceTypeDataModel extends BaseFieldDataModel {
|
||||
private Boolean multipleSelect;
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate.fielddata;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate.fielddata;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.descriptiotemplate.fielddata;
|
||||
package org.opencdmp.commonmodels.models.descriptiotemplate.fielddata;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.dmp;
|
||||
package org.opencdmp.commonmodels.models.dmp;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package eu.eudat.commonmodels.models.dmp;
|
||||
package org.opencdmp.commonmodels.models.dmp;
|
||||
|
||||
import eu.eudat.commonmodels.models.UserModel;
|
||||
import org.opencdmp.commonmodels.models.UserModel;
|
||||
|
||||
public class DmpContactModel {
|
||||
|
|
@ -1,15 +1,14 @@
|
|||
package eu.eudat.commonmodels.models.dmp;
|
||||
package org.opencdmp.commonmodels.models.dmp;
|
||||
|
||||
import eu.eudat.commonmodels.enums.DmpAccessType;
|
||||
import eu.eudat.commonmodels.enums.DmpStatus;
|
||||
import eu.eudat.commonmodels.models.DmpUserModel;
|
||||
import eu.eudat.commonmodels.models.EntityDoiModel;
|
||||
import eu.eudat.commonmodels.models.FileEnvelopeModel;
|
||||
import eu.eudat.commonmodels.models.UserModel;
|
||||
import eu.eudat.commonmodels.models.description.DescriptionModel;
|
||||
import eu.eudat.commonmodels.models.dmpblueprint.DmpBlueprintModel;
|
||||
import eu.eudat.commonmodels.models.dmpreference.DmpReferenceModel;
|
||||
import eu.eudat.commonmodels.models.reference.ReferenceModel;
|
||||
import org.opencdmp.commonmodels.enums.DmpAccessType;
|
||||
import org.opencdmp.commonmodels.enums.DmpStatus;
|
||||
import org.opencdmp.commonmodels.models.DmpUserModel;
|
||||
import org.opencdmp.commonmodels.models.EntityDoiModel;
|
||||
import org.opencdmp.commonmodels.models.FileEnvelopeModel;
|
||||
import org.opencdmp.commonmodels.models.UserModel;
|
||||
import org.opencdmp.commonmodels.models.description.DescriptionModel;
|
||||
import org.opencdmp.commonmodels.models.dmpblueprint.DmpBlueprintModel;
|
||||
import org.opencdmp.commonmodels.models.dmpreference.DmpReferenceModel;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.UUID;
|
|
@ -1,9 +1,6 @@
|
|||
package eu.eudat.commonmodels.models.dmp;
|
||||
|
||||
import eu.eudat.commonmodels.models.UserModel;
|
||||
package org.opencdmp.commonmodels.models.dmp;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
public class DmpPropertiesModel {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.dmpblueprint;
|
||||
package org.opencdmp.commonmodels.models.dmpblueprint;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package eu.eudat.commonmodels.models.dmpblueprint;
|
||||
package org.opencdmp.commonmodels.models.dmpblueprint;
|
||||
|
||||
import eu.eudat.commonmodels.enums.DmpBlueprintStatus;
|
||||
import org.opencdmp.commonmodels.enums.DmpBlueprintStatus;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package eu.eudat.commonmodels.models.dmpblueprint;
|
||||
package org.opencdmp.commonmodels.models.dmpblueprint;
|
||||
|
||||
import eu.eudat.commonmodels.enums.DmpBlueprintExtraFieldDataType;
|
||||
import org.opencdmp.commonmodels.enums.DmpBlueprintExtraFieldDataType;
|
||||
|
||||
public class ExtraFieldModel extends FieldModel {
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package eu.eudat.commonmodels.models.dmpblueprint;
|
||||
package org.opencdmp.commonmodels.models.dmpblueprint;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonSubTypes;
|
||||
import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||
import eu.eudat.commonmodels.enums.DmpBlueprintFieldCategory;
|
||||
import org.opencdmp.commonmodels.enums.DmpBlueprintFieldCategory;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
|
@ -1,8 +1,6 @@
|
|||
package eu.eudat.commonmodels.models.dmpblueprint;
|
||||
package org.opencdmp.commonmodels.models.dmpblueprint;
|
||||
|
||||
import eu.eudat.commonmodels.models.reference.ReferenceTypeModel;
|
||||
|
||||
import java.util.UUID;
|
||||
import org.opencdmp.commonmodels.models.reference.ReferenceTypeModel;
|
||||
|
||||
public class ReferenceTypeFieldModel extends FieldModel {
|
||||
|
|
@ -1,6 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.dmpblueprint;
|
||||
|
||||
import eu.eudat.commonmodels.models.descriptiotemplate.DescriptionTemplateModel;
|
||||
package org.opencdmp.commonmodels.models.dmpblueprint;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
|
@ -1,6 +1,6 @@
|
|||
package eu.eudat.commonmodels.models.dmpblueprint;
|
||||
package org.opencdmp.commonmodels.models.dmpblueprint;
|
||||
|
||||
import eu.eudat.commonmodels.enums.DmpBlueprintSystemFieldType;
|
||||
import org.opencdmp.commonmodels.enums.DmpBlueprintSystemFieldType;
|
||||
|
||||
public class SystemFieldModel extends FieldModel {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.dmpreference;
|
||||
package org.opencdmp.commonmodels.models.dmpreference;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package eu.eudat.commonmodels.models.dmpreference;
|
||||
package org.opencdmp.commonmodels.models.dmpreference;
|
||||
|
||||
import eu.eudat.commonmodels.models.reference.ReferenceModel;
|
||||
import org.opencdmp.commonmodels.models.reference.ReferenceModel;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.reference;
|
||||
package org.opencdmp.commonmodels.models.reference;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.reference;
|
||||
package org.opencdmp.commonmodels.models.reference;
|
||||
|
||||
public class ReferenceFieldModel {
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package eu.eudat.commonmodels.models.reference;
|
||||
package org.opencdmp.commonmodels.models.reference;
|
||||
|
||||
import eu.eudat.commonmodels.enums.ReferenceSourceType;
|
||||
import org.opencdmp.commonmodels.enums.ReferenceSourceType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.eudat.commonmodels.models.reference;
|
||||
package org.opencdmp.commonmodels.models.reference;
|
||||
|
||||
import java.util.UUID;
|
||||
|
Loading…
Reference in New Issue