Commit Graph

200 Commits

Author SHA1 Message Date
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