The exisiting set of Metadata can be extended with own types.
The are two types of metadata:
- Base Metadatypes (extends AbstractBaseMetaAttribute)
- Combined Metadatatypes (extends AbstractCombinedMetaAttribute)
- If you want to use combination of existing types (e.g. the new type and TimeInterval) you could define a combined metadata or let Odysseus do the work for you. In this case you will need to run Odysseus mit the JDK and not JRE (i.e. tools.jar must be available).
- Because there is a one to one mapping between a metadata interface and a metadata type, all metadata types must be final.
Creating a new base metadata type
Creating a combined metadata type