Creating Parthenos Entities Mapping to gCube Resources

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/parthenos-entities@141931 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-01-31 08:56:01 +00:00
parent 85e72277b1
commit c93be5a0b0
27 changed files with 108 additions and 63 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,6 +4,11 @@ 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,8 +0,0 @@
package org.gcube.informationsystem.parthenos.model.entity;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PE18_Dataset extends D1_Digital_Object {
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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 D1_Digital_Object extends Resource {
}

View File

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

View File

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

View File

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

View File

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

View File

@ -1,9 +1,13 @@
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.relation.consistsof.P1_is_identified_by;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP28_has_designated_access_point extends P1_is_identified_by {
public interface PP28_has_designated_access_point<Out extends PE8_E_Service, In extends PE29_Access_Point>
extends P1_is_identified_by<Out, In> {
}

View File

@ -0,0 +1,13 @@
package org.gcube.informationsystem.parthenos.model.relation.consistsof;
import org.gcube.informationsystem.model.entity.Facet;
import org.gcube.informationsystem.model.entity.Resource;
import org.gcube.informationsystem.model.relation.IsIdentifiedBy;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface P1_is_identified_by<Out extends Resource, In extends Facet>
extends IsIdentifiedBy<Out, In> {
}