Compare commits

...

2 Commits

67 changed files with 509 additions and 24 deletions

View File

@ -1,2 +1,3 @@
/org.eclipse.core.resources.prefs
/org.eclipse.jdt.core.prefs
/org.eclipse.m2e.core.prefs

View File

@ -33,7 +33,7 @@
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>gcube-bom</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.1.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@ -1,9 +1,10 @@
package org.gcube.parthenosentities.model;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.gcube.informationsystem.utils.discovery.RegistrationProvider;
import org.gcube.informationsystem.discovery.RegistrationProvider;
import org.gcube.parthenosentities.model.reference.entity.facet.cidoc.E51_Contact_Point;
import org.gcube.parthenosentities.model.reference.entity.facet.parthenos.E30_Right;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.D1_Digital_Object;
@ -13,10 +14,15 @@ import org.gcube.parthenosentities.model.reference.relation.consistsof.parthenos
import org.gcube.parthenosentities.model.reference.relation.isrelatedto.cidoc.P106_is_composed_of;
import org.gcube.parthenosentities.model.reference.relation.isrelatedto.parthenos.PP1_currently_offers;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class PARTHENOSEntitiesRegistrationProvider implements RegistrationProvider {
public static final String PARTHENOS_ENTITIES_MODEL_NAME = "PARTHENOS Entities";
@Override
public List<Package> getPackagesToRegister() {
public Collection<Package> getPackagesToRegister() {
List<Package> packages = new ArrayList<>();
packages.add(E51_Contact_Point.class.getPackage());
packages.add(E30_Right.class.getPackage());
@ -28,5 +34,10 @@ public class PARTHENOSEntitiesRegistrationProvider implements RegistrationProvid
packages.add(PP1_currently_offers.class.getPackage());
return packages;
}
@Override
public String getModelName() {
return PARTHENOS_ENTITIES_MODEL_NAME;
}
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.facet.cidoc;
import org.gcube.informationsystem.model.reference.entities.Facet;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = E51_Contact_Point.NAME, description = E51_Contact_Point.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E51_Contact_Point extends Facet {
public static final String NAME = "E51_Contact_Point"; // E51_Contact_Point.class.getSimpleName();
}

View File

@ -2,13 +2,20 @@ package org.gcube.parthenosentities.model.reference.entity.facet.parthenos;
import org.gcube.informationsystem.model.reference.entities.Facet;
import org.gcube.informationsystem.types.annotations.ISProperty;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
* @author Alessia Bardi
*/
@TypeMetadata(name = E30_Right.NAME, description = E30_Right.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E30_Right extends Facet {
public static final String NAME = "E30_Right"; // E30_Right.class.getSimpleName();
@ISProperty
public String getRights();

View File

@ -1,13 +1,21 @@
package org.gcube.parthenosentities.model.reference.entity.facet.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.facet.cidoc.E51_Contact_Point;
import org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet;
/**
* @author Luca Frosini (ISTI - CNR)
* @author Luca Frosini (ISTI - CNR)
*
* This class comprises instances of web addresses and network addresses by
* which e-services can be accessed.
*/
@TypeMetadata(name = PE29_Access_Point.NAME, description = "This class comprises instances of web addresses and network addresses by which e-services can be accessed.", version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE29_Access_Point extends E51_Contact_Point, AccessPointFacet {
public static final String NAME = "PE29_Access_Point"; // PE29_Access_Point.class.getSimpleName();
}

View File

@ -2,14 +2,19 @@ package org.gcube.parthenosentities.model.reference.entity.facet.parthenos;
import org.gcube.informationsystem.model.reference.entities.Facet;
import org.gcube.informationsystem.types.annotations.ISProperty;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE_Basic_Info_Facet.NAME, description = PE_Basic_Info_Facet.DESCRIPTION, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE_Basic_Info_Facet extends Facet {
public static final String NAME = "PE_Basic_Info_Facet"; // PE_Basic_Info_Facet.class.getSimpleName();
public static final String DESCRIPTION = "This facet is expected to capture title and description metadata for Partenos Entities";
public static final String VERSION = "1.0.0";
@ISProperty
public String getTitle();

View File

@ -1,6 +1,9 @@
package org.gcube.parthenosentities.model.reference.entity.facet.parthenos;
import org.gcube.informationsystem.types.annotations.ISProperty;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.resourcemanagement.model.reference.entities.facets.ContactFacet;
import org.gcube.resourcemanagement.model.reference.entities.facets.ContactReferenceFacet;
@ -9,10 +12,12 @@ import org.gcube.resourcemanagement.model.reference.entities.facets.ContactRefer
* @author Alessia Bardi (ISTI - CNR)
*
*/
@TypeMetadata(name = PE_Contact_Reference_Facet.NAME, description = PE_Contact_Reference_Facet.DESCRIPTION, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE_Contact_Reference_Facet extends ContactReferenceFacet {
public static final String NAME = "PE_Contact_Reference_Facet"; // PE_Contact_Reference_Facet.class.getSimpleName();
public static final String DESCRIPTION = "This facet is expected to capture minimal metadata for E39_Actor";
public static final String VERSION = "1.0.0";
@ISProperty
public String getAppellation();

View File

@ -1,16 +1,21 @@
package org.gcube.parthenosentities.model.reference.entity.facet.parthenos;
import org.gcube.informationsystem.types.annotations.ISProperty;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.resourcemanagement.model.reference.properties.ValueSchema;
/**
* @author Luca Frosini (ISTI - CNR)
* @author Alessia Bardi (ISTI - CNR)
*/
@TypeMetadata(name = PE_Info_Facet.NAME, description = PE_Info_Facet.DESCRIPTION, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE_Info_Facet extends PE_Basic_Info_Facet {
public static final String NAME = "PE_Info_Facet"; // PE_Info_Facet.class.getSimpleName();
public static final String DESCRIPTION = "This facet is expected to capture minimal metadata for PE1_Service";
public static final String VERSION = "1.0.0";
@ISProperty
public ValueSchema getCompetence();

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.resourcemanagement.model.reference.entities.resources.Software;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = D14_Software.NAME, description = D14_Software.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface D14_Software extends D1_Digital_Object, Software {
public static final String NAME = "D14_Software"; // D14_Software.class.getSimpleName();
}

View File

@ -1,8 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = D1_Digital_Object.NAME, description = D1_Digital_Object.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface D1_Digital_Object extends E70_Thing {
public static final String NAME = "D1_Digital_Object"; // D1_Digital_Object.class.getSimpleName();
}

View File

@ -1,5 +1,9 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*
@ -32,6 +36,10 @@ package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
* P57 has number of parts: E60 Number
*
*/
@TypeMetadata(name = E19_Physical_Object.NAME, description = "This class comprises items of a material nature that are units for documentation and have physical boundaries that separate them completely in an objective way from other objects.", version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E19_Physical_Object extends E70_Thing {
public static final String NAME = "E19_Physical_Object"; // E19_Physical_Object.class.getSimpleName();
}

View File

@ -1,9 +1,13 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.model.reference.entities.Resource;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*
* Scope note: This class comprises all things in the universe of discourse of the CIDOC Conceptual Reference Model.
*
* It is an abstract concept providing for three general properties:
@ -29,6 +33,10 @@ import org.gcube.informationsystem.model.reference.entities.Resource;
* P137 exemplifies (is exemplified by): E55 Type
* (P137.1 in the taxonomic role: E55 Type)
*/
@TypeMetadata(name = E1_CRM_Entity.NAME, description = "This class comprises all things in the universe of discourse of the CIDOC Conceptual Reference Model.", version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E1_CRM_Entity extends Resource {
public static final String NAME = "E1_CRM_Entity"; // E1_CRM_Entity.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.resourcemanagement.model.reference.entities.resources.Person;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = E21_Person.NAME, description = E21_Person.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E21_Person extends E39_Actor, Person {
public static final String NAME = "E21_Person"; // E21_Person.class.getSimpleName();
}

View File

@ -1,9 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
* TODO check if can be removed
*/
@TypeMetadata(name = E29_Design_or_Procedure.NAME, description = E29_Design_or_Procedure.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E29_Design_or_Procedure extends E70_Thing {
public static final String NAME = "E29_Design_or_Procedure"; // E29_Design_or_Procedure.class.getSimpleName();
}

View File

@ -1,17 +1,24 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.facet.parthenos.PE_Contact_Reference_Facet;
import org.gcube.resourcemanagement.model.reference.entities.facets.IdentifierFacet;
import org.gcube.resourcemanagement.model.reference.entities.resources.Actor;
/**
* @author Luca Frosini (ISTI - CNR)
*
* Attached facets are:
* - {@link IdentifierFacet} to map ID
* - {@link PE_Contact_Reference_Facet}
*
*/
@TypeMetadata(name = E39_Actor.NAME, description = E39_Actor.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E39_Actor extends Actor, E77_Persistent_Item {
public static final String NAME = "E39_Actor"; // E39_Actor.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.resourcemanagement.model.reference.entities.resources.LegalBody;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = E40_Legal_Body.NAME, description = E40_Legal_Body.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E40_Legal_Body extends E74_Group, LegalBody {
public static final String NAME = "E40_Legal_Body"; // E40_Legal_Body.class.getSimpleName();
}

View File

@ -1,5 +1,9 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*
@ -32,6 +36,10 @@ package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
* In First Order Logic:
* E53(x) E1(x)
*/
@TypeMetadata(name = E53_Place.NAME, description = "This class comprises extents in space, in particular on the surface of the earth, in the pure sense of physics: independent from temporal phenomena and matter.", version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E53_Place extends E1_CRM_Entity {
public static final String NAME = "E53_Place"; // E53_Place.class.getSimpleName();
}

View File

@ -1,5 +1,9 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*
@ -36,6 +40,10 @@ package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
* P90 has value: E60 Number
* P91 has unit (is unit of): E58 Measurement Unit
*/
@TypeMetadata(name = E54_Dimension.NAME, description = "This class comprises quantifiable properties that can be measured by some calibrated means and can be approximated by values, i.e. points or regions in a mathematical or conceptual space, such as natural or real numbers, RGB values etc.", version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E54_Dimension extends E1_CRM_Entity {
public static final String NAME = "E54_Dimension"; // E54_Dimension.class.getSimpleName();
}

View File

@ -1,5 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = E55_Type.NAME, description = E55_Type.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E55_Type extends E70_Thing {
public static final String NAME = "E55_Type"; // E55_Type.class.getSimpleName();
}

View File

@ -1,8 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = E65_Creation.NAME, description = E65_Creation.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E65_Creation extends E7_Activity {
public static final String NAME = "E65_Creation"; // E65_Creation.class.getSimpleName();
}

View File

@ -1,8 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = E70_Thing.NAME, description = E70_Thing.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E70_Thing extends E77_Persistent_Item {
public static final String NAME = "E70_Thing"; // E70_Thing.class.getSimpleName();
}

View File

@ -1,8 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = E74_Group.NAME, description = E74_Group.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E74_Group extends E39_Actor {
public static final String NAME = "E74_Group"; // E74_Group.class.getSimpleName();
}

View File

@ -1,7 +1,12 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*
* Scope note: This class comprises items that have a persistent identity, sometimes known as endurants in
* philosophy.
*
@ -31,6 +36,10 @@ package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
* In First Order Logic:
* E77(x) E1(x)
*/
@TypeMetadata(name = E77_Persistent_Item.NAME, description = "This class comprises items that have a persistent identity, sometimes known as “endurants” in philosophy", version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E77_Persistent_Item extends E1_CRM_Entity {
public static final String NAME = "E77_Persistent_Item"; // E77_Persistent_Item.class.getSimpleName();
}

View File

@ -1,9 +1,13 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.parthenos.PE32_Curated_Thing;
/**
* @author Luca Frosini (ISTI - CNR)
*
* Scope note: This class comprises aggregations of instances of E18 Physical Thing that are
* assembled and maintained (curated and preserved, in museological terminology) by one or more
* instances of E39 Actor over time for a specific purpose and audience, and according to a particular
@ -33,6 +37,10 @@ import org.gcube.parthenosentities.model.reference.entity.resource.parthenos.PE3
* Properties:
* P109 has current or former curator (is current or former curator of): E39 Actor
*/
@TypeMetadata(name = E78_Curated_Holding.NAME, description = "This class comprises aggregations of instances of E18 Physical Thing ...", version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E78_Curated_Holding extends PE32_Curated_Thing {
public static final String NAME = "E78_Curated_Holding"; // E78_Curated_Holding.class.getSimpleName();
}

View File

@ -1,9 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
* TODO check if can be removed
*/
@TypeMetadata(name = E7_Activity.NAME, description = E7_Activity.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E7_Activity extends E1_CRM_Entity {
public static final String NAME = "E7_Activity"; // E7_Activity.class.getSimpleName();
}

View File

@ -1,9 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.cidoc;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
@TypeMetadata(name = E97_Monetary_Amount.NAME, description = E97_Monetary_Amount.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface E97_Monetary_Amount extends E54_Dimension {
public static final String NAME = "E97_Monetary_Amount"; // E97_Monetary_Amount.class.getSimpleName();
}

View File

@ -1,8 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE10_Digital_Curating_Service.NAME, description = PE10_Digital_Curating_Service.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE10_Digital_Curating_Service extends PE3_Curating_Service {
public static final String NAME = "PE10_Digital_Curating_Service"; // PE10_Digital_Curating_Service.class.getSimpleName();
}

View File

@ -1,9 +1,18 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE11_Software_Curating_Service.NAME, description = PE11_Software_Curating_Service.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE11_Software_Curating_Service extends
PE10_Digital_Curating_Service {
public static final String NAME = "PE11_Software_Curating_Service"; // PE11_Software_Curating_Service.class.getSimpleName();
}

View File

@ -1,9 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE12_Data_Curating_Service.NAME, description = PE12_Data_Curating_Service.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE12_Data_Curating_Service extends
PE10_Digital_Curating_Service {
public static final String NAME = "PE12_Data_Curating_Service"; // PE12_Data_Curating_Service.class.getSimpleName();
}

View File

@ -1,11 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE13_Software_Computing_EService.NAME, description = PE13_Software_Computing_EService.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE13_Software_Computing_EService extends PE8_EService,
PE6_Software_Hosting_Service {
//public static final String NAME = "PE13_Software_Computing_E-Service";
public static final String NAME = "PE13_Software_Computing_E-Service";
}

View File

@ -1,11 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE14_Software_Delivery_EService.NAME, description = PE14_Software_Delivery_EService.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE14_Software_Delivery_EService extends PE8_EService,
PE6_Software_Hosting_Service {
//public static final String NAME = "PE14_Software_Delivery_E-Service";
public static final String NAME = "PE14_Software_Delivery_E-Service";
}

View File

@ -1,11 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE15_Data_EService.NAME, description = PE15_Data_EService.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE15_Data_EService extends PE8_EService,
PE7_Data_Hosting_Service {
//public static final String NAME = "PE15_Data_E-Service";
public static final String NAME = "PE15_Data_E-Service";
}

View File

@ -1,12 +1,18 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE16_Curated_Software_EService.NAME, description = PE16_Curated_Software_EService.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE16_Curated_Software_EService extends
PE11_Software_Curating_Service, PE14_Software_Delivery_EService,
PE13_Software_Computing_EService {
//public static final String NAME = "PE16_Curated_Software_E-Service";
public static final String NAME = "PE16_Curated_Software_E-Service";
}

View File

@ -1,11 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE17_Curated_Data_EService.NAME, description = PE17_Curated_Data_EService.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE17_Curated_Data_EService extends
PE12_Data_Curating_Service, PE15_Data_EService {
//public static final String NAME = "PE17_Curated_Data_E-Service";
public static final String NAME = "PE17_Curated_Data_E-Service";
}

View File

@ -1,11 +1,18 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.D1_Digital_Object;
import org.gcube.resourcemanagement.model.reference.entities.resources.Dataset;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE18_Dataset.NAME, description = PE18_Dataset.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE18_Dataset extends Dataset, D1_Digital_Object {
public static final String NAME = "PE18_Dataset"; // PE18_Dataset.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.D1_Digital_Object;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE19_Persistent_Digital_Object.NAME, description = PE19_Persistent_Digital_Object.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE19_Persistent_Digital_Object extends D1_Digital_Object {
public static final String NAME = "PE19_Persistent_Digital_Object"; // PE19_Persistent_Digital_Object.class.getSimpleName();
}

View File

@ -1,6 +1,9 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.annotations.Abstract;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.facet.parthenos.E30_Right;
import org.gcube.parthenosentities.model.reference.entity.facet.parthenos.PE_Info_Facet;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E7_Activity;
@ -10,6 +13,7 @@ import org.gcube.resourcemanagement.model.reference.entities.resources.Service;
/**
* @author Luca Frosini (ISTI - CNR)
*
* Attached facets are:
* - {@link IdentifierFacet} to map ID
* - {@link PE_Info_Facet} to map {title, description, competence,availability}
@ -26,6 +30,10 @@ import org.gcube.resourcemanagement.model.reference.entities.resources.Service;
*
*/
@Abstract
@TypeMetadata(name = PE1_Service.NAME, description = PE1_Service.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE1_Service extends Service, E7_Activity {
public static final String NAME = "PE1_Service"; // PE1_Service.class.getSimpleName();
}

View File

@ -1,11 +1,18 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.D1_Digital_Object;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE20_Volatile_Digital_Object.NAME, description = PE20_Volatile_Digital_Object.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE20_Volatile_Digital_Object extends PE32_Curated_Thing,
D1_Digital_Object {
public static final String NAME = "PE20_Volatile_Digital_Object"; // PE20_Volatile_Digital_Object.class.getSimpleName();
}

View File

@ -1,11 +1,18 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.D14_Software;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE21_Persistent_Software.NAME, description = PE21_Persistent_Software.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE21_Persistent_Software extends D14_Software,
PE19_Persistent_Digital_Object {
public static final String NAME = "PE21_Persistent_Software"; // PE21_Persistent_Software.class.getSimpleName();
}

View File

@ -1,9 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE22_Persistent_Dataset.NAME, description = PE22_Persistent_Dataset.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE22_Persistent_Dataset extends PE18_Dataset,
PE19_Persistent_Digital_Object {
public static final String NAME = "PE22_Persistent_Dataset"; // PE22_Persistent_Dataset.class.getSimpleName();
}

View File

@ -1,11 +1,18 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.D14_Software;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE23_Volatile_Software.NAME, description = PE23_Volatile_Software.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE23_Volatile_Software extends D14_Software,
PE20_Volatile_Digital_Object {
public static final String NAME = "PE23_Volatile_Software"; // PE23_Volatile_Software.class.getSimpleName();
}

View File

@ -1,9 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE24_Volatile_Dataset.NAME, description = PE24_Volatile_Dataset.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE24_Volatile_Dataset extends PE18_Dataset,
PE20_Volatile_Digital_Object {
public static final String NAME = "PE24_Volatile_Dataset"; // PE24_Volatile_Dataset.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E40_Legal_Body;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE25_RI_Consortium.NAME, description = PE25_RI_Consortium.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE25_RI_Consortium extends E40_Legal_Body {
public static final String NAME = "PE25_RI_Consortium"; // PE25_RI_Consortium.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E7_Activity;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE26_RI_Project.NAME, description = PE26_RI_Project.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE26_RI_Project extends E7_Activity {
public static final String NAME = "PE26_RI_Project"; // PE26_RI_Project.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E29_Design_or_Procedure;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE28_Curation_Plan.NAME, description = PE28_Curation_Plan.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE28_Curation_Plan extends E29_Design_or_Procedure {
public static final String NAME = "PE28_Curation_Plan"; // PE28_Curation_Plan.class.getSimpleName();
}

View File

@ -1,8 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE2_Hosting_Service.NAME, description = PE2_Hosting_Service.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE2_Hosting_Service extends PE1_Service {
public static final String NAME = "PE2_Hosting_Service"; // PE2_Hosting_Service.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E70_Thing;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE32_Curated_Thing.NAME, description = PE32_Curated_Thing.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE32_Curated_Thing extends E70_Thing {
public static final String NAME = "PE32_Curated_Thing"; // PE32_Curated_Thing.class.getSimpleName();
}

View File

@ -1,10 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE33_EAccess_Brokering_Service.NAME, description = PE33_EAccess_Brokering_Service.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE33_EAccess_Brokering_Service extends PE8_EService {
//public static final String NAME = "PE33_E-Access_Brokering_Service";
public static final String NAME = "PE33_E-Access_Brokering_Service";
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E74_Group;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE34_Team.NAME, description = PE34_Team.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE34_Team extends E74_Group {
public static final String NAME = "PE34_Team"; // PE34_Team.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E7_Activity;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE35_Project.NAME, description = PE35_Project.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE35_Project extends E7_Activity {
public static final String NAME = "PE35_Project"; // PE35_Project.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E55_Type;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE36_Competency_Type.NAME, description = PE36_Competency_Type.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE36_Competency_Type extends E55_Type {
public static final String NAME = "PE36_Competency_Type"; // PE36_Competency_Type.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E55_Type;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE37_Protocol_Type.NAME, description = PE37_Protocol_Type.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE37_Protocol_Type extends E55_Type {
public static final String NAME = "PE37_Protocol_Type"; // PE37_Protocol_Type.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.D14_Software;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE38_Schema.NAME, description = PE38_Schema.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE38_Schema extends D14_Software {
public static final String NAME = "PE38_Schema"; // PE38_Schema.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E55_Type;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE39_Availability_Type.NAME, description = PE39_Availability_Type.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE39_Availability_Type extends E55_Type {
public static final String NAME = "PE39_Availability_Type"; // PE39_Availability_Type.class.getSimpleName();
}

View File

@ -1,8 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE3_Curating_Service.NAME, description = PE3_Curating_Service.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE3_Curating_Service extends PE1_Service {
public static final String NAME = "PE3_Curating_Service"; // PE3_Curating_Service.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E55_Type;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE40_Programing_Language.NAME, description = PE40_Programing_Language.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE40_Programing_Language extends E55_Type {
public static final String NAME = "PE40_Programing_Language"; // PE40_Programing_Language.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E7_Activity;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE41_Award_Activity.NAME, description = PE41_Award_Activity.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE41_Award_Activity extends E7_Activity {
public static final String NAME = "PE41_Award_Activity"; // PE41_Award_Activity.class.getSimpleName();
}

View File

@ -1,8 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE42_Funding_Activity.NAME, description = PE42_Funding_Activity.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE42_Funding_Activity extends PE41_Award_Activity {
public static final String NAME = "PE42_Funding_Activity"; // PE42_Funding_Activity.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E55_Type;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE43_Encoding_Type.NAME, description = PE43_Encoding_Type.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE43_Encoding_Type extends E55_Type {
public static final String NAME = "PE43_Encoding_Type"; // PE43_Encoding_Type.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.parthenosentities.model.reference.entity.resource.cidoc.E55_Type;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE44_Audience_Type.NAME, description = PE44_Audience_Type.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE44_Audience_Type extends E55_Type {
public static final String NAME = "PE44_Audience_Type"; // PE44_Audience_Type.class.getSimpleName();
}

View File

@ -1,8 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE5_Digital_Hosting_Service.NAME, description = PE5_Digital_Hosting_Service.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE5_Digital_Hosting_Service extends PE2_Hosting_Service {
public static final String NAME = "PE5_Digital_Hosting_Service"; // PE5_Digital_Hosting_Service.class.getSimpleName();
}

View File

@ -1,10 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.resourcemanagement.model.reference.entities.resources.HostingNode;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE6_Software_Hosting_Service.NAME, description = PE6_Software_Hosting_Service.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE6_Software_Hosting_Service extends PE5_Digital_Hosting_Service, HostingNode {
public static final String NAME = "PE6_Software_Hosting_Service"; // PE6_Software_Hosting_Service.class.getSimpleName();
}

View File

@ -1,8 +1,16 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE7_Data_Hosting_Service.NAME, description = PE7_Data_Hosting_Service.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE7_Data_Hosting_Service extends PE5_Digital_Hosting_Service {
public static final String NAME = "PE7_Data_Hosting_Service"; // PE7_Data_Hosting_Service.class.getSimpleName();
}

View File

@ -1,12 +1,17 @@
package org.gcube.parthenosentities.model.reference.entity.resource.parthenos;
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.Version;
import org.gcube.resourcemanagement.model.reference.entities.resources.EService;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@TypeMetadata(name = PE8_EService.NAME, description = PE8_EService.NAME, version = Version.MINIMAL_VERSION_STRING)
@Change(version = Version.MINIMAL_VERSION_STRING, description = Version.MINIMAL_VERSION_DESCRIPTION)
public interface PE8_EService extends PE1_Service, EService {
//public static final String NAME = "PE8_E-Service";
public static final String NAME = "PE8_E-Service";
}

View File

@ -0,0 +1,25 @@
package org.gcube.parthenosentities.model.discovery;
import org.gcube.informationsystem.base.reference.AccessType;
import org.gcube.informationsystem.base.reference.Element;
import org.gcube.informationsystem.discovery.knowledge.ModelKnowledge;
import org.gcube.informationsystem.serialization.ElementMapper;
import org.gcube.informationsystem.tree.Tree;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class DiscoveryTest {
private static Logger logger = LoggerFactory.getLogger(DiscoveryTest.class);
@Test
public void test() throws Exception {
ModelKnowledge modelKnowledge = ElementMapper.getGlobalModelKnowledgeInstance();
modelKnowledge.createKnowledge();
for(AccessType at : AccessType.getModelTypes()) {
Tree<Class<Element>> tree = modelKnowledge.getClassesTree(at);
logger.info("\n{}", tree.toString());
}
}
}