Releases: opencaesar/oml
Releases · opencaesar/oml
2.4.0
- Added Instance.getTypes() and NamedInstance.getEntityTypes APIs
- OmlBuilder.addSpecializationAxiom now handles specializations of
forward/reverse relations (this was an omission) - Renamed OmlBuilder.addConceptTypeAssertion to
OmlBuilder.addTypeAssertion (this was a bug). - Added 3 versions of OmlBuilder.addPropertyValueAssertion
- Added OmlBuilder.createLiteral(Object)
- Added OmlWrite.addImport(Ontology, Ontology)
- Changed OmlWrite.addSpecializationAxiom to support forward/reverse
relations as sub relations - Renamed OmlDelete.deleteRecursively(Element) to
OmlDelete.recursiveDelete(Element) - Added OmlDelete.cascadeDelete(NamedInstance, CascadeRules)
- Added OmlDelete.recursiveDelete(CascadeResult)
- Fixed an exception with OmlDelete.delete()
- Added OmlRead.isAnnotatedBy(IdentifiedElement, AnnotationProperty)
- Added OmlSearch.findIsAnnotatedBy(IdentifiedElement,
AnnotationProperty) - Added OmlSearch.findIsEnumeratedProperty(ScalarProperty)
- Added OmlSearch.findIsEnumeratedScalar(Scalar)
- Added OmlSearch.findEnumerationLiterals(Scalar)
- Fixed OmlSearch.findInstancesRelatedAsTargetTo and
OmlSearch.findInstancesRelatedAsSourceTo to check sub relations too. - Improved labels for some of OmlItemProviderAdapters
- Moved OmlSearch.findJavaValue to OmlRead.getJavaValue
- Deleted OmlSearch.findJavaType
- Fixed OmlSeach.findIsEnumeratedScalar
- Deleted OmlSeach.findType(Literal)
- Fixed OmlSearch.findIsKindOf
2.3.0
2.2.0
Multiple fixes
- Fix OmlEditor's resource set to support validate
- Fix OmlImportUriGlobalScopeProvider to only return .oml resources
- Fix OmlRead.getImportedOntology to catch exception and return null
- Fix OmlResourceServiceProvider to not require URIs to be resolved by
catalog
- Fix OmlUriResolver.getResolvedUris to include URIs with any OML
extension
- Fix OmlValidator2.validateOntologyIri to complain if iri does not
match uri or is not resolvable to it by catalog
- Override OmlXMIResource.load to set the URIHandler to the oml one
- Fix OmlCatalog.create to initiaite the baseUri
2.1.0
- Multiple improvements and fixes:
- Added OmlDelete API
- Changed ImportKind enum serialization in XML to be consistent with API
- Made OML Editor use Live mode
- Fixed OML Formatter
- Fixed a typo in OmlWrite
- Improved core find* APIs in OmlIndex
- Renamed namedInstanceValue to referencedValue
- Renamed structureInstanceValue to containedValue
- Fixes for literal lexical value and OML Read/Search API simplifications
2.0.0
The first 2.x release, yay! For more info, refer to: https://www.opencaesar.io/projects/2023-2-1-OML-v2.html