Creating Parthenos Entities Mapping to gCube Resources

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/parthenos-entities@141932 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-01-31 09:06:35 +00:00
parent c93be5a0b0
commit 1c846d22f1
41 changed files with 129 additions and 188 deletions

View File

@ -1,8 +0,0 @@
package org.gcube.informationsystem.parthenos.model.entity;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface E65_Creation {
}

View File

@ -1,9 +0,0 @@
package org.gcube.informationsystem.parthenos.model.entity;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface E70_Thing {
}

View File

@ -1,9 +0,0 @@
package org.gcube.informationsystem.parthenos.model.entity;
/**
* @author Luca Frosini (ISTI - CNR)
* TODO check if can be removed
*/
public interface E7_Activity {
}

View File

@ -1,11 +0,0 @@
package org.gcube.informationsystem.parthenos.model.entity;
import org.gcube.informationsystem.parthenos.model.entity.resource.D1_Digital_Object;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE19_Persistent_Digital_Object extends D1_Digital_Object {
}

View File

@ -1,11 +0,0 @@
package org.gcube.informationsystem.parthenos.model.entity;
import org.gcube.informationsystem.parthenos.model.entity.resource.D1_Digital_Object;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE20_Volatile_Digital_Object extends D1_Digital_Object {
}

View File

@ -1,11 +0,0 @@
package org.gcube.informationsystem.parthenos.model.entity;
import org.gcube.informationsystem.parthenos.model.entity.resource.E29_Design_or_Procedure;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE28_Curation_Plan extends E29_Design_or_Procedure {
}

View File

@ -1,9 +0,0 @@
package org.gcube.informationsystem.parthenos.model.entity;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE2_Hosting_Service extends PE1_Service {
}

View File

@ -1,82 +0,0 @@
package org.gcube.informationsystem.parthenos.model.entity;
import java.util.Collection;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE32_Curated_Thing extends E70_Thing {
/* ***************************************************
* Property http://www.ics.forth.gr/isl/CRMpe/PP32i_was_curated_by
*/
/**
* Gets all property values for the PP32i_was_curated_by property.<p>
*
* @returns a collection of values for the PP32i_was_curated_by property.
*/
Collection<? extends PE3_Curating_Service> getPP32i_was_curated_by();
/**
* Checks if the class has a PP32i_was_curated_by property value.<p>
*
* @return true if there is a PP32i_was_curated_by property value.
*/
boolean hasPP32i_was_curated_by();
/**
* Adds a PP32i_was_curated_by property value.<p>
*
* @param newPP32i_was_curated_by the PP32i_was_curated_by property value to be added
*/
void addPP32i_was_curated_by(PE3_Curating_Service newPP32i_was_curated_by);
/**
* Removes a PP32i_was_curated_by property value.<p>
*
* @param oldPP32i_was_curated_by the PP32i_was_curated_by property value to be removed.
*/
void removePP32i_was_curated_by(PE3_Curating_Service oldPP32i_was_curated_by);
/* ***************************************************
* Property http://www.ics.forth.gr/isl/CRMpe/PP4i_is_object_hosted_by
*/
/**
* Gets all property values for the PP4i_is_object_hosted_by property.<p>
*
* @returns a collection of values for the PP4i_is_object_hosted_by property.
*/
Collection<? extends PE2_Hosting_Service> getPP4i_is_object_hosted_by();
/**
* Checks if the class has a PP4i_is_object_hosted_by property value.<p>
*
* @return true if there is a PP4i_is_object_hosted_by property value.
*/
boolean hasPP4i_is_object_hosted_by();
/**
* Adds a PP4i_is_object_hosted_by property value.<p>
*
* @param newPP4i_is_object_hosted_by the PP4i_is_object_hosted_by property value to be added
*/
void addPP4i_is_object_hosted_by(PE2_Hosting_Service newPP4i_is_object_hosted_by);
/**
* Removes a PP4i_is_object_hosted_by property value.<p>
*
* @param oldPP4i_is_object_hosted_by the PP4i_is_object_hosted_by property value to be removed.
*/
void removePP4i_is_object_hosted_by(PE2_Hosting_Service oldPP4i_is_object_hosted_by);
/* ***************************************************
* Common interfaces
*/
}

View File

@ -1,9 +0,0 @@
package org.gcube.informationsystem.parthenos.model.entity;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE8_E_Service extends PE1_Service {
}

View File

@ -4,6 +4,7 @@ import org.gcube.informationsystem.model.entity.Resource;
/**
* @author Luca Frosini (ISTI - CNR)
* TODO check if can be removed
*/
public interface E29_Design_or_Procedure extends Resource {

View File

@ -2,7 +2,6 @@ package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.model.entity.resource.Actor;
/**
* @author Luca Frosini (ISTI - CNR)
*/

View File

@ -1,4 +1,4 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.model.entity.resource.LegalBody;

View File

@ -0,0 +1,11 @@
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.model.entity.Resource;
/**
* @author Luca Frosini (ISTI - CNR)
* TODO check if can be removed
*/
public interface E65_Creation extends Resource {
}

View File

@ -0,0 +1,12 @@
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.model.entity.Resource;
/**
* @author Luca Frosini (ISTI - CNR)
* TODO check if can be removed
*/
public interface E70_Thing extends Resource {
}

View File

@ -0,0 +1,11 @@
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.model.entity.Resource;
/**
* @author Luca Frosini (ISTI - CNR)
* TODO check if can be removed
*/
public interface E7_Activity extends Resource {
}

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**

View File

@ -1,13 +1,10 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
import java.util.Collection;
import javax.xml.datatype.XMLGregorianCalendar;
import org.gcube.informationsystem.parthenos.model.entity.facet.PE29_Access_Point;
import org.gcube.informationsystem.parthenos.model.entity.resource.D14_Software;
import org.gcube.informationsystem.parthenos.model.entity.resource.D1_Digital_Object;
import org.gcube.informationsystem.parthenos.model.entity.resource.E39_Actor;
/**
* @author Luca Frosini (ISTI - CNR)

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**
* @author Luca Frosini (ISTI - CNR)

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**

View File

@ -0,0 +1,10 @@
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE19_Persistent_Digital_Object extends D1_Digital_Object {
}

View File

@ -1,4 +1,4 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.model.entity.resource.Service;

View File

@ -0,0 +1,10 @@
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE20_Volatile_Digital_Object extends D1_Digital_Object {
}

View File

@ -1,6 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.parthenos.model.entity.resource.D14_Software;
/**

View File

@ -1,6 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.parthenos.model.entity.resource.PE18_Dataset;
/**

View File

@ -1,6 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.parthenos.model.entity.resource.D14_Software;
/**
* @author Luca Frosini (ISTI - CNR)

View File

@ -1,6 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.parthenos.model.entity.resource.PE18_Dataset;
/**

View File

@ -1,4 +1,4 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**

View File

@ -0,0 +1,10 @@
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE28_Curation_Plan extends E29_Design_or_Procedure {
}

View File

@ -0,0 +1,11 @@
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.model.entity.resource.HostingNode;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE2_Hosting_Service extends PE1_Service, HostingNode {
}

View File

@ -0,0 +1,9 @@
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE32_Curated_Thing extends E70_Thing {
}

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**
* @author Luca Frosini (ISTI - CNR)

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**
* @author Luca Frosini (ISTI - CNR)

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.entity;
package org.gcube.informationsystem.parthenos.model.entity.resource;
/**

View File

@ -0,0 +1,11 @@
package org.gcube.informationsystem.parthenos.model.entity.resource;
import org.gcube.informationsystem.model.entity.resource.EService;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE8_E_Service extends PE1_Service, EService {
}

View File

@ -1,7 +1,7 @@
package org.gcube.informationsystem.parthenos.model.relation;
import org.gcube.informationsystem.parthenos.model.entity.PE8_E_Service;
import org.gcube.informationsystem.parthenos.model.entity.facet.PE29_Access_Point;
import org.gcube.informationsystem.parthenos.model.entity.resource.PE8_E_Service;
import org.gcube.informationsystem.parthenos.model.relation.consistsof.P1_is_identified_by;
/**