Difference between revisions of "Facet Based Resource Model"

From Gcube Wiki
Jump to: navigation, search
(Facets)
(Complex Types)
 
(566 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<!-- CATEGORIES -->  
 
<!-- CATEGORIES -->  
<!-- [[Category: gCube Features]] -->
+
[[Category: gCube Features]]
 +
[[Category: Developer's Guide]]
 +
[[Category: Information System]]
 
<!-- CATEGORIES -->
 
<!-- CATEGORIES -->
 
{| align="right"
 
{| align="right"
Line 6: Line 8:
 
|}
 
|}
  
== Basic Concepts ==
+
The Information System Model (henceforth IS Model) is used by [[Information System Resource Registry]]
 +
 
 +
== Disclaimer ==
 +
 
 +
This Model is part of research conducted in the context of a PhD.
 +
This wiki page represents just a partial view of the full rationale of the research.
 +
To have a complete overview of the rationale of the model, please refer to the PhD thesis which is publicly available at:
 +
 
 +
https://etd.adm.unipi.it/t/etd-05102019-114151/
 +
 
 +
https://openportal.isti.cnr.it/doc?id=people______::470484e51fcb9e307a418c800efc44c8
 +
 
 +
 
 +
If you need to refer to such work you can cite the PhD Thesis.
 +
 
 +
BibText:
 +
 
 +
<pre>
 +
@phdthesis{frosini2019transactional,
 +
  title={Transactional REST Information System for Federated Research Infrastructures enabling Virtual Research Environments},
 +
  author={Frosini, Luca},
 +
  year={2019},
 +
  school={UNIVERSIT{\`A} DI PISA}
 +
}
 +
</pre>
 +
 
 +
An previous paper about this work is:
 +
 
 +
BibText:
 +
 
 +
<pre>
 +
@article{frosini2018facet,
 +
  title={A Facet-based Open and Extensible Resource Model for Research Data Infrastructures.},
 +
  author={Frosini, Luca and Pagano, Pasquale},
 +
  journal={Grey Journal (TGJ)},
 +
  volume={14},
 +
  number={2},
 +
  year={2018}
 +
}
 +
</pre>
 +
 
 +
== IS Model ==
 +
 
 +
The [[#IS_Model|Information System Model]] (henceforth IS Model) is a graph model with Entities as nodes and Relations as edges.
 +
 
 +
[[File:Is-model.png|800px]]
 +
<br /> <br />
 +
[[File:Is-model-er.png|500px]]
  
 
* Two typologies of '''entities''' are envisaged:  
 
* Two typologies of '''entities''' are envisaged:  
 
** '''[[#Resources | Resources]]''', i.e. entities representing a description of "thing" to be managed;   
 
** '''[[#Resources | Resources]]''', i.e. entities representing a description of "thing" to be managed;   
*** Every Resource is characterised by a number of [[#Facets | Facets]].
+
*** Every Resource is described by a number of [[#Facets | Facets]].
 
** '''[[#Facets | Facets]]''', i.e. entities contributing to "build" a description of a Resource. Every facet, once attached to a Resource profile captures a certain aspect / characterization of the resource;   
 
** '''[[#Facets | Facets]]''', i.e. entities contributing to "build" a description of a Resource. Every facet, once attached to a Resource profile captures a certain aspect / characterization of the resource;   
*** Every facet is characterised by a number of [[#Property| properties]];  
+
*** Every facet is characterised by a number of [[#Properties| properties]];  
  
 
* Two typologies of '''[[#Relations|relations]]''' are envisaged:
 
* Two typologies of '''[[#Relations|relations]]''' are envisaged:
 
** '''[[#isRelatedTo | isRelatedTo]]''', i.e. a relation linking any two [[#Resources | Resources]].  
 
** '''[[#isRelatedTo | isRelatedTo]]''', i.e. a relation linking any two [[#Resources | Resources]].  
** '''[[#consistsOf | consistsOf]]''', i.e. a relation connecting each [[#Resources | Resource]] with one of the [[#Facets | Facets]] characterizing it;
+
** '''[[#ConsistsOf | ConsistsOf]]''', i.e. a relation connecting each [[#Resources | Resource]] with one of the [[#Facets | Facets]] characterizing it;
 
+
* Entities and relations can be '''specialized'''.
+
** A number of specializations are identified below. Such specializations are managed by the gCube Core services, i.e. Core services builds upon these specialization to realize its management tasks;   
+
** Other specializations can be defined by clients, the system make it possible to store these additional typologies of relations and facets and to discover them.
+
  
 +
* Each entity and relation
 +
** has an '''[[#Header|header]]''' automatically generated for the sake of identification and provenance of the specific information;
 +
** can be '''specialized'''
 +
*** A number of specializations are identified below. Such specializations are managed by the gCube Core services, i.e. Core services builds upon these specializations to realize its management tasks;   
 +
*** Other specializations can be defined by clients, the system make it possible to store these additional typologies of relations and facets and to discover them.
 +
* Facet and Relation instances can have additional [[#Properties| properties]] which are not defined in the schema (henceforth schema-mixed mode).
 
* On relations:
 
* On relations:
** Any relation has a direction, i.e. a "source" ('''out''' bound of the relation) and a "target" ('''in''' bound of the relation). Anyway the relation can be also navigated in the opposite direction;
+
** Any relation has a direction, i.e. a "source" ('''out''' bound of the relation) and a "target" ('''in''' bound of the relation). Anyway, the relation can be also navigated in the opposite direction;
 
** It is not permitted to define a Relation having a Facet as "source". In other words:
 
** It is not permitted to define a Relation having a Facet as "source". In other words:
 
*** It is not permitted to define a Relation connecting a Facet with another one;
 
*** It is not permitted to define a Relation connecting a Facet with another one;
 
*** It is not permitted to define a Relation connecting a Facet with a Resource (as target);  
 
*** It is not permitted to define a Relation connecting a Facet with a Resource (as target);  
** A Facet instance can be linked (by [[#consistsOf | consistsOf]] or any specialization of it) from different Resources.
+
** A Facet instance can be linked (by [[#ConsistsOf | ConsistsOf]] or any specialization of it) from different Resources.
  
[[File:Is-model.png]]
+
We derived the term Facet directly from the dictionary definition. Merriam Webster Dictionary defines facet as “any of the definable aspects that make up a subject (as of contemplation) or an object (as of consideration)”<ref>https://www.merriam-webster.com/dictionary/facet</ref>.
 +
The Free Dictionary defines a facet as “One of numerous aspects, as of a subject” <ref>https://www.thefreedictionary.com/facet</ref>.
  
=== Property ===
 
  
Any Property can be enriched with the following attributes:
+
=== Type Attributes ===
 +
 
 +
Any attribute defined in the type schema is characterised by:
  
 
* '''Name''' : Property Name
 
* '''Name''' : Property Name
* '''Type''' : The Type of the Property (e.g. String, Integer, ...). See [[#Property_Type|Property Type]]
+
* '''Type''' : The Type of the Property (e.g. String, Integer, ...). It can be a [[#Basic_Types|Basic Type]] or a [[#Derived_Types|Derived Type]] or a [[#Complex_Types|Complex Type]]
 
* '''Description''' : The description of the Property. <code>default=null</code>.
 
* '''Description''' : The description of the Property. <code>default=null</code>.
 
* '''Mandatory''' ('''M'''): Indicate if the Property is mandatory. <code>default=false</code>.
 
* '''Mandatory''' ('''M'''): Indicate if the Property is mandatory. <code>default=false</code>.
 
* '''ReadOnly''' ('''RO'''): The Property cannot change its value. <code>default=false</code>.
 
* '''ReadOnly''' ('''RO'''): The Property cannot change its value. <code>default=false</code>.
* '''NotNull''' ('''NN'''): <code>default=false</code>
+
* '''NotNull''' ('''NN'''): Whether the property must assume a value diverse from 'null' or not. <code>default=false</code>
 
* '''Max''' ('''Max'''): <code>default=null</code>
 
* '''Max''' ('''Max'''): <code>default=null</code>
 
* '''Min''' ('''Min'''): <code>default=null</code>
 
* '''Min''' ('''Min'''): <code>default=null</code>
* '''Regexpr''' ('''Reg''')): A [https://en.wikipedia.org/wiki/Regular_expression Regular Expression] to validate the property value.<code>default=null</code>
+
* '''Regex''' ('''Reg''')): A [https://en.wikipedia.org/wiki/Regular_expression Regular Expression] to validate the property value, <code>default=null</code>. A good online tool for regex is avalable at [https://regex101.com/ https://regex101.com/]
  
==== Property Type ====
+
==== Basic Types ====
 
+
===== Basic Property Type =====
+
  
 
{|class="wikitable"
 
{|class="wikitable"
 
! Type  
 
! Type  
 +
! Java type
 
! Description  
 
! Description  
! Java type
 
 
|-
 
|-
 
| Boolean
 
| Boolean
| Handles only the values <em>True</em> or <em>False</em>
 
 
| <code>java.lang.Boolean</code> or <code>boolean</code>
 
| <code>java.lang.Boolean</code> or <code>boolean</code>
 +
| Handles only the values <em>True</em> or <em>False</em>.
 
|-
 
|-
 
| Integer
 
| Integer
| 32-bit signed Integers
+
| <code>java.lang.Integer</code> or <code>int</code> or  <code>java.math.BigInteger</code>
| <code>java.lang.Integer</code> or <code>int</code>
+
| 32-bit signed Integers.
 
|-
 
|-
 
| Short
 
| Short
| Small 16-bit signed integers
 
 
| <code>java.lang.Short</code> or <code>short</code>
 
| <code>java.lang.Short</code> or <code>short</code>
 +
| Small 16-bit signed integers.
 
|-
 
|-
 
| Long
 
| Long
| Big 64-bit signed integers
 
 
| <code>java.lang.Long</code> or <code>long</code>
 
| <code>java.lang.Long</code> or <code>long</code>
 +
| Big 64-bit signed integers.
 
|-
 
|-
 
| Float
 
| Float
| Decimal numbers
 
 
| <code>java.lang.Float</code> or <code>float</code>
 
| <code>java.lang.Float</code> or <code>float</code>
 +
| Decimal numbers.
 
|-
 
|-
 
| Double
 
| Double
| Decimal numbers with high precision
 
 
| <code>java.lang.Double</code> or <code>double</code>
 
| <code>java.lang.Double</code> or <code>double</code>
 +
| Decimal numbers with high precision.
 
|-
 
|-
| Datetime
+
| Date
| Any date with the precision up to milliseconds.
+
 
| <code>java.util.Date</code>
 
| <code>java.util.Date</code>
 +
| Any date with the precision up to milliseconds.
 
|-
 
|-
 
| String
 
| String
| Any string as alphanumeric sequence of chars
 
 
| <code>java.lang.String</code>
 
| <code>java.lang.String</code>
|-
+
| Any string as alphanumeric sequence of chars.
| Embedded
+
| This is an Object contained inside the owner Entity and has no [[#Header|Header]]. It is reachable only by navigating the owner Entity.
+
| <code>org.gcube.informationsystem.model.embedded.Embedded</code>
+
|-
+
| Embedded list
+
| List of Objects contained inside the owner Entity and have no [[#Header|Header]]. They are reachable only by navigating the owner Entity.
+
| <code>List&lt;?  extends Embedded&gt;</code>
+
|-
+
| Embedded set
+
| Set (no duplicates) of Objects contained inside the owner Entity and have no [[#Header|Header]]. They are reachable only by navigating the owner Entity.
+
| <code>Set&lt;? extends Embedded&gt;</code>
+
|-
+
| Embedded map
+
| Map of Objects contained inside the owner Entity and have no [[#Header|Header]]. They are reachable only by navigating the owner Entity.
+
| <code>Map&lt;String, ? extends Embedded&gt;</code>
+
|-
+
| Link ...
+
| Link to another Entity.
+
| <code>...</code>
+
 
|-
 
|-
 
| Byte
 
| Byte
| Single byte. usesful to store small 8-bit signed integers
 
 
| <code>java.lang.Byte</code> or <code>byte</code>
 
| <code>java.lang.Byte</code> or <code>byte</code>
 +
| Single byte. useful to store small 8-bit signed integers.
 
|-
 
|-
 
| Binary
 
| Binary
| Can contain any value as byte array
 
 
| <code>java.lang.Byte[]</code> or <code>byte[]</code>
 
| <code>java.lang.Byte[]</code> or <code>byte[]</code>
|-
+
| Can contain any value as byte array.
| Any
+
| Not determinated type, used to specify Collections of mixed type, and null
+
| <code>java.lang.Object</code>
+
 
|}
 
|}
  
===== Derived Property Type =====
+
==== Derived Types ====
  
 
The following are obtained using a String as real type and adding a validation regex.
 
The following are obtained using a String as real type and adding a validation regex.
Line 125: Line 152:
 
{|class="wikitable"
 
{|class="wikitable"
 
! Type  
 
! Type  
! Description
 
 
! Java type  
 
! Java type  
 +
! Description
 
|-
 
|-
 
| Enum
 
| Enum
| by default it is represented using the String representation of the Enum. So that the primitive type used will be String. The enumeration is checked by setting <code>Regexpr</code> property. The Regular Expression is auto-generated and it will be something like '''<code>(FIRST-ENUM-STRING_REPRESENTATION<nowiki>|</nowiki>SECOND-ENUM-STRING_REPRESENTATION<nowiki>|</nowiki>...<nowiki>|</nowiki>LAST_ENUM_STRING_REPRESENTATION)</code>'''.
+
| <code>java.lang.Enum</code> or <code>enum</code>
 +
| by default it is represented using the String representation of the Enum. So that the primitive type used will be String. The enumeration is checked by setting <code>Regexpr</code> property. The Regular Expression is auto-generated and it will be something like '''<code>^(FIRST-ENUM-STRING_REPRESENTATION<nowiki>|</nowiki>SECOND-ENUM-STRING_REPRESENTATION<nowiki>|</nowiki>...<nowiki>|</nowiki>LAST_ENUM_STRING_REPRESENTATION)$</code>'''.
 
Otherwise (if indicated using an annotation), it can be represented using the Integer value of the Enum. So that the primitive type used will be Integer. The enumeration is checked using <code>Max</code> and <code>Min</code> properties.  
 
Otherwise (if indicated using an annotation), it can be represented using the Integer value of the Enum. So that the primitive type used will be Integer. The enumeration is checked using <code>Max</code> and <code>Min</code> properties.  
| <code>java.lang.Enum</code> or <code>enum</code>
 
 
|-
 
|-
 
| UUID
 
| UUID
| String representation of the UUID. The check is obtained using the regular expression '''<code>([a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}){1}</code>'''
 
 
| <code>java.util.UUID</code>
 
| <code>java.util.UUID</code>
 +
| String representation of the UUID. The check is obtained using the regular expression '''<code>^([a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}){1}$</code>'''
 
|-
 
|-
 
| URL
 
| URL
| String representation of the URL. The check is obtained using a regex available at https://mathiasbynens.be/demo/url-regex (see diegoperini one).
 
 
| <code>java.net.URL</code>
 
| <code>java.net.URL</code>
 +
| String representation of the URL. No check actually.
 
|-
 
|-
 
| URI
 
| URI
| String representation of the URI. The check is obtained using .
 
 
| <code>java.net.URI</code>
 
| <code>java.net.URI</code>
|}
+
| String representation of the URI. No check actually.
 
+
=== Header ===
+
 
+
Every Entity and Relation has an Header automatically filled by the System. The Header has the following properties:
+
{|class="wikitable"
+
! Name
+
! Type
+
! Description
+
! Attributes
+
 
|-
 
|-
| uuid
+
| TypeVersion
| UUID
+
| <code>org.gcube.informationsystem.utils.TypeVersion</code>
| This uuid can be used to univocally identify the Entity or the Relation
+
| A type representing and validating a version in the following format X.X.X Major(Integer).Minor(Integer).Revision(Integer) (e.g 1.0.0, 2.3.0, 2.0.1). The check is obtained using the regular expression '''<code>^[1-9][0-9]{0,}\.(0<nowiki>|</nowiki>([1-9][0-9]{0,}))\.(0<nowiki>|</nowiki>([1-9][0-9]{0,}))$</code>'''.
| <code>Mandatory=true</code> <code>NotNull=true</code> <code>ReadOnly=true</code>
+
|-
+
| creator
+
| String
+
| Filled at creation time. The creator is retrieved using the authorization token
+
| <code>Mandatory=true</code> <code>NotNull=true</code> <code>ReadOnly=true</code>
+
|-
+
| creationTime
+
| Datetime
+
| Creation time in milliseconds. Represent the difference, measured in milliseconds, between the creation time and midnight, January 1, 1970 UTC
+
| <code>Mandatory=true</code> <code>NotNull=true</code> <code>ReadOnly=true</code>
+
|-
+
| lastUpdateTime
+
| Datetime
+
| Last Update time in milliseconds. Represent the difference, measured in milliseconds, between the last update time and midnight, January 1, 1970 UTC
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
 
|}
 
|}
  
 +
==== Complex Types ====
  
=== Resources and (isRelatedTo) Relations ===
+
Any property defined by composing basic types, complex types and other complex types. Any complex type can be defined by extending [[#Property|Property]] type.
 
+
[[File:Gcube-reources-and-isrelatedto-relations.png|1024px]]
+
 
+
== Facets ==
+
 
+
Early ideas and thinking on facets were documented at [[Resource_Model_(2nd_generation)#Facets | 2nd Generation Resource Model : Facets]]
+
 
+
=== Facet ===
+
 
+
Every Facet has:
+
* An [[#Header|Header]]
+
* Zero or more [[#Property|properties]]. Some of the properties are predefined, but any other [[#Property|property]] can be added.
+
 
+
==== Access Point Facet ====
+
 
+
The goal of this facet is expected to capture information on “access points” for a resource, i.e. any endpoint to interact with the resource via a known protocol.
+
  
 
{|class="wikitable"
 
{|class="wikitable"
|+ Access Point Facet <code>extends</code> [[#Facet|Facet]]
+
! Type
 +
! Java type
 +
! Description
 
|-
 
|-
|+ Access Point Facet
+
| Property
 +
| <code>?  extends org.gcube.informationsystem.model.reference.properties.Property</code>
 +
| This is an Object contained inside the owner Entity and has no [[#Header|Header]]. It is reachable only by navigating the owner Entity/Relation.
 
|-
 
|-
! Name
+
| <del>Property list</del>
! Type
+
| <del><code>List&lt;?  extends org.gcube.informationsystem.model.reference.properties.Property&gt;</code></del>
! Description
+
| <del>List of Objects contained inside the owner Entity and have no [[#Header|Header]]. They are reachable only by navigating the owner Entity/Relation.</del>
! Attributes
+
!
+
 
|-
 
|-
| entryName
+
| <del>Property set</del>
| String
+
| <del><code>Set&lt;? org.gcube.informationsystem.model.reference.properties.Property&gt;</code></del>
| An unique identifier
+
| <del>Set (no duplicates) of Objects contained inside the owner Entity and have no [[#Header|Header]]. They are reachable only by navigating the owner Entity/Relation.</del>
|
+
|
+
 
|-
 
|-
| endpoint
+
| Property map
| URI
+
| <code>Map&lt;String, ? extends org.gcube.informationsystem.model.reference.properties.Propertyd&gt;</code>
| The URI which identify the endpoint of a resource
+
| Map of Objects contained inside the owner Entity and have no [[#Header|Header]]. They are reachable only by navigating the owner Entity/Relation.
| <code>Mandatory=true</code> <code>ReadOnly=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| protocol
+
| String
+
| The high-level protocol used by the access point. The String could contains the version if needed.
+
E.g. WMS not http which is already contained in URI.
+
|
+
|
+
|-
+
| description
+
| String
+
| .....
+
|
+
|
+
|-
+
| authorization
+
| String
+
| Contains authorization information. E.g: a token, username:password. By relying on schema it should be sufficient to capture also whether the content is encrypted or not
+
|
+
|
+
|-
+
| authorizationSchema
+
| URI
+
| ....
+
|
+
|
+
|-
+
| properties
+
| String
+
| This can be an arbitrarily complex element whose "structure" is defined by the associated schema
+
|
+
|
+
|-
+
| propertiesSchema
+
| URI
+
| ....
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Access_Point_Facet|Access Point Facet]]
+
| The embargoState can be modeled through the access policy defined in the consistsOf relation
+
|-
+
| [[#Concrete_Dataset|Concrete Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 1..n
+
| [[#Access_Point_Facet|Access Point Facet]]
+
| The embargoState can be modeled through the access policy defined in the consistsOf relation
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Access_Point_Facet|Access Point Facet]]
+
| Identify the endpoints of the E-Service
+
|-
+
| [[#Software|Software]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Access_Point_Facet|Access Point Facet]]
+
| Links to maven artifact on nexus, javadoc, wiki, svn ...
+
 
|}
 
|}
  
==== Contact Facet ====
+
=== Property ===
  
The goal of this facet is expected to capture contact information.
+
It does not define any field. It is just used as a base class.
  
{|class="wikitable"
+
The Java Interface declaration for such a type is available at:
|+ Contact Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| title
+
| String
+
| e.g. Dr, Mrs, Mr, ...
+
| <code>Mandatory=false</code>
+
|
+
|-
+
| name
+
| String
+
| First Name
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| middleName
+
| String
+
| Middle Name
+
| <code>Mandatory=false</code>
+
|
+
|-
+
| surname
+
| String
+
| Surname
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| eMail
+
| Email
+
| An RFC‑822 compliant email address.
+
| <code>Mandatory=true</code> <code>NotNull=true</code> <code>Regex see http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html</code>
+
|
+
|-
+
| website
+
| URL
+
| The main website
+
|
+
|
+
|-
+
| address
+
| String
+
| A physical address
+
|
+
|
+
|-
+
| phone
+
| String
+
| A phone number
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Actor|Actor]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| An Actor has at least a Contact Facet which permit to identify the Actor per se.
+
|-
+
| [[#Actor|Actor]]
+
| [[#hasContact|hasContact]]
+
| align=center | 0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| An Actor can have other Contact Facets which provide secondary contact information.
+
|-
+
| [[#Legal_Body|Legal Body]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| A Legal Body has at least a Contact Facet which permit to identify the Legal Body per se.
+
|-
+
| [[#Person|Person]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| A Person has at least a Contact Facet which permit to identify the Person per se.
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasContact|hasContact]]
+
| align=center|1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasContributor|hasContributor]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the contributor
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasCreator|hasCreator]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the creator
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasCurator|hasCurator]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the curator
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasMaintainer|hasMaintainer]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the maintainer
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasOwner|hasOwner]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the owner
+
|-
+
| [[#Concrete_Dataset|Concrete Dataset]]
+
| [[#hasMaintainer|hasMaintainer]]
+
| align=center|1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the maintainer
+
|-
+
| [[#Schema|Schema]]
+
| [[#hasContact|hasContact]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|-
+
| [[#Site|Site]]
+
| [[#hasContact|hasContact]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|-
+
| [[#Site|Site]]
+
| [[#hasMaintainer|hasMaintainer]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|-
+
| [[#Site|Site]]
+
| [[#hasManager|hasManager]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|}
+
  
==== Coverage Facet ====
+
https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/properties/Property.java
  
The goal of this facet is to collect any ''extent''-related information.
+
===== Header =====
  
{|class="wikitable"
+
Every Entity and Relation has an Header automatically created/updated by the System.
|+ Coverage Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| value
+
| String
+
| ...
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| schema
+
| URI
+
| ...
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasCoverage|hasCoverage]]
+
| align=center | 1..n
+
| [[#Coverage_Facet|Coverage Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasTemporal|hasTemporal]]
+
| align=center | 0..n
+
| [[#Coverage_Facet|Coverage Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasSpatial|hasSpatial]]
+
| align=center | 0..n
+
| [[#Coverage_Facet|Coverage Facet]]
+
| ...
+
|}
+
 
+
==== CPU Facet ====
+
 
+
The goal of this facet is to describe CPU information.
+
  
 
{|class="wikitable"
 
{|class="wikitable"
|+ CPU Facet <code>extends</code> [[#Facet|Facet]]
+
|+ Header <code>''extends''</code> Property
|-
+
 
! Name
 
! Name
 
! Type
 
! Type
! Description
 
 
! Attributes
 
! Attributes
!
 
|-
 
| model
 
| String
 
| ...
 
| <code>Mandatory=true</code> <code>NotNull=true</code>
 
|
 
|-
 
| vendor
 
| String
 
| ...
 
| <code>Mandatory=true</code> <code>NotNull=true</code>
 
|
 
|-
 
| clockSpeed
 
| String
 
| ...
 
| <code>Mandatory=true</code> <code>NotNull=true</code>
 
|-
 
! colspan=5 | Known Usage
 
|-
 
! Source
 
! Relation
 
! Multiplicity
 
! Target
 
 
! Description
 
! Description
 
|-
 
|-
| [[#Hosting_Node|Hosting Node]]
+
| uuid
| [[#consistsOf|consistsOf]]
+
| UUID
| align=center|1..n
+
| <code>Mandatory=true</code> <br/><code>NotNull=true</code> <br/><code>ReadOnly=true</code>
| [[#CPU_Facet|CPU Facet]]
+
| This UUID is be used to identify the Entity or the Relation univocally.
| CPU Information
+
|}
+
 
+
==== Descriptive Metadata Facet ====
+
 
+
The goal of this facet is to collect any descriptive metadata about the resource.
+
 
+
{|class="wikitable"
+
|+ Descriptive Metadata Facet <code>extends</code> [[#Facet|Facet]]
+
 
|-
 
|-
! Name
+
| createdBy
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| value
+
 
| String
 
| String
| Inherited. E.g. XML Blob
+
| <code>Mandatory=true</code> <br/><code>NotNull=true</code> <br/><code>ReadOnly=true</code>
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
| The user that created the Entity or the Relation. It is initialized at creation time.
|
+
 
|-
 
|-
| schema
+
| creationTime
| URI
+
| Date
| ...
+
| <code>Mandatory=true</code> <br/><code>NotNull=true</code> <br/><code>ReadOnly=true</code>
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
| Creation time.
 
|-
 
|-
! colspan=5 | Known Usage
+
| lastUpdateBy
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Descriptive_Metadata_Facet|Descriptive Metadata Facet]]
+
| ...
+
|-
+
| [[#Schema|Schema]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Descriptive_Metadata_Facet|Descriptive Metadata Facet]]
+
| ...
+
|}
+
 
+
==== Event Facet ====
+
 
+
The goal of this facet is to collect any descriptive metadata about the resource.
+
 
+
{|class="wikitable"
+
|+ Event Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| value
+
 
| String
 
| String
| ...
+
| <code>Mandatory=true</code> <br/><code>NotNull=true</code>
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
| The user that made the last update to the Entity or the Relation. At creation time, it assumes the same value of creator.
|
+
 
|-
 
|-
| schema
+
| lastUpdateTime
| URI
+
| Date
| ...
+
| <code>Mandatory=true</code> <br/><code>NotNull=true</code>
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
| Last Update time. At creation time it assumes the same value of creationTime.
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Event_Facet|Event Facet]]
+
| ...
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Event_Facet|Event Facet]]
+
| E.g. ActivationTime, DeploymentTime
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Event_Facet|Event Facet]]
+
| ...
+
 
|}
 
|}
  
==== Functionality Related Facet ====
 
  
The goal of this facet is to capture what are the facilities supported ('''Challenging because of the different audiences''')
+
The Java Interface declaration for such a type is available at:
Something very "poor" ... we can have a look at WPS spec
+
  
{|class="wikitable"
+
https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/properties/Header.java
|+ Functionality Related Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| name
+
| String
+
| ...
+
|
+
|
+
|-
+
| description
+
| String
+
| ...
+
|
+
|
+
|-
+
| input
+
| String
+
| ...
+
|
+
|
+
|-
+
| output
+
| String
+
| ...
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
|}
+
  
==== Identifier Facet ====
+
===== PropagationConstraint =====
  
The goal of this facet is to collect information on Identifiers that can be attached to a resource.
+
At any time entities and relations can be added or removed to/from a context or deleted.
 +
The PropagationConstraint property contained in each relation is a predefined Property type which indicates the behaviour to be held on a target entity when an event related to a context occurs in the source resource or directly to the relation.
  
 
{|class="wikitable"
 
{|class="wikitable"
|+ Identifier Facet <code>extends</code> [[#Facet|Facet]]
+
|+ PropagationConstraint <code>''extends''</code> Property
|-
+
 
! Name
 
! Name
 
! Type
 
! Type
! Description
 
 
! Attributes
 
! Attributes
!
 
|-
 
| value
 
| String
 
| The identifier. E.g. http://fr.dbpedia.org/resource/Thunnus de305d54-75b4-431b-adb2-eb6b9e546014
 
| <code>Mandatory=true</code> <code>NotNull=true</code>
 
|
 
|-
 
| type
 
| Enumeration
 
| The typology of identifier. I.e. URI, DOI, IRI, URL, URN, UUID;
 
| <code>Mandatory=true</code> <code>NotNull=true</code>
 
|
 
|-
 
| isPersistent
 
| boolean
 
| To indicate if the Identifier is persistent or not.
 
| <code>Mandatory=true</code> <code>NotNull=true</code>
 
|-
 
! colspan=5 | Known Usage
 
|-
 
! Source
 
! Relation
 
! Multiplicity
 
! Target
 
 
! Description
 
! Description
 
|-
 
|-
| [[#Configuration_Template|Configuration Template]]
+
| remove
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| Enum
| align=center | 1..n
+
| <code>Regex=(cascadeWhenOrphan<nowiki>|</nowiki>cascade<nowiki>|</nowiki>keep)</code>
| [[#Identifier_Facet|Identifier Facet]]
+
| It indicates the behaviour to implement for the target Entity when a 'remove' action is performed on the source Resource. Remove actions are: (i) the operation of removing an instance from a context; (ii) the operation of deleting an instance (it has an impact on all contexts).
| ...
+
 
|-
 
|-
| [[#Configuration|Configuration]]
+
| add
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| Enum
| align=center | 1..n
+
| <code>Regex=(propagate<nowiki>|</nowiki>unpropagate)</code>
| [[#Identifier_Facet|Identifier Facet]]
+
| It indicates the behaviour to implement for the target Entity when an 'add' action is performed on the source Resource. Add action is the operation of adding an instance to a context.
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Identifier_Facet|Identifier Facet]]
+
| ...
+
|-
+
| [[#Concrete_Dataset|Concrete Dataset]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Identifier_Facet|Identifier Facet]]
+
|
+
|-
+
| [[#Site|Site]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Identifier_Facet|Identifier Facet]]
+
| ...
+
 
|}
 
|}
  
==== License Facet ====
 
  
{|class="wikitable"
+
Remove values;
|+ License Facet <code>extends</code> [[#Facet|Facet]]
+
* cascadeWhenOrphan: When a remove action is performed on the source Entity of the relation, or directly on the relation, then the same remove action apart on the relation is performed to the target entity if it has no other incoming relations.
|-
+
* cascade: When a remove action is performed on the source Entity of the relation, or directly on the relation, then the same remove action is performed on the relation and its target entity.
! Name
+
* keep: When a remove action is performed on the source Entity of the relation, or directly on the relation, then the same remove action is performed on relation but never to the target entity.
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| name
+
| String
+
| E.g. EUPL 1.1, GPLv2, BSD, ...
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| text
+
| URL
+
| Licence URL
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#License_Facet|License Facet]]
+
| The duration of license if any can can be modeled through the expiry date defined in the consistsOf relation
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|0..n
+
| [[#License_Facet|License Facet]]
+
| The specific terms of use for programmatic access to the service
+
|-
+
| [[#Software|Software]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#License_Facet|License Facet]]
+
| ...
+
|}
+
  
==== Location Facet ====
 
  
The goal of this facet is to collect information about Location
+
Add values;
  
{|class="wikitable"
+
* propagate: When an 'add' action is performed on the source Entity of the relation, or directly on the relation, then the same add action is performed on the relation and its target Entity.
|+ Location Facet <code>extends</code> [[#Facet|Facet]]
+
* unpropagate: When an 'add' action is performed on the source Entity of the relation, is performed on source relation only. Trying to perform an 'add' action on the relation has no effects.
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| Country
+
| String
+
| ...
+
|
+
|
+
|-
+
| Location
+
| String
+
| ...
+
|
+
|
+
|-
+
| Latitude
+
| String
+
| ...
+
|
+
|
+
|-
+
| Longitude
+
| String
+
| ...
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Site|Site]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 1..n
+
| [[#Location_Facet|Location Facet]]
+
| ...
+
|}
+
  
==== Memory Facet ====
 
  
The goal of this facet is to .....
+
Any [[#Relation|Relation]] contains such a property. If the values are not specified at creation time the system initialize it with the following rules:
  
{|class="wikitable"
+
* [[#ConsistsOf | ConsistsOf Relation]] : <code>remove=cascade</code>, <code>add=propagate</code>
|+ Memory Facet <code>extends</code> [[#Facet|Facet]]
+
* [[#isRelatedTo | IsRelatedTo Relation]] : <code>remove=keep</code>, <code>add=unpropagate</code>
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| size
+
| Long
+
| Total amount of memory.
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| used
+
| Long
+
| usesd amount of memory.
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| unit
+
| Enum
+
| I.e. Byte, kB (kilobyte 10^3), MB (megabyte 10^6), GB (gigabyte 10^9), TB (terabyte 10^12), PB (petabyte 10^15), EB (exabyte 10^18), ZB (zettabyte 10^21), YB (yottabyte 10^24)
+
| <code>Mandatory=true</code> <code>NotNull=true</code> <code>Regex=(Byte<nowiki>|</nowiki>kB,<nowiki>|</nowiki>MB<nowiki>|</nowiki>GB<nowiki>|</nowiki>TB<nowiki>|</nowiki>PB<nowiki>|</nowiki>EB<nowiki>|</nowiki>ZB<nowiki>|</nowiki>YB)
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#hasPersistent|hasPersistent]]
+
| align=center|1..n
+
| [[#Memory_Facet|Memory Facet]]
+
| Disk Space
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#hasVolatile|hasVolatile]]
+
| align=center|1..n
+
| [[#Memory_Facet|Memory Facet]]
+
| RAM
+
|}
+
  
==== Network Address Facet ====
 
  
The goal of this facet is to capture IP information
+
The Java Interface declaration for such a type is available at:
  
{|class="wikitable"
+
https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/properties/PropagationConstraint.java
|+ Network Address Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| hostName
+
| String
+
| ...
+
|
+
|
+
|-
+
| domainName
+
| String
+
| ...
+
|
+
|
+
|-
+
| IPAddress
+
| String
+
| ...
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| mask
+
| String
+
| ...
+
|
+
|
+
|-
+
| broadcastAddress
+
| String
+
| ...
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Network_Address_Facet|Network Address Facet]]
+
| ...
+
|-
+
| [[#Site|Site]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Network_Address_Facet|Network Address Facet]]
+
| Network address ...
+
|}
+
  
Regular expression to validate different IPv4 addresses are available at:
+
===== Encrypted =====
 
+
http://www.regextester.com/22
+
 
+
https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9780596802837/ch07s16.html
+
 
+
Both IPv4 and IPv6:
+
http://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses
+
 
+
==== Peripheral Facet ====
+
 
+
The goal of this facet is to .....
+
  
 
{|class="wikitable"
 
{|class="wikitable"
|+ Peripheral Facet <code>extends</code> [[#Facet|Facet]]
+
|+ Encrypted <code>''extends''</code> Property
|-
+
 
! Name
 
! Name
 
! Type
 
! Type
! Description
 
 
! Attributes
 
! Attributes
!
 
|-
 
| model
 
| String
 
| ...
 
|
 
|
 
|-
 
| vendor
 
| String
 
| ...
 
|
 
|-
 
! colspan=5 | Known Usage
 
|-
 
! Source
 
! Relation
 
! Multiplicity
 
! Target
 
 
! Description
 
! Description
 
|-
 
|-
|}
+
| value
 
+
==== Provenance Facet ====
+
 
+
The goal of this facet is to collect information related with resource lineage/provenance
+
 
+
{|class="wikitable"
+
|+ Provenance Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| relationship
+
| Enum
+
| .... E.g. wasDerivedFrom | wasGeneratedBy | ...
+
|
+
|
+
|-
+
| reference
+
 
| String
 
| String
| resourceID (a reference to the "originator" Resource associated to the resource the facet is attached to by the relationship)
+
|  
|
+
| The encrypted value. The resource registry store safely the value. When received the value is decrypted using the key of current context and store the value safely. When the value is read, the resource-registry retrieve the value and  encrypt it with the key of current context.
|
+
|-
+
| provenanceDocument
+
| String
+
| ... E.g. the xml format
+
|
+
|
+
|-
+
| provenanceDocumentSchema
+
| String
+
| ... E.g. a reference to the format
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Provenance_Facet|Provenance Facet]]
+
| ...
+
 
|}
 
|}
  
==== Schema Facet ====
+
The Java Interface declaration for such a type is available at:
  
The goal of this facet is to provide a way to store a schema. This is an <code>Abstract</code> facet.
+
https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/properties/Encrypted.java
  
{|class="wikitable"
+
=== Entity ===
|+ <code>Abstract</code> Schema Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| name
+
| String
+
| ...
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| description
+
| String
+
| ...
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| schemaURL
+
| URL
+
| ...
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Schema|Schema]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Schema_Facet|Schema Facet]]
+
| ...
+
|}
+
  
===== JSON Schema Facet =====
 
  
 
{|class="wikitable"
 
{|class="wikitable"
|+ JSON Schema Facet <code>extends</code> [[#Schema_Facet|Schema Facet]]
+
|+ <code>Abstract</code> Entity
 
|-
 
|-
! Name
+
| colspan=5 | '''Goal:''' This is the base type for any entity.
! Type
+
! Description
+
! Attributes
+
!
+
 
|-
 
|-
| content
+
! colspan=5 | Properties
| ...
+
| ...
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
|}
+
 
+
===== XSD Schema Facet =====
+
 
+
{|class="wikitable"
+
|+ XSD Schema Facet <code>extends</code> [[#Schema_Facet|Schema Facet]]
+
 
|-
 
|-
 
! Name
 
! Name
 
! Type
 
! Type
! Description
 
 
! Attributes
 
! Attributes
!
+
! colspan=2 | Description
|-
+
| content
+
| ...
+
| ...
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
 
|-
 
|-
 +
| header
 +
| [[#Header | Header]]
 +
| <code>Mandatory=true</code> <br/><code>NotNull=true</code> <br/><code>ReadOnly=true</code>
 +
| colspan=2 | A distinguishing string to be used by clients to identify the access point of interest.
 
|}
 
|}
  
==== Simple Property Facet ====
+
The Java Interface declaration for such a type is available at:
  
The goal of this facet is to ...
+
https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/entities/Entity.java
  
{|class="wikitable"
+
==== Resource ====
|+ Simple Property Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| name
+
| String
+
| ...
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| value
+
| String
+
| ...
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Configuration_Template|Configuration Template]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 1..n
+
| [[#Simple_Property_Facet|Simple Property Facet]]
+
| ...
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|0..n
+
| [[#Simple_Property_Facet|Simple Property Facet]]
+
| E.g. Environment Variables
+
|}
+
  
==== Software Facet ====
+
{| class="wikitable"
 
+
|+ <code>Abstract</code> Resource '''<code>extends</code>''' [[#Entity|Entity]]
The goal of this facet is to capture SW related features"
+
 
+
{|class="wikitable"
+
|+ Software Facet <code>extends</code> [[#Facet|Facet]]
+
 
|-
 
|-
! Name
+
| colspan=5 | '''Scope:''' This entity is conceived to describe every "main thing" to be registered and discovered by the Information System.  
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| name
+
| String
+
| The name of the software artefact being described. E.g. artifactId in maven, Service Name in gCube software, the software name for retail software Microsoft '''Office''' 2013-SP2.
+
|
+
|
+
|-
+
| group
+
| String
+
| The name of "group" the software artefact belongs to. E.g. groupId in Maven, ServiceClass in gCube software, company name for retail software '''Microsoft''' Office 2013-SP2.
+
|
+
|
+
|-
+
| version
+
| String
+
| The particular release of the software artefact. E.g. maven version, Service Version in gCube software, artifactId in maven, the software version for retail software Microsoft Office '''2013-SP2'''.
+
|
+
|
+
|-
+
| description
+
| String
+
| A human oriented description of the software artefact being described.
+
|
+
|
+
|-
+
| qualifier
+
| String
+
| E.g. packaging or scope in maven, scope level or sharable level in gCube software, target architecture for retail software x86 or amd64.
+
|
+
|
+
|-
+
| optional
+
| Boolean
+
| .... usesd in maven and in gcube
+
|
+
|-
+
! colspan=5 | Known Usage
+
 
|-
 
|-
 
! Source
 
! Source
 
! Relation
 
! Relation
! Multiplicity
+
! Multiplicity  
 
! Target
 
! Target
 
! Description
 
! Description
 
|-
 
|-
| [[#E-Service|E-Service]]
+
! colspan=5 | Facets
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center|1..n
+
| [[#Software_Facet|Software Facet]]
+
| The software enabling the E-Service capabilities
+
 
|-
 
|-
| [[#E-Service|E-Service]]
+
| [[#Resource|Resource]]
| [[#consistsOf|consistsOf]]
+
| [[#ConsistsOf|ConsistsOf]]
| align=center|0..n
+
| [[#Software_Facet|Software Facet]]
+
| Software available in the E-Service environment that characterizes the specific E-Service instance
+
|-
+
| [[#Running_Plugin|Running Plugin]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center|1..1
+
| [[#Software_Facet|Software Facet]]
+
| The software enabling the Running Plugin
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|0..n
+
| [[#Software_Facet|Software Facet]]
+
| Useful to report the hosted software that are not registered in the Resource Registry as Software Resource, e.g. Operating System
+
|-
+
| [[#Virtual_Service|Virtual Service]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
 
| align=center | 1..n
 
| align=center | 1..n
| [[#Software_Facet|Software Facet]]
+
| [[#Facet|Facet]]
| ...
+
| Any Resource consists of one or more Facets that describes the different aspects of the resource.
 
|-
 
|-
| [[#Software|Software]]
+
! colspan=5 | Relations
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center|1..n
+
| [[#Software_Facet|Software Facet]]
+
| Software coordinates which identify the Software per se.
+
 
|-
 
|-
| [[#Software|Software]]
+
| [[#Resource|Resource]]
| [[#consistsOf|consistsOf]]
+
| [[#isRelatedTo|isRelatedTo]]  
| align=center|1..n
+
| align=center | 0..n  
| [[#Software_Facet|Software Facet]]
+
| [[#Resource|Resource]]
| Apart the one connected with [[#isIdentifiedBy|isIdentifiedBy]] relation (gCube coordinates) the others identify the sw in other way e.g. (Maven coordinates)
+
| Any Resource can be related to any other resource.
|-
+
| [[#Plugin|Plugin]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center|1..n
+
| [[#Software_Facet|Software Facet]]
+
| Software coordinates which identify the Plugin per se.
+
 
|}
 
|}
  
==== State Facet ====
+
The Java Interface declaration for such a type is available at:
  
The goal of this facet is to ...
+
https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/entities/Resource.java
  
{|class="wikitable"
+
==== Facet ====
|+ State Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| value
+
| String
+
| The value of the state. Must be compliant with schema.
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Software|Software]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#State_Facet|State Facet]]
+
| E.g. Deprecated, Active, Obsolete
+
|}
+
  
===== Container State Facet =====
+
Early ideas and thinking on facets were documented at [[Resource_Model_(2nd_generation)#Facets | 2nd Generation Resource Model: Facets]]
 
+
{|class="wikitable"
+
|+ Container State Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| value
+
| String
+
| The value of the state
+
| <code>Mandatory=true</code> <code>NotNull=true</code> <code>Regex=(started<nowiki>|</nowiki>ready<nowiki>|</nowiki>certified<nowiki>|</nowiki>down<nowiki>|</nowiki>failed)</code>
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..1
+
| [[#Container_State_Facet|Container State Facet]]
+
| I.e. started, ready, certified, down, failed
+
|}
+
  
===== Service State Facet =====
+
Facets are collections of attributes conceived to capture a certain feature/aspect of the [[#Resource | Resource]] they are associated with.
 +
Every facet can define zero or more [[#Property|properties]]. Besides the per-facet envisaged properties, clients can add new ones.
  
 
{|class="wikitable"
 
{|class="wikitable"
|+ Service State Facet <code>extends</code> [[#Facet|Facet]]
+
|+ <code>Abstract</code> Facet '''<code>extends</code>''' [[#Entity|Entity]]
 
|-
 
|-
! Name
+
| colspan=5 | '''Goal:''' This is the base type for any Facet.
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| value
+
| String
+
| The value of the state
+
| <code>Mandatory=true</code> <code>NotNull=true</code> <code>Regex=(STARTED<nowiki>|</nowiki>ready<nowiki>|</nowiki>down<nowiki>|</nowiki>failed)</code>
+
 
|-
 
|-
 
! colspan=5 | Known Usage
 
! colspan=5 | Known Usage
Line 1,397: Line 397:
 
! Description
 
! Description
 
|-
 
|-
| [[#E-Service|E-Service]]
+
| [[#Resource|Resource]]
| [[#consistsOf|consistsOf]]
+
| [[#ConsistsOf|ConsistsOf]]
| align=center|1..1
+
| align=center | 1..n
| [[#Service_State_Facet|Service State Facet]]
+
| [[#Facet|Facet]]
| I.e. STARTED, ready, down, failed
+
| Any Resource consist of one or more Facets which describes the different aspects of the resource.
 
|}
 
|}
  
==== Subject Facet ====
 
  
The goal of this facet is to ...
+
The Java Interface declaration for such a type is available at:
  
{|class="wikitable"
+
https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/entities/Facet.java
|+ Subject Facet <code>extends</code> [[#Facet|Facet]]
+
|-
+
! Name
+
! Type
+
! Description
+
! Attributes
+
!
+
|-
+
| value
+
| String
+
| The value of the state. Must be compliant with schema.
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|
+
|-
+
| schema
+
| URI
+
| The URI of the schema. It is only an informative field. It is not used for validation from IS part.
+
| <code>Mandatory=true</code> <code>NotNull=true</code>
+
|-
+
! colspan=5 | Known Usage
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Subject_Facet|Subject Facet]]
+
| ...
+
|-
+
| [[#Schema|Schema]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Subject_Facet|Subject Facet]]
+
| ...
+
|}
+
  
== Relations ==
+
=== Relation ===
  
 
Every relation has:
 
Every relation has:
 
* An [[#Header | Header]]
 
* An [[#Header | Header]]
* A [[#Relation_Property|Relation Property]]
+
* A [[#PropagationConstraint|PropagationConstraint]]
 
* Zero or More [[#Property|properties]] (not necessarily predefined, similarly to [[#Facets|Facets]]).
 
* Zero or More [[#Property|properties]] (not necessarily predefined, similarly to [[#Facets|Facets]]).
  
=== Relation Property ===
+
The Java Interface declaration for such a type is available at:
  
{|class="wikitable"
+
https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/relations/Relation.java
! Name
+
! Type
+
! Description
+
|-
+
| referentialIntegrity
+
| Enum
+
| I.e. onDeleteCascadeWhenOrphan, onDeleteCascade, onDeleteKeep. The meaning is related to the relation direction.
+
|-
+
| accessPolicy
+
| Embedded (i.e. AccessPolicy)
+
| A policy is characterized by a name, a description, and the period ([start], [end]) when the policies apply
+
|-
+
| expiryTime
+
| Long
+
| The expiry date can be used to model the time until the relationship is valid, Expiry time in milliseconds. Represent the difference, measured in milliseconds, between the creation time and midnight, January 1, 1970 UTC
+
|}
+
  
=== isRelatedTo ===
+
==== IsRelatedTo ====
  
 
{|class="wikitable"
 
{|class="wikitable"
|+ isRelatedTo
+
|+ IsRelatedTo <code>''extends''</code> Relation
 
|-
 
|-
 
! Source
 
! Source
Line 1,488: Line 432:
 
|-
 
|-
 
| [[#Resources|Resource]]
 
| [[#Resources|Resource]]
| [[#isRelatedTo|isRelatedTo]]
+
| [[#IsRelatedTo|IsRelatedTo]]
 
| align=center | 0..n
 
| align=center | 0..n
 
| [[#Resources|Resource]]
 
| [[#Resources|Resource]]
|  
+
| A relation linking any two [[#Resources|Resources]].
 
|}
 
|}
  
==== belongsTo ====
+
The Java Interface declaration for such a type is available at:
  
{|class="wikitable"
+
https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/relations/IsRelatedTo.java
|+ belongsTo <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Person|Person]]
+
| [[#belongsTo|belongsTo]]
+
| align=center | 0..n
+
| [[#Legal_Body|Legal Body]]
+
| ...
+
|}
+
  
==== callsFor ====
+
==== ConsistsOf ====
  
 
{|class="wikitable"
 
{|class="wikitable"
|+ callsFor <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|+ ConsistsOf  <code>''extends''</code> Relation
 
|-
 
|-
 
! Source
 
! Source
Line 1,523: Line 453:
 
! Description
 
! Description
 
|-
 
|-
| [[#Service|Service]]
+
| [[#Resources|Resource]]
| [[#callsFor|callsFor]]
+
| [[#ConsistsOf|ConsistsOf]]
| align=center | 0..n
+
| [[#Service|Service]]
+
|
+
|}
+
 
+
==== demands ====
+
 
+
{|class="wikitable"
+
|+ demands <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Virtual_Service|Virtual Service]]
+
| [[#demands|demands]]
+
| align=center | 0..n
+
| [[#Software|Software]]
+
|
+
|}
+
 
+
==== dependsOn ====
+
 
+
{|class="wikitable"
+
|+ dependsOn <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Software|Software]]
+
| [[#dependsOn|dependsOn]]
+
| align=center | 0..n
+
| [[#Software|Software]]
+
|
+
|}
+
 
+
==== discovers ====
+
 
+
{|class="wikitable"
+
|+ discovers <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#discovers|discovers]]
+
| align=center | 0..n
+
| [[#E-Service|E-Service]]
+
|
+
|}
+
 
+
==== hosts ====
+
 
+
{|class="wikitable"
+
|+ hosts <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Hosting Node|Hosting Node]]
+
| [[#hosts|hosts]]
+
| align=center | 0..n
+
| [[#E-Service|E-Service]]
+
|
+
|}
+
 
+
==== isActivatedBy ====
+
 
+
{|class="wikitable"
+
|+ isActivatedBy <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Running_Plugin|Running Plugin]]
+
| [[#isActivatedBy|isActivatedBy]]
+
| align=center | 1..1
+
| [[#E-Service|E-Service]]
+
|
+
|}
+
 
+
==== isConfiguredBy ====
+
 
+
{|class="wikitable"
+
|+ isConfiguredBy <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Software|Software]]
+
| [[#isConfiguredBy|isConfiguredBy]]
+
| align=center | 0..n
+
| [[#Configuration_Template|Configuration Template]]
+
|
+
|}
+
 
+
==== isCorrelatedTo ====
+
 
+
{|class="wikitable"
+
|+ isCorrelatedTo <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#isCorrelatedTo|isCorrelatedTo]]
+
| align=center | 0..n
+
| [[#Dataset|Dataset]]
+
|
+
|}
+
 
+
===== isPartOf =====
+
 
+
{|class="wikitable"
+
|+ isPartOf <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Concrete_Dataset|Concrete Dataset]]
+
| [[#isPartOf|isPartOf]]
+
| align=center | 0..n
+
| [[#Dataset|Dataset]]
+
|
+
|}
+
 
+
==== isCustomizedBy ====
+
 
+
{|class="wikitable"
+
|+ isCustomizedBy <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Service|Service]]
+
| [[#isCustomizedBy|isCustomizedBy]]
+
| align=center | 0..n
+
| [[#Configuration|Configuration]]
+
|
+
|}
+
 
+
==== isDerivationOf ====
+
 
+
{|class="wikitable"
+
|+ isDerivationOf <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Configuration|Configuration]]
+
| [[#isDerivationOf|isDerivationOf]]
+
| align=center | 1..1
+
| [[#Configuration_Template|Configuration Template]]
+
|
+
|}
+
 
+
==== isManagedBy ====
+
 
+
{|class="wikitable"
+
|+ isManagedBy <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#isManagedBy|isManagedBy]]
+
| align=center | 0..n
+
| [[#Site|Site]]
+
|
+
|}
+
 
+
==== isPluginOf ====
+
 
+
{|class="wikitable"
+
|+ isPluginOf <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Plugin|Plugin]]
+
| [[#isPluginOf|isPluginOf]]
+
 
| align=center | 1..n
 
| align=center | 1..n
| [[#Software|Software]]
+
| [[#Facet|Facet]]
|  
+
| A relation connecting each [[#Resource|Resource]] with one of the [[#Facet|Facet]] characterizing it.
 
|}
 
|}
  
==== isPoweredBy ====
 
  
{|class="wikitable"
+
The Java Interface declaration for such a type is available at:
|+ isPoweredBy <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Hosting Node|Hosting Node]]
+
| [[#isPoweredBy|isPoweredBy]]
+
| align=center | 0..n
+
| [[#Software|Software]]
+
|
+
|}
+
  
==== manages ====
+
https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/relations/ConsistsOf.java
  
{|class="wikitable"
+
=== Internal Entity and Relation ===
|+ manages <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Service|Service]]
+
| [[#manages|manages]]
+
| align=center | 0..n
+
| [[#Dataset|Dataset]]
+
|
+
|}
+
  
==== requires ====
+
For internal use only are defined the following entity and relation:
  
{|class="wikitable"
+
* [[#Context|Context]]
|+ requires <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
* [[#IsParentOf|IsParentOf]]
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Software|Software]]
+
| [[#requires|requires]]
+
| align=center | 0..n
+
| [[#Service|Service]]
+
|
+
|}
+
  
==== runs ====
+
==== Context ====
  
{|class="wikitable"
+
Model a Context (aka scope) in the same Application Domain.
|+ runs <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#runs|runs]]
+
| align=center | 0..n
+
| [[#Software|Software]]
+
|
+
|}
+
 
+
==== runsPlugin ====
+
  
 
{|class="wikitable"
 
{|class="wikitable"
|+ runsPlugin <code>extends</code> [[#runs|runs]]
+
|+ Context
 
|-
 
|-
! Source
+
| colspan=5 | '''Goal:''' Models a Context (aka scope).
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
 
|-
 
|-
| [[#Running_Plugin|Running Plugin]]
+
! colspan=5 | Properties
| [[#runsPlugin|runsPlugin]]
+
| align=center | 1..1
+
| [[#Plugin|Plugin]]
+
|
+
|}
+
 
+
==== uses ====
+
 
+
{|class="wikitable"
+
|+ uses <code>extends</code> [[#isRelatedTo|isRelatedTo]]
+
 
|-
 
|-
! Source
+
! Name
! Relation
+
! Type
! Multiplicity
+
! Attributes
! Target
+
! colspan=2 | Description
! Description
+
 
|-
 
|-
| [[#E-Service|E-Service]]
+
| name
| [[#uses|uses]]
+
| String
| align=center | 0..n
+
| <code>Mandatory=true</code> <br/> <code>NotNull=true</code>
| [[#E-Service|E-Service]]
+
| colspan=2 | The name of the context. Two [[#Context|Context]] with the same name can exist but they cannot have the same parent. In other words, a [[#Context|Context]] cannot have two children with the same name.
|
+
|}
+
 
+
=== consistsOf ===
+
 
+
{|class="wikitable"
+
|+ isIdentifiedBy
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
| [[#Resources|Resource]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 1..n
+
| [[#Facet|Facet]]
+
|
+
|}
+
 
+
==== isIdentifiedBy ====
+
 
+
{|class="wikitable"
+
|+ isIdentifiedBy <code>extends</code> [[#consistsOf|consistsOf]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resource]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Facet|Facet]]
+
|
+
 
|-
 
|-
 
! colspan=5 | Known Usage
 
! colspan=5 | Known Usage
|-
 
| [[#Actor|Actor]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Contact_Facet|Contact Facet]]
 
|
 
|-
 
| [[#Legal_Body|Legal Body]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Contact_Facet|Contact Facet]]
 
|
 
|-
 
| [[#Person|Person]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Contact_Facet|Contact Facet]]
 
|
 
|-
 
| [[#Configuration_Template|Configuration Template]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Identifier_Facet|Identifier Facet]]
 
|
 
|-
 
| [[#Configuration|Configuration]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Identifier_Facet|Identifier Facet]]
 
|
 
|-
 
| [[#Dataset|Dataset]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Identifier_Facet|Identifier Facet]]
 
|
 
|-
 
| [[#Concrete_Dataset|Concrete Dataset]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Identifier_Facet|Identifier Facet]]
 
|
 
|-
 
| [[#Service|Service]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Facet|Facet]]
 
|
 
|-
 
| [[#Virtual_Service|Virtual Service]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Software_Facet|Software Facet]]
 
| ...
 
|-
 
| [[#E-Service|E-Service]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center|1..1
 
| [[#Software_Facet|Software Facet]]
 
| ...
 
|-
 
| [[#Schema|Schema]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Identifier_Facet|Identifier Facet]]
 
| ...
 
|-
 
| [[#Site|Site]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center | 1..n
 
| [[#Identifier_Facet|Identifier Facet]]
 
| ...
 
|-
 
| [[#Software|Software]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center|1..n
 
| [[#Software_Facet|Software Facet]]
 
| Software coordinates which identify the Software per se.
 
|-
 
| [[#Plugin|Plugin]]
 
| [[#isIdentifiedBy|isIdentifiedBy]]
 
| align=center|1..n
 
| [[#Software_Facet|Software Facet]]
 
| Software coordinates which identify the Plugin per se.
 
|}
 
 
==== hasCoverage ====
 
 
{|class="wikitable"
 
|+ <code>Abstract</code> hasCoverage <code>extends</code> [[#consistsOf|consistsOf]]
 
 
|-
 
|-
 
! Source
 
! Source
Line 1,989: Line 501:
 
! Description
 
! Description
 
|-
 
|-
! colspan=5 | Definition
+
| [[#Context|Context]]
|-
+
| [[#IsParentOf|IsParentOf]]
| [[#Resources|Resources]]
+
| [[#hasCoverage|hasCoverage]]
+
 
| align=center | 0..n
 
| align=center | 0..n
| [[#Coverage_Facet|Coverage Facet]]
+
| [[#Context|Context]]
| ...
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasCoverage|hasCoverage]]
+
| align=center | 1..n
+
| [[#Coverage_Facet|Coverage Facet]]
+
 
| ...
 
| ...
 
|}
 
|}
  
===== hasTemporal =====
+
==== IsParentOf ====
  
{|class="wikitable"
+
This relation has no propagation constraint.
|+ hasTemporal  <code>extends</code> [[#hasCoverage|hasCoverage]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resources]]
+
| [[#hasTemporal|hasTemporal]]
+
| align=center | 0..n
+
| [[#Coverage_Facet|Coverage Facet]]
+
| ...
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasTemporal|hasTemporal]]
+
| align=center | 0..n
+
| [[#Coverage_Facet|Coverage Facet]]
+
| ...
+
|}
+
 
+
===== hasSpatial =====
+
  
 
{|class="wikitable"
 
{|class="wikitable"
|+ hasSpatial  <code>extends</code> [[#hasCoverage|hasCoverage]]
 
 
|-
 
|-
 
! Source
 
! Source
Line 2,045: Line 520:
 
! Description
 
! Description
 
|-
 
|-
! colspan=5 | Definition
+
| [[#Context|Context]]
|-
+
| [[#IsParentOf|IsParentOf]]
| [[#Resources|Resources]]
+
| [[#hasSpatial|hasSpatial]]
+
 
| align=center | 0..n
 
| align=center | 0..n
| [[#Coverage_Facet|Coverage Facet]]
+
| [[#Context|Context]]
| ...
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasSpatial|hasSpatial]]
+
| align=center | 0..n
+
| [[#Coverage_Facet|Coverage Facet]]
+
 
| ...
 
| ...
 
|}
 
|}
  
==== hasMemory ====
+
=== Best practices and guidelines ===
 
+
{|class="wikitable"
+
|+ <code>Abstract</code> hasMemory <code>extends</code> [[#consistsOf|consistsOf]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resources]]
+
| [[#hasMemory|hasMemory]]
+
| align=center | 0..n
+
| [[#Memory_Facet|Memory Facet]]
+
| ...
+
|}
+
 
+
===== hasPersistent =====
+
 
+
{|class="wikitable"
+
|+ hasPersistent <code>extends</code> [[#hasMemory|hasMemory]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resources]]
+
| [[#hasPersistent|hasPersistent]]
+
| align=center | 0..n
+
| [[#Memory_Facet|Memory Facet]]
+
| ...
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#hasPersistent|hasPersistent]]
+
| align=center|1..n
+
| [[#Memory_Facet|Memory Facet]]
+
| Disk Space
+
|}
+
 
+
===== hasVolatile =====
+
 
+
{|class="wikitable"
+
|+ hasVolatile <code>extends</code> [[#hasMemory|hasMemory]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resources]]
+
| [[#hasVolatile|hasVolatile]]
+
| align=center | 0..n
+
| [[#Memory_Facet|Memory Facet]]
+
| ...
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#hasVolatile|hasVolatile]]
+
| align=center|1..n
+
| [[#Memory_Facet|Memory Facet]]
+
| RAM
+
|}
+
 
+
==== hasContact ====
+
 
+
{| class="wikitable"
+
|+ <code>Abstract</code> hasContact <code>extends</code> [[#consistsOf|consistsOf]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resource]]
+
| [[#hasContact|hasContact]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasContact|hasContact]]
+
| align=center|1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|}
+
 
+
 
+
===== hasContributor =====
+
 
+
{| class="wikitable"
+
|+ hasContributor <code>extends</code> [[#hasContact|hasContact]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resource]]
+
| [[#hasContributor|hasContributor]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasContributor|hasContributor]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the contributor
+
|}
+
 
+
===== hasCreator =====
+
 
+
{| class="wikitable"
+
|+ hasCreator <code>extends</code> [[#hasContact|hasContact]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resource]]
+
| [[#hasCreator|hasCreator]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasCreator|hasCreator]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the creator
+
|}
+
 
+
===== hasCurator =====
+
 
+
{| class="wikitable"
+
|+ hasCurator <code>extends</code> [[#hasContact|hasContact]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resource]]
+
| [[#hasCurator|hasCurator]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasCurator|hasCurator]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the curator
+
|}
+
 
+
===== hasDeveloper =====
+
 
+
{| class="wikitable"
+
|+ hasDeveloper <code>extends</code> [[#hasContact|hasContact]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resource]]
+
| [[#hasDeveloper|hasDeveloper]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
|}
+
 
+
===== hasMaintainer =====
+
 
+
{| class="wikitable"
+
|+ hasMaintainer <code>extends</code> [[#hasContact|hasContact]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resource]]
+
| [[#hasMaintainer|hasMaintainer]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasMaintainer|hasMaintainer]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the maintainer
+
|}
+
 
+
===== hasManager =====
+
 
+
{| class="wikitable"
+
|+ hasManager <code>extends</code> [[#hasContact|hasContact]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resource]]
+
| [[#hasManager|hasManager]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
|}
+
 
+
===== hasOwner =====
+
 
+
{| class="wikitable"
+
|+ hasOwner <code>extends</code> [[#hasContact|hasContact]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Definition
+
|-
+
| [[#Resources|Resource]]
+
| [[#hasOwner|hasOwner]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
|
+
|-
+
! colspan=5 | Known Usage
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasOwner|hasOwner]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the owner
+
|}
+
 
+
== Resources ==
+
 
+
Every Resource has:
+
* An [[#Header|Header]]
+
* One or More relation with [[#Facets|Facets]]
+
* Zero or More relation with other [[#Resources|Resources]]
+
 
+
A class can be identified as <code>Abstract</code>. This means that cannot be instantiated. uses specialization instead.
+
It is not required that an Abstract class establish an [[#isIdentifiedBy|isIdentifiedBy]] relation with a [[#Facets|Facet]].
+
 
+
=== Resource ===
+
{| class="wikitable"
+
|+ <code>Abstract</code> Resource Profile
+
|-
+
| colspan=5 | This entity is conceived to describe every "main thing" to be registered and discovered by the Information System.
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Resource|Resource]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Facet|Facet]]
+
| Any Resource has at least one Facet which in some way allow to identify the Resource per se.
+
|-
+
| [[#Resource|Resource]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Facet|Facet]]
+
| Any Resource consist of zero or more Facets which describes the different aspects of the facet.
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Resource|Resource]]
+
| [[#isRelatedTo|isRelatedTo]]
+
| align=center | 0..n
+
| [[#Resource|Resource]]
+
| Any Resource can be related to any other resource.
+
|}
+
 
+
The following Resources have been identified:
+
 
+
==== Actor ====
+
 
+
{| class="wikitable"
+
|+ <code>Abstract</code> Actor
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Actor|Actor]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| An Actor has at least a Contact Facet which permit to identify the Actor per se.
+
|-
+
| [[#Actor|Actor]]
+
| [[#hasContact|hasContact]]
+
| align=center | 0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| An Actor can have other Contact Facets which provide secondary contact information.
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Actor|Actor]]
+
| [[#isRelatedTo|isRelatedTo]]
+
| align=center | 0..n
+
| ...
+
| ...
+
|}
+
 
+
===== Legal Body =====
+
 
+
{| class="wikitable"
+
|+ Legal Body <code>extends</code> [[#Actor|Actor]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Legal_Body|Legal Body]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| A Legal Body has at least a Contact Facet which permit to identify the Legal Body per se.
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Person|Person]]
+
| [[#belongsTo|belongsTo]]
+
| align=center | 0..n
+
| [[#Legal_Body|Legal Body]]
+
| ...
+
|}
+
 
+
===== Person =====
+
 
+
{| class="wikitable"
+
|+ Person <code>extends</code> [[#Actor|Actor]]
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Person|Person]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| A Person has at least a Contact Facet which permit to identify the Person per se.
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Person|Person]]
+
| [[#belongsTo|belongsTo]]
+
| align=center | 0..n
+
| [[#Legal_Body|Legal Body]]
+
| ...
+
|}
+
 
+
==== Configuration Template ====
+
 
+
It represents a template for a configuration. It describe how a configuration has to be realized. E.g. Used to define the accounting configuration parameters template.
+
 
+
{| class="wikitable"
+
|+ Configuration Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Configuration_Template|Configuration Template]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Identifier_Facet|Identifier Facet]]
+
| ...
+
|-
+
| [[#Configuration_Template|Configuration Template]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 1..n
+
| [[#Simple_Property_Facet|Simple Property Facet]]
+
| ...
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Configuration|Configuration]]
+
| [[#isDerivationOf|isDerivationOf]]
+
| align=center | 1..1
+
| [[#Configuration_Template|Configuration Template]]
+
| ...
+
|-
+
| [[#Software|Software]]
+
| [[#isConfiguredBy|isConfiguredBy]]
+
| align=center | 0..n
+
| [[#Configuration_Template|Configuration Template]]
+
| ...
+
|}
+
 
+
 
+
===== Configuration =====
+
 
+
{| class="wikitable"
+
|+ Configuration Profile <code>extends</code>
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Configuration|Configuration]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Identifier_Facet|Identifier Facet]]
+
| ...
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Configuration|Configuration]]
+
| [[#isDerivationOf|isDerivationOf]]
+
| align=center | 1..1
+
| [[#Configuration_Template|Configuration Template]]
+
| ...
+
|-
+
| [[#Service|Service]]
+
| [[#isCustomizedBy|isCustomizedBy]]
+
| align=center | 0..n
+
| [[#Configuration|Configuration]]
+
| ...
+
|}
+
 
+
==== Dataset ====
+
 
+
{| class="wikitable"
+
|+ Dataset Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Identifier_Facet|Identifier Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasContact|hasContact]]
+
| align=center|1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasContributor|hasContributor]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the contributor
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasCreator|hasCreator]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the creator
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasCurator|hasCurator]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the curator
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasMaintainer|hasMaintainer]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the maintainer
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasOwner|hasOwner]]
+
| align=center|0..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the owner
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Access_Point_Facet|Access Point Facet]]
+
| The embargoState can be modeled through the access policy defined in the consistsOf relation
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#License_Facet|License Facet]]
+
| The duration of license if any can can be modeled through the expiry date defined in the consistsOf relation
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Event_Facet|Event Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Provenance_Facet|Provenance Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasCoverage|hasCoverage]]
+
| align=center | 1..n
+
| [[#Coverage_Facet|Coverage Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasTemporal|hasTemporal]]
+
| align=center | 0..n
+
| [[#Coverage_Facet|Coverage Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#hasSpatial|hasSpatial]]
+
| align=center | 0..n
+
| [[#Coverage_Facet|Coverage Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Descriptive_Metadata_Facet|Descriptive Metadata Facet]]
+
| ...
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Subject_Facet|Subject Facet]]
+
| ...
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Dataset|Dataset]]
+
| [[#isCorrelatedTo|isCorrelatedTo]]
+
| align=center | 0..n
+
| [[#Dataset|Dataset]]
+
| ...
+
|-
+
| [[#Concrete_Dataset|Concrete Dataset]]
+
| [[#isPartOf|isPartOf]]
+
| align=center | 0..n
+
| [[#Dataset|Dataset]]
+
| ...
+
|-
+
| [[#Service|Service]]
+
| [[#manages|manages]]
+
| align=center | 0..n
+
| [[#Dataset|Dataset]]
+
| ...
+
|}
+
 
+
===== Concrete Dataset =====
+
 
+
{| class="wikitable"
+
|+ Concrete Dataset Profile <code>''extends''</code> [[#Dataset | Dataset]] Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Concrete_Dataset|Concrete Dataset]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Identifier_Facet|Identifier Facet]]
+
|
+
|-
+
| [[#Concrete_Dataset|Concrete Dataset]]
+
| [[#hasMaintainer|hasMaintainer]]
+
| align=center|1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| Is he the maintainer
+
|-
+
| [[#Concrete_Dataset|Concrete Dataset]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 1..n
+
| [[#Access_Point_Facet|Access Point Facet]]
+
| The embargoState can be modeled through the access policy defined in the consistsOf relation
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Concrete_Dataset|Concrete Dataset]]
+
| [[#isPartOf|isPartOf]]
+
| align=center | 0..n
+
| [[#Dataset|Dataset]]
+
| ...
+
|-
+
|}
+
 
+
==== Service ====
+
 
+
{| class="wikitable"
+
|+ <code>Abstract</code> Service Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Service|Service]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Facet|Facet]]
+
|
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Service|Service]]
+
| [[#callsFor|callsFor]]
+
| align=center | 0..n
+
| [[#Service|Service]]
+
| ...
+
|-
+
| [[#Service|Service]]
+
| [[#isCustomizedBy|isCustomizedBy]]
+
| align=center | 0..n
+
| [[#Configuration|Configuration]]
+
| ...
+
|-
+
| [[#Service|Service]]
+
| [[#manages|manages]]
+
| align=center | 0..n
+
| [[#Dataset|Dataset]]
+
| ...
+
|-
+
| [[#Software|Software]]
+
| [[#requires|requires]]
+
| align=center | 0..n
+
| [[#Service|Service]]
+
| ...
+
|}
+
 
+
===== E-Service =====
+
 
+
{| class="wikitable"
+
|+ E-Service Profile <code>''extends''</code> [[#Service|Service]] Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center|1..n
+
| [[#Software_Facet|Software Facet]]
+
| The software enabling the E-Service capabilities
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|0..n
+
| [[#Software_Facet|Software Facet]]
+
| Software available in the E-Service environment that characterizes the specific E-Service instance
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Access_Point_Facet|Access Point Facet]]
+
| Identify the endpoints of the E-Service
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Event_Facet|Event Facet]]
+
| E.g. ActivationTime, DeploymentTime
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..1
+
| [[#Service_State_Facet|Service State Facet]]
+
| I.e. STARTED, ready, down, failed
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|0..n
+
| [[#License_Facet|License Facet]]
+
| The specific terms of use for programmatic access to the service
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#discovers|discovers]]
+
| align=center | 0..n
+
| [[#E-Service|E-Service]]
+
| A reference to any other E-Service, the E-Service instance is discovering through query on IS.
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#runs|runs]]
+
| align=center | 0..n
+
| [[#Software|Software]]
+
| ...
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#uses|uses]]
+
| align=center | 0..n
+
| [[#E-Service|E-Service]]
+
| A reference to any other E-Service, the E-Service instance is invoking.
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#hosts|hosts]]
+
| align=center | 0..n
+
| [[#E-Service|E-Service]]
+
| ...
+
|-
+
| [[#Running_Plugin|Running Plugin]]
+
| [[#isActivatedBy|isActivatedBy]]
+
| align=center | 1..1
+
| [[#E-Service|E-Service]]
+
| A reference to the E-Service is running the plugin.
+
|}
+
 
+
 
+
====== Running Plugin ======
+
 
+
{| class="wikitable"
+
|+ Running Plugin Profile <code>''extends''</code> [[#E-Service|E-Service]] Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Running_Plugin|Running Plugin]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center|1..1
+
| [[#Software_Facet|Software Facet]]
+
| The software enabling the Running Plugin
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Running_Plugin|Running Plugin]]
+
| [[#isActivatedBy|isActivatedBy]]
+
| align=center | 1..1
+
| [[#E-Service|E-Service]]
+
| A reference to the E-Service is running the plugin.
+
|-
+
| [[#Running_Plugin|Running Plugin]]
+
| [[#runsPlugin|runsPlugin]]
+
| align=center | 0..n
+
| [[#Plugin|Plugin]]
+
| ...
+
|}
+
 
+
===== Hosting Node =====
+
 
+
{| class="wikitable"
+
|+ Hosting Node Profile <code>''extends''</code> [[#Service | Service]] Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Network_Address_Facet|Network Address Facet]]
+
| ...
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#CPU_Facet|CPU Facet]]
+
| CPU Information
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#hasPersistent|hasPersistent]]
+
| align=center|1..n
+
| [[#Memory_Facet|Memory Facet]]
+
| Disk Space
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#hasVolatile|hasVolatile]]
+
| align=center|1..n
+
| [[#Memory_Facet|Memory Facet]]
+
| RAM
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Event_Facet|Event Facet]]
+
| ...
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..1
+
| [[#Container_State_Facet|Container State Facet]]
+
| I.e. started, ready, certified, down, failed
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|0..n
+
| [[#Simple_Property_Facet|Simple Property Facet]]
+
| E.g. Environment Variables
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|0..n
+
| [[#Software_Facet|Software Facet]]
+
| Useful to report the hosted software that are not registered in the Resource Registry as Software Resource, e.g. Operating System
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#hosts|hosts]]
+
| align=center | 0..n
+
| [[#E-Service|E-Service]]
+
| A reference to any E-Service instance, the Hosting Node instance is hosting.
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#isManagedBy|isManagedBy]]
+
| align=center | 0..n
+
| [[#Site|Site]]
+
| ...
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#isPoweredBy|isPoweredBy]]
+
| align=center | 0..n
+
| [[#Software|Software]]
+
| ...
+
|}
+
 
+
===== Virtual Service =====
+
 
+
{| class="wikitable"
+
|+ Virtual Service Profile <code>''extends''</code> [[#Service | Service]] Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Virtual_Service|Virtual Service]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Software_Facet|Software Facet]]
+
| ...
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Virtual_Service|Virtual Service]]
+
| [[#demands|demands]]
+
| align=center | 0..n
+
| [[#Software|Software Facet]]
+
| ...
+
|}
+
 
+
==== Schema ====
+
 
+
{| class="wikitable"
+
|+ Schema Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Schema|Schema]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Schema_Facet|Schema Facet]]
+
| ...
+
|-
+
| [[#Schema|Schema]]
+
| [[#hasContact|hasContact]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|-
+
| [[#Schema|Schema]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Descriptive_Metadata_Facet|Descriptive Metadata Facet]]
+
| ...
+
|-
+
| [[#Schema|Schema]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 0..n
+
| [[#Subject_Facet|Subject Facet]]
+
| ...
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Schema|Schema]]
+
| ...
+
| align=center | 0..n
+
| ...
+
| ...
+
|}
+
 
+
==== Site ====
+
 
+
{| class="wikitable"
+
|+ Site Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Site|Site]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center | 1..n
+
| [[#Identifier_Facet|Identifier Facet]]
+
| ...
+
|-
+
| [[#Site|Site]]
+
| [[#hasContact|hasContact]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|-
+
| [[#Site|Site]]
+
| [[#hasMaintainer|hasMaintainer]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|-
+
| [[#Site|Site]]
+
| [[#hasManager|hasManager]]
+
| align=center | 1..n
+
| [[#Contact_Facet|Contact Facet]]
+
| ...
+
|-
+
| [[#Site|Site]]
+
| [[#consistsOf|consistsOf]]
+
| align=center | 1..n
+
| [[#Location_Facet|Location Facet]]
+
| ...
+
|-
+
| [[#Site|Site]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Network_Address_Facet|Network Address Facet]]
+
| Network address ...
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#isManagedBy|isManagedBy]]
+
| align=center | 0..n
+
| [[#Site|Site]]
+
| ...
+
|}
+
 
+
==== Software ====
+
 
+
{| class="wikitable"
+
|+ Software Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
| [[#Software|Software]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center|1..n
+
| [[#Software_Facet|Software Facet]]
+
| Software coordinates which identify the Software per se.
+
|-
+
| [[#Software|Software]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Software_Facet|Software Facet]]
+
| Apart the one connected with [[#isIdentifiedBy|isIdentifiedBy]] relation (gCube coordinates) the others identify the sw in other way e.g. (Maven coordinates)
+
|-
+
| [[#Software|Software]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#Access_Point_Facet|Access Point Facet]]
+
| Links to maven artifact on nexus, javadoc, wiki, svn ...
+
|-
+
| [[#Software|Software]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#License_Facet|License Facet]]
+
| ...
+
|-
+
| [[#Software|Software]]
+
| [[#consistsOf|consistsOf]]
+
| align=center|1..n
+
| [[#State_Facet|State Facet]]
+
| E.g. Deprecated, Active, Obsolete
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Software|Software]]
+
| [[#dependsOn|dependsOn]]
+
| align=center|0..n
+
| [[#Software|Software]]
+
| ...
+
|-
+
| [[#Software|Software]]
+
| [[#isConfiguredBy|isConfiguredBy]]
+
| align=center|0..n
+
| [[#Configuration_Template|Configuration Template]]
+
| E.g. Accounting Sw uses it to discover the configuration
+
|-
+
| [[#Software|Software]]
+
| [[#requires|requires]]
+
| align=center|0..n
+
| [[#Service|Service]]
+
| E.g. A software requiring a specific database
+
|-
+
| [[#Virtual_Service|Virtual Service]]
+
| [[#demands|demands]]
+
| align=center|0..n
+
| [[#Software|Software]]
+
| ...
+
|-
+
| [[#E-Service|E-Service]]
+
| [[#runs|runs]]
+
| align=center|0..n
+
| [[#Software|Software]]
+
| ...
+
|-
+
| [[#Hosting_Node|Hosting Node]]
+
| [[#isPoweredBy|isPoweredBy]]
+
| align=center|0..n
+
| [[#Software|Software]]
+
| ...
+
|-
+
| [[#Plugin|Plugin]]
+
| [[#isPluginOf|isPluginOf]]
+
| align=center|0..n
+
| [[#Software|Software]]
+
| ...
+
|}
+
 
+
==== Plugin ====
+
 
+
{| class="wikitable"
+
|+ Plugin Profile <code>''extends''</code> [[#Software|Software]] Profile
+
|-
+
! Source
+
! Relation
+
! Multiplicity
+
! Target
+
! Description
+
|-
+
! colspan=5 | Facets
+
|-
+
|-
+
| [[#Plugin|Plugin]]
+
| [[#isIdentifiedBy|isIdentifiedBy]]
+
| align=center|1..n
+
| [[#Software_Facet|Software Facet]]
+
| Software coordinates which identify the Plugin per se.
+
|-
+
! colspan=5 | Resources
+
|-
+
| [[#Plugin|Plugin]]
+
| [[#isPluginOf|isPluginOf]]
+
| align=center|1..n
+
| [[#Software|Software]]
+
| A reference to the [[#Software|Software]] this [[#Plugin|Plugin]] extends capabilities.
+
|-
+
| [[#Running_Plugin|Running Plugin]]
+
| [[#runsPlugin|runsPlugin]]
+
| align=center | 0..n
+
| [[#Plugin|Plugin]]
+
| ...
+
|}
+
 
+
== Best practices and guidelines ==
+
  
 
* On Facet instances "reuse" across Resource Profiles:
 
* On Facet instances "reuse" across Resource Profiles:
** This can be guaranteed automatically by the system, if and just in the case the system want to avoid duplication of information. It is based on a configuration policy;  
+
** This can be guaranteed automatically by the system, if and just in the case the system wants to avoid duplication of information. It is based on a configuration policy;  
 
** This MUST be done only when a change in a facet instance MUST affect a change in all Resources connected to such a Facet.
 
** This MUST be done only when a change in a facet instance MUST affect a change in all Resources connected to such a Facet.
  
== Internal Entity and Relation ==
 
  
For internal use only are defined the following entity and relation:
+
=== Maven coordinates ===
  
* [[#Context|Context]]
+
To use the Java library containing the classes modelling the IS Model you can declare the following dependency:
* [[#isParentOf|isParentOf]]
+
  
=== Context ===
+
<source lang="xml">
 +
<dependency>
 +
<groupId>org.gcube.information-system</groupId>
 +
<artifactId>information-system-model</artifactId>
 +
<version>[5.0.0,6.0.0-SNAPSHOT)</version>
 +
<dependency>
 +
</source>
  
Model a Context (aka scope)
+
== gCube Model ==
  
=== isParentOf ===
+
An example of instantiation of the IS model is the [[gCube Model]].
 
+
{|class="wikitable"
+
!Source
+
!Target
+
!Description
+
|-
+
| [[#Context|Context]]
+
| [[#Context|Context]]
+
|
+
|}
+

Latest revision as of 18:15, 26 January 2023

The Information System Model (henceforth IS Model) is used by Information System Resource Registry

Disclaimer

This Model is part of research conducted in the context of a PhD. This wiki page represents just a partial view of the full rationale of the research. To have a complete overview of the rationale of the model, please refer to the PhD thesis which is publicly available at:

https://etd.adm.unipi.it/t/etd-05102019-114151/

https://openportal.isti.cnr.it/doc?id=people______::470484e51fcb9e307a418c800efc44c8


If you need to refer to such work you can cite the PhD Thesis.

BibText:

@phdthesis{frosini2019transactional,
  title={Transactional REST Information System for Federated Research Infrastructures enabling Virtual Research Environments},
  author={Frosini, Luca},
  year={2019},
  school={UNIVERSIT{\`A} DI PISA}
}

An previous paper about this work is:

BibText:

@article{frosini2018facet,
  title={A Facet-based Open and Extensible Resource Model for Research Data Infrastructures.},
  author={Frosini, Luca and Pagano, Pasquale},
  journal={Grey Journal (TGJ)},
  volume={14},
  number={2},
  year={2018}
}

IS Model

The Information System Model (henceforth IS Model) is a graph model with Entities as nodes and Relations as edges.

Is-model.png

Is-model-er.png

  • Two typologies of entities are envisaged:
    • Resources, i.e. entities representing a description of "thing" to be managed;
      • Every Resource is described by a number of Facets.
    • Facets, i.e. entities contributing to "build" a description of a Resource. Every facet, once attached to a Resource profile captures a certain aspect / characterization of the resource;
      • Every facet is characterised by a number of properties;
  • Each entity and relation
    • has an header automatically generated for the sake of identification and provenance of the specific information;
    • can be specialized
      • A number of specializations are identified below. Such specializations are managed by the gCube Core services, i.e. Core services builds upon these specializations to realize its management tasks;
      • Other specializations can be defined by clients, the system make it possible to store these additional typologies of relations and facets and to discover them.
  • Facet and Relation instances can have additional properties which are not defined in the schema (henceforth schema-mixed mode).
  • On relations:
    • Any relation has a direction, i.e. a "source" (out bound of the relation) and a "target" (in bound of the relation). Anyway, the relation can be also navigated in the opposite direction;
    • It is not permitted to define a Relation having a Facet as "source". In other words:
      • It is not permitted to define a Relation connecting a Facet with another one;
      • It is not permitted to define a Relation connecting a Facet with a Resource (as target);
    • A Facet instance can be linked (by ConsistsOf or any specialization of it) from different Resources.

We derived the term Facet directly from the dictionary definition. Merriam Webster Dictionary defines facet as “any of the definable aspects that make up a subject (as of contemplation) or an object (as of consideration)”[1]. The Free Dictionary defines a facet as “One of numerous aspects, as of a subject” [2].


Type Attributes

Any attribute defined in the type schema is characterised by:

  • Name : Property Name
  • Type : The Type of the Property (e.g. String, Integer, ...). It can be a Basic Type or a Derived Type or a Complex Type
  • Description : The description of the Property. default=null.
  • Mandatory (M): Indicate if the Property is mandatory. default=false.
  • ReadOnly (RO): The Property cannot change its value. default=false.
  • NotNull (NN): Whether the property must assume a value diverse from 'null' or not. default=false
  • Max (Max): default=null
  • Min (Min): default=null
  • Regex (Reg)): A Regular Expression to validate the property value, default=null. A good online tool for regex is avalable at https://regex101.com/

Basic Types

Type Java type Description
Boolean java.lang.Boolean or boolean Handles only the values True or False.
Integer java.lang.Integer or int or java.math.BigInteger 32-bit signed Integers.
Short java.lang.Short or short Small 16-bit signed integers.
Long java.lang.Long or long Big 64-bit signed integers.
Float java.lang.Float or float Decimal numbers.
Double java.lang.Double or double Decimal numbers with high precision.
Date java.util.Date Any date with the precision up to milliseconds.
String java.lang.String Any string as alphanumeric sequence of chars.
Byte java.lang.Byte or byte Single byte. useful to store small 8-bit signed integers.
Binary java.lang.Byte[] or byte[] Can contain any value as byte array.

Derived Types

The following are obtained using a String as real type and adding a validation regex.

Type Java type Description
Enum java.lang.Enum or enum by default it is represented using the String representation of the Enum. So that the primitive type used will be String. The enumeration is checked by setting Regexpr property. The Regular Expression is auto-generated and it will be something like ^(FIRST-ENUM-STRING_REPRESENTATION|SECOND-ENUM-STRING_REPRESENTATION|...|LAST_ENUM_STRING_REPRESENTATION)$.

Otherwise (if indicated using an annotation), it can be represented using the Integer value of the Enum. So that the primitive type used will be Integer. The enumeration is checked using Max and Min properties.

UUID java.util.UUID String representation of the UUID. The check is obtained using the regular expression ^([a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}){1}$
URL java.net.URL String representation of the URL. No check actually.
URI java.net.URI String representation of the URI. No check actually.
TypeVersion org.gcube.informationsystem.utils.TypeVersion A type representing and validating a version in the following format X.X.X Major(Integer).Minor(Integer).Revision(Integer) (e.g 1.0.0, 2.3.0, 2.0.1). The check is obtained using the regular expression ^[1-9][0-9]{0,}\.(0|([1-9][0-9]{0,}))\.(0|([1-9][0-9]{0,}))$.

Complex Types

Any property defined by composing basic types, complex types and other complex types. Any complex type can be defined by extending Property type.

Type Java type Description
Property ? extends org.gcube.informationsystem.model.reference.properties.Property This is an Object contained inside the owner Entity and has no Header. It is reachable only by navigating the owner Entity/Relation.
Property list List<? extends org.gcube.informationsystem.model.reference.properties.Property> List of Objects contained inside the owner Entity and have no Header. They are reachable only by navigating the owner Entity/Relation.
Property set Set<? org.gcube.informationsystem.model.reference.properties.Property> Set (no duplicates) of Objects contained inside the owner Entity and have no Header. They are reachable only by navigating the owner Entity/Relation.
Property map Map<String, ? extends org.gcube.informationsystem.model.reference.properties.Propertyd> Map of Objects contained inside the owner Entity and have no Header. They are reachable only by navigating the owner Entity/Relation.

Property

It does not define any field. It is just used as a base class.

The Java Interface declaration for such a type is available at:

https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/properties/Property.java

Header

Every Entity and Relation has an Header automatically created/updated by the System.

Header extends Property
Name Type Attributes Description
uuid UUID Mandatory=true
NotNull=true
ReadOnly=true
This UUID is be used to identify the Entity or the Relation univocally.
createdBy String Mandatory=true
NotNull=true
ReadOnly=true
The user that created the Entity or the Relation. It is initialized at creation time.
creationTime Date Mandatory=true
NotNull=true
ReadOnly=true
Creation time.
lastUpdateBy String Mandatory=true
NotNull=true
The user that made the last update to the Entity or the Relation. At creation time, it assumes the same value of creator.
lastUpdateTime Date Mandatory=true
NotNull=true
Last Update time. At creation time it assumes the same value of creationTime.


The Java Interface declaration for such a type is available at:

https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/properties/Header.java

PropagationConstraint

At any time entities and relations can be added or removed to/from a context or deleted. The PropagationConstraint property contained in each relation is a predefined Property type which indicates the behaviour to be held on a target entity when an event related to a context occurs in the source resource or directly to the relation.

PropagationConstraint extends Property
Name Type Attributes Description
remove Enum Regex=(cascadeWhenOrphan|cascade|keep) It indicates the behaviour to implement for the target Entity when a 'remove' action is performed on the source Resource. Remove actions are: (i) the operation of removing an instance from a context; (ii) the operation of deleting an instance (it has an impact on all contexts).
add Enum Regex=(propagate|unpropagate) It indicates the behaviour to implement for the target Entity when an 'add' action is performed on the source Resource. Add action is the operation of adding an instance to a context.


Remove values;

  • cascadeWhenOrphan: When a remove action is performed on the source Entity of the relation, or directly on the relation, then the same remove action apart on the relation is performed to the target entity if it has no other incoming relations.
  • cascade: When a remove action is performed on the source Entity of the relation, or directly on the relation, then the same remove action is performed on the relation and its target entity.
  • keep: When a remove action is performed on the source Entity of the relation, or directly on the relation, then the same remove action is performed on relation but never to the target entity.


Add values;

  • propagate: When an 'add' action is performed on the source Entity of the relation, or directly on the relation, then the same add action is performed on the relation and its target Entity.
  • unpropagate: When an 'add' action is performed on the source Entity of the relation, is performed on source relation only. Trying to perform an 'add' action on the relation has no effects.


Any Relation contains such a property. If the values are not specified at creation time the system initialize it with the following rules:


The Java Interface declaration for such a type is available at:

https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/properties/PropagationConstraint.java

Encrypted
Encrypted extends Property
Name Type Attributes Description
value String The encrypted value. The resource registry store safely the value. When received the value is decrypted using the key of current context and store the value safely. When the value is read, the resource-registry retrieve the value and encrypt it with the key of current context.

The Java Interface declaration for such a type is available at:

https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/properties/Encrypted.java

Entity

Abstract Entity
Goal: This is the base type for any entity.
Properties
Name Type Attributes Description
header Header Mandatory=true
NotNull=true
ReadOnly=true
A distinguishing string to be used by clients to identify the access point of interest.

The Java Interface declaration for such a type is available at:

https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/entities/Entity.java

Resource

Abstract Resource extends Entity
Scope: This entity is conceived to describe every "main thing" to be registered and discovered by the Information System.
Source Relation Multiplicity Target Description
Facets
Resource ConsistsOf 1..n Facet Any Resource consists of one or more Facets that describes the different aspects of the resource.
Relations
Resource isRelatedTo 0..n Resource Any Resource can be related to any other resource.

The Java Interface declaration for such a type is available at:

https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/entities/Resource.java

Facet

Early ideas and thinking on facets were documented at 2nd Generation Resource Model: Facets

Facets are collections of attributes conceived to capture a certain feature/aspect of the Resource they are associated with. Every facet can define zero or more properties. Besides the per-facet envisaged properties, clients can add new ones.

Abstract Facet extends Entity
Goal: This is the base type for any Facet.
Known Usage
Source Relation Multiplicity Target Description
Resource ConsistsOf 1..n Facet Any Resource consist of one or more Facets which describes the different aspects of the resource.


The Java Interface declaration for such a type is available at:

https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/entities/Facet.java

Relation

Every relation has:

The Java Interface declaration for such a type is available at:

https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/relations/Relation.java

IsRelatedTo

IsRelatedTo extends Relation
Source Relation Multiplicity Target Description
Resource IsRelatedTo 0..n Resource A relation linking any two Resources.

The Java Interface declaration for such a type is available at:

https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/relations/IsRelatedTo.java

ConsistsOf

ConsistsOf extends Relation
Source Relation Multiplicity Target Description
Resource ConsistsOf 1..n Facet A relation connecting each Resource with one of the Facet characterizing it.


The Java Interface declaration for such a type is available at:

https://code-repo.d4science.org/gCubeSystem/information-system-model/src/branch/master/src/main/java/org/gcube/informationsystem/model/reference/relations/ConsistsOf.java

Internal Entity and Relation

For internal use only are defined the following entity and relation:

Context

Model a Context (aka scope) in the same Application Domain.

Context
Goal: Models a Context (aka scope).
Properties
Name Type Attributes Description
name String Mandatory=true
NotNull=true
The name of the context. Two Context with the same name can exist but they cannot have the same parent. In other words, a Context cannot have two children with the same name.
Known Usage
Source Relation Multiplicity Target Description
Context IsParentOf 0..n Context ...

IsParentOf

This relation has no propagation constraint.

Source Relation Multiplicity Target Description
Context IsParentOf 0..n Context ...

Best practices and guidelines

  • On Facet instances "reuse" across Resource Profiles:
    • This can be guaranteed automatically by the system, if and just in the case the system wants to avoid duplication of information. It is based on a configuration policy;
    • This MUST be done only when a change in a facet instance MUST affect a change in all Resources connected to such a Facet.


Maven coordinates

To use the Java library containing the classes modelling the IS Model you can declare the following dependency:

<dependency>
	<groupId>org.gcube.information-system</groupId>
	<artifactId>information-system-model</artifactId>
	<version>[5.0.0,6.0.0-SNAPSHOT)</version>
<dependency>

gCube Model

An example of instantiation of the IS model is the gCube Model.
  1. https://www.merriam-webster.com/dictionary/facet
  2. https://www.thefreedictionary.com/facet