Commit Graph

275 Commits

Author SHA1 Message Date
Luca Frosini de1bb75c56 LinkedEntity is now comparable 2023-01-20 17:49:19 +01:00
Luca Frosini c0c36bdf9c Improved code 2023-01-20 16:46:22 +01:00
Luca Frosini 8771c62ed1 Improved descriptions to produce a better documentation 2023-01-20 11:22:52 +01:00
Luca Frosini c4bb0ffcf3 Added useful method 2023-01-19 12:00:15 +01:00
Luca Frosini 86b4e14de4 Documentation generator has been moved in a dedicated component 2022-12-13 10:29:15 +01:00
Luca Frosini b5e7f8e685 Implementing documentation generator 2022-12-12 10:24:05 +01:00
Luca Frosini 45d5a3a131 Adding documenation generation 2022-12-10 18:00:52 +01:00
Luca Frosini 401745d7dc Added classes to generate rst tables for documentation 2022-12-10 16:21:37 +01:00
Luca Frosini 2eb8bbb0b9 Added date serialization specification 2022-06-13 10:21:21 +02:00
Luca Frosini 7f964ad5d2 Fixing JSON serialization 2022-02-01 16:48:11 +01:00
Luca Frosini 32cb6ac3ba Added test for QueryTemplate 2021-10-26 21:33:30 +02:00
Luca Frosini 1d93d60bdf Added functionality to instantiate query from template using default
values or provided values
2021-10-26 20:49:03 +02:00
Luca Frosini 05b06ce6fa Fixed QueryTemplate model 2021-10-25 18:12:04 +02:00
Luca Frosini 28d1218876 moved operators back to the resource-registry 2021-10-25 12:12:53 +02:00
Luca Frosini dd3b48a40b Moved query operators (logical and condtional) from resource-registry 2021-10-25 11:41:50 +02:00
Luca Frosini d5dacac45f Renamed package to be aligned with all the rest of IS components 2021-10-25 11:38:06 +02:00
Luca Frosini 4e97771a16 Aligned package names 2021-10-25 10:58:30 +02:00
Luca Frosini beb54469fb Using UUIDManager to generate a random UUID 2021-10-22 20:09:27 +02:00
Luca Frosini 83d14611c7 Removed version and changelog. It seems not needed 2021-10-22 10:16:05 +02:00
Luca Frosini 92c986ad27 Reorganized packages 2021-10-21 17:24:53 +02:00
Luca Frosini 11b218fdec Improved UUID management 2021-10-21 16:29:35 +02:00
Luca Frosini 42a650167b Removed wrong Abstract annotation and fixed property names 2021-10-21 16:01:38 +02:00
Luca Frosini f2fbfc7b66 Added Reserved UUID class 2021-10-21 16:00:58 +02:00
Luca Frosini 7f5512571c Reorganizing Information System Model 2021-10-21 12:47:50 +02:00
Luca Frosini c0b5908960 Fixing types 2021-10-21 11:56:01 +02:00
Luca Frosini 66fead0851 Renamed TypeVersion class to Version 2021-10-21 10:11:45 +02:00
Luca Frosini 05b6b65fee Improving classes to support query templates 2021-10-20 19:55:13 +02:00
Luca Frosini 833b2f5805 Adding types to support query templates 2021-10-20 19:16:48 +02:00
Luca Frosini 18b9124e86 Adding Query Templates 2021-10-20 18:39:53 +02:00
Luca Frosini b454e52e67 Added Direction enum 2021-10-20 15:23:25 +02:00
Luca Frosini 633ff9c3ab Fixed generic type name 2021-07-05 15:43:07 +02:00
Luca Frosini 4124291551 Ignoring property in json serialization useful for java classes only 2021-06-29 17:34:54 +02:00
Luca Frosini cf2dfd4b10 Aligned Header properties name 2021-03-08 11:18:24 +01:00
Luca Frosini cf0aa2c3f6 Merge branch 'feature/20306' of gitea@code-repo.d4science.org:gCubeSystem/information-system-model.git into feature/20306 2021-03-02 17:15:39 +01:00
Luca Frosini 64c91978fe Fixed wiki link in doc 2021-03-02 16:16:04 +01:00
Luca Frosini 5828ed0e2d Fixed javadoc 2021-02-28 21:13:36 +01:00
Luca Frosini 9503d52737 Moved a link a in a comment from http to https refs #20782 2021-02-22 09:44:04 +01:00
Luca Frosini f8503e359d Added useful methods 2021-02-18 18:22:11 +01:00
Luca Frosini f18743308b Improved Resource definition 2021-02-18 15:14:24 +01:00
Luca Frosini 6ddcd7c7fd Fixed umarshalling 2021-02-17 16:14:22 +01:00
Luca Frosini 16d9735851 Fixed AccessType 2021-02-12 12:08:30 +01:00
Luca Frosini 8bb0e6aa5d Reorganising AccessType hierarchically 2021-02-12 11:46:45 +01:00
Luca Frosini 384be462bb Fixed AccessType from type definition. Added Assertion on tests 2021-02-11 22:09:02 +01:00
Luca Frosini d23ca0e246 Fixed corner case 2021-02-11 17:37:42 +01:00
Luca Frosini 60e9de983a Fixed unmarshalling in case of unknown types 2021-02-11 17:24:46 +01:00
Luca Frosini 44056157e1 Added the possibility to get the AccessType from Type definition 2021-02-11 17:24:22 +01:00
Luca Frosini 603e8f2cf7 Renamed convenient interface 2021-02-05 11:32:37 +01:00
Luca Frosini 2cac6ddc63 Added convenient interface to identify Entity and Relation 2021-02-05 11:30:47 +01:00
Luca Frosini 4ccc840377 Added convenient method to get type name from an instance 2021-01-28 23:15:46 +01:00
Luca Frosini a8e1b0da6e Fixed getType 2021-01-27 11:57:16 +01:00
Luca Frosini af24bde831 Fixed authorship 2021-01-20 17:26:13 +01:00
Luca Frosini c507a063c6 Added missing/Fixed authorship on classes 2021-01-20 17:03:02 +01:00
Luca Frosini d490efab78 Fixed code 2021-01-20 15:54:20 +01:00
Luca Frosini 502ba899f7 Fixed bug on property type name representation 2021-01-20 15:53:00 +01:00
Luca Frosini 72ddb4718a Fixed code readability 2021-01-20 15:15:50 +01:00
Luca Frosini d326783ef2 Added important comment 2021-01-20 12:24:41 +01:00
Luca Frosini bddc3b2556 Fixed code style 2021-01-20 10:17:23 +01:00
Luca Frosini 97105446cb Fixed property definition 2021-01-19 17:22:22 +01:00
Luca Frosini 3879c340a3 Changing the way to serialise a type of a property 2021-01-19 15:32:25 +01:00
Luca Frosini 268878d9f7 Changing the way to serialise a type of a property 2021-01-19 15:32:19 +01:00
Luca Frosini 613fc76259 Changing the way to serialise a type of a property 2021-01-19 11:21:53 +01:00
Luca Frosini df1736f39b Changing the way to serialise the type of a property 2021-01-19 09:20:52 +01:00
Luca Frosini 5fcc630820 Changing the way to serialise the type of a property 2021-01-19 09:20:21 +01:00
Luca Frosini 37074ff322 Adding BasePropertyType to remove OrientDBType 2021-01-17 22:50:50 +01:00
Luca Frosini bae57c6ea8 Fixed method name 2021-01-15 17:57:06 +01:00
Luca Frosini 8e755e02c3 Added the proper _PROPERTY suffix to propagationConstraint property name 2021-01-13 21:53:16 +01:00
Luca Frosini 2b5b897dc0 Fixed Type 2021-01-07 11:16:40 +01:00
Luca Frosini 346b52a1b6 Fixed types 2020-12-23 10:33:17 +01:00
Luca Frosini cb8dee2c9d Added missed documentation to types 2020-12-23 10:08:38 +01:00
Luca Frosini d0c664fc92 Added annotation to the JavaDoc 2020-12-21 16:02:03 +01:00
Luca Frosini a5fac85d9a Annotated ISProperty annotation so that is included in the Javadoc 2020-12-18 12:23:21 +01:00
Luca Frosini 82e7a03b3c Improved javadoc and types and properties description. 2020-12-18 12:06:31 +01:00
Luca Frosini 5835d8c67b Annotated types to properly create type definition 2020-12-15 17:38:06 +01:00
Luca Frosini e697ef2cf5 Using annotation to define name, description, version and chagelog for
any Element
2020-12-15 11:28:34 +01:00
Luca Frosini 21fcb502f2 Type deserialization is compliant with old version without CHANGELOG 2020-12-14 10:10:49 +01:00
Luca Frosini 745bb9eb3e Fixed CHANGELOG retrieving 2020-12-14 09:21:14 +01:00
Luca Frosini 619dd586c1 Added type changelog 2020-12-11 17:28:56 +01:00
Luca Frosini b0b5fdf3cd Added version managed with a dedicated type in TypeDefinition 2020-12-11 13:09:02 +01:00
Luca Frosini c593c383a6 Add version information on IS type 2020-12-11 09:47:14 +01:00
Luca Frosini f16b30bd09 Added support to include additional properties in Property types
[#20012]
2020-11-09 15:46:01 +01:00
Luca Frosini 1d74ee7905 Fixed API 2020-11-03 16:33:48 +01:00
Luca Frosini e9a37916ed Removed suppress warning annotation 2020-10-14 16:23:42 +02:00
Luca Frosini 324e09049c Added constructor with default Propagation Constraint 2020-10-14 16:23:23 +02:00
Luca Frosini 6538d01763 Added suppress warning 2020-07-07 17:17:03 +02:00
Luca Frosini 0f1b01b49f Switching to gcube-jackson 2020-07-07 17:04:25 +02:00
Luca Frosini 11d28c0904 Added and committed an initial step to support Jackson 2.11.X 2020-07-03 14:39:19 +02:00
Luca Frosini 0e6b9f4854 Cleaning code 2020-07-02 19:17:57 +02:00
Luca Frosini 1376643817 Cleaned code 2020-07-02 19:06:37 +02:00
Luca Frosini 16c26ad39f Removed uneeded annotation 2020-07-02 18:53:18 +02:00
Luca Frosini ef41afa38d Improved code 2020-07-02 18:52:52 +02:00
Luca Frosini f1d52d3b04 Fixed the serialization/deserialization with Jackosn 2.8.11 2020-07-02 18:05:15 +02:00
Luca Frosini 07318daabe Fixed typo in a comment 2020-06-26 10:50:48 +02:00
Luca Frosini dc2d5cece3 Added SchemaMixedElement interface to identify element supporting
additional properties
2020-02-11 10:10:07 +01:00
Luca Frosini 9858c50c99 Fixing Model 2020-02-04 09:44:10 +01:00
Luca Frosini 1c80f165b6 Class Names refactoring 2020-02-04 09:37:29 +01:00
Luca Frosini fe31ce5f25 Fixed Type Mapper Name 2020-02-04 09:30:19 +01:00
Luca Frosini 8c020591eb Fixed descriptions 2020-02-03 11:24:55 +01:00
Luca Frosini df060fd912 Removed uneeded interface 2020-02-03 10:57:41 +01:00
Luca Frosini 0709706ddc Fixing model 2020-02-03 10:51:29 +01:00
Luca Frosini 05d6f6796d Reorganized model as following
Element
 - EntityElement
   - Entity
     - Resource
     - Facet
   - Context
   - EntityType
     - ResourceType (3 lists of PropertyDefinition, LinkedFacet, LinkedResource)
     - FacetType (1 list of PropertyDefinition)
 - RelationElement
   - Relation
     - IsRelatedTo
     - ConsistsOf
   - IsParentOf
   - RelationType
     - IsRelatedTo (1 list of PropertyDefinition)
     - ConsistsOf (1 list of PropertyDefinition)
 - PropertyElement
   - Property
     - Header
     - PropagationConstraint
     - Encrypted
   - PropertyType (1 list of PropertyDefinition)
     - PropertyDefinition
     - LinkedEntity
       - LinkedFacet
       - LinkedResource
2020-01-30 11:01:36 +01:00
Luca Frosini 4bf95bc2ea Fixed compiling error 2020-01-29 16:33:51 +01:00
Luca Frosini c289601f6f Fixed type definition 2020-01-23 17:14:44 +01:00
Luca Frosini 1421a53b52 Moved Header in model 2020-01-20 10:24:55 +01:00
Luca Frosini 1e84cd6607 Adding support for Resource schema definition 2020-01-17 17:03:33 +01:00
Luca Frosini 6e73f54de5 Added default constructor, required for jackson 2020-01-16 16:56:03 +01:00
Luca Frosini 006cfb03e4 Added Specific class to define a Resource 2020-01-16 16:48:08 +01:00
Luca Frosini f5f69bc6a6 Added Resource to Resource schema definition 2020-01-16 14:00:34 +01:00
Luca Frosini 6162719723 Adding the possibility to define Resource Schema refs #18213 2020-01-15 17:01:00 +01:00
Luca Frosini 6a3688cc89 Adding the possibility to define the Resource Schema refs #18213 2020-01-15 11:55:39 +01:00
Luca Frosini eb62faa7a9 Removed restriction annotation which is not required with Open JDK 2019-12-13 10:18:52 +01:00
Luca Frosini 7883dfc162 Fixing compilation warning 2019-12-05 17:16:56 +01:00
Luca Frosini 3eb417a2a9 Added annotations to allow to define the Resource Schema refs #18213 2019-12-05 11:12:31 +01:00
Luca Frosini 1a641cc953 IsIdentifiedBy has been moved in gCube Model 2019-12-05 11:10:46 +01:00
Luca Frosini aefa8342f5 Adding support to specify a key for a Facet refs #18214 2019-12-05 11:09:18 +01:00
Luca Frosini 22abc6ebfc Fixed type definition 2019-11-08 18:15:42 +01:00
Luca Frosini a17e5f7b4b Fixing details 2019-11-08 12:29:05 +01:00
Luca Frosini f4276a67a5 Formatted code 2019-11-05 18:44:01 +01:00
Luca Frosini e6d16dd583 Fixed the implementation due to interface changes 2019-11-05 18:43:49 +01:00
Luca Frosini 9eda896937 Any type definition must have Header hence it extedns ER in place of
ISManageable
2019-11-05 18:43:04 +01:00
Luca Frosini 714ec5dcae Added Header. It is the only property must have the Header so we can
monitor when the class has been created/modified and who did it
2019-11-05 18:42:02 +01:00
Luca Frosini 770155d5c5 Fixing model 2019-11-04 18:06:46 +01:00
Luca Frosini a58eec0cb3 Fixed model 2019-10-30 12:43:16 +01:00
Luca Frosini 6f15a1d7dc Fixing model redesign 2019-10-30 09:57:14 +01:00
Luca Frosini fe15bea3de Fixed constructor 2019-10-28 17:37:19 +01:00
Luca Frosini 45beeff1ef Fixing json serialization/deserialization issues 2019-10-28 17:36:09 +01:00
Luca Frosini d69f0435bc Fixing imports and code to be aligned with model reorganization 2019-10-25 17:46:13 +02:00
Luca Frosini d77456ad98 Fixing model redefintion 2019-10-24 19:50:43 +02:00
Luca Frosini 7760440f6b Removed uneeded import 2019-10-24 15:03:41 +02:00
Luca Frosini 6df4a0f5c4 Finalising reorganization 2019-10-24 15:03:14 +02:00
Luca Frosini 108046c4a1 Reorganizing packages 2019-10-24 11:57:21 +02:00
Luca Frosini a9a1ab83ce Reorganizing model 2019-10-24 11:26:49 +02:00
Luca Frosini fa2e3d5983 Creating TypeDefinition and PropertyDefinition as types which can be
managed in IS
2019-10-23 18:19:55 +02:00
Luca Frosini eaa4f82841 Context and ISParentOf cannot be subclassed 2019-10-23 16:57:40 +02:00
Luca Frosini 408cfb9686 Adding and additional level to allow to define TypeDefinition and
PropertyDefinition
2019-10-23 16:55:48 +02:00
Luca Frosini 7f8d784cae Trying to reorganize model to have a more clear view 2019-10-23 15:40:52 +02:00
Luca Frosini 63c7f60666 Renamed ENUM constant from old name EMBEDDED to the new one PROPERTY 2019-10-16 12:40:28 +02:00
Luca Frosini cbcdd2c122 Creating branch to test maven shadow plugin
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@178663 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-03-22 14:18:23 +00:00
Luca Frosini e5921c82cc cleaning code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@130311 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-13 12:31:27 +00:00
Luca Frosini 6f0f9abaf6 Fixed log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@130243 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-11 13:56:04 +00:00
Luca Frosini 34d394da08 Added NAME to base is-model entities an relations
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@130198 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-08 17:05:47 +00:00
Luca Frosini 8cbb5b793a Implementing entity management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@130196 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-08 16:16:21 +00:00
Luca Frosini 8f1171efec implementing relation management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@130165 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-08 10:48:07 +00:00
Luca Frosini 87e5f34eaa fixing model
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@130025 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-06 14:17:20 +00:00
Luca Frosini 2ced73e42f git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@130004 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-07-06 12:26:26 +00:00
Luca Frosini 8fe9075ad9 Reorganizing IS model
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@129940 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-05 14:53:38 +00:00
Luca Frosini 5374ec13e0 Added Edge and vertex base class name
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@129939 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-05 14:04:18 +00:00
Luca Frosini 5aaeb82b15 Implementing Schema Management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@129927 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-05 12:47:50 +00:00
Luca Frosini fb59d0970a Implementing Schema Management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@129909 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-05 10:34:13 +00:00
Luca Frosini 417d5fafb8 Added TODO
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@129900 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-04 17:07:13 +00:00
Luca Frosini 16af336db6 Fixing Schema Registration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@129899 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-04 16:52:11 +00:00