All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix SocialMedia duplicated getUrl method (#12).
- Fix missing "Semantic" stereotype on ISocialMedia and IPhoneNumber interfaces (#13).
- Changed all references to http://static.datafoodconsortium.org/uml/connector to point to latest github release (via jsdelivr) using https://cdn.jsdelivr.net/gh/datafoodconsortium/data-model-uml/.
-
Add the planned transformation loop (
AsPlannedTransformation
). -
Add image to
DefinedProduct
, see below. -
Interfaces:
IPlannedTransformation
.IFlow
.IPlannedFlow
.IPlannedConsumptionFlow
.IPlannedProductionFlow
.
-
Classes:
PlannedTransformation
.Flow
.PlannedConsumptionFlow
.PlannedProductionFlow
.
-
Add the
soldBy
property inOrder
:- Add method
getSoldBy
inIOrder
. - Add method
setSoldBy
inIOrder
. - Add property
soldBy
inOrder
. - Add paramater
soldBy
in constructor ofOrder
.
- Add method
-
Add the
logo
property inAgent
:- Add method
getLogo
inIAgent
. - Add method
setLogo
inIAgent
. - Add property
logo
inAgent
. - Add parameter
logo
in constructor ofAgent
. - Add parameter
logo
in constructor ofEnterprise
. - Add parameter
logo
in constructor ofPerson
.
- Add method
-
Add the
latitude
property inAddress
:- Add the
latitude
parameter in constructor. - Add the
getLatitude
getter inLocalizable
. - Add the
setLatitude
setter inLocalizable
.
- Add the
-
Add the
longitude
property inAddress
:- Add the
longitude
parameter in constructor. - Add the
getLongitude
getter inLocalizable
. - Add the
setLongitude
setter inLocalizable
.
- Add the
-
Add the
region
property inAddress
:- Add the
region
parameter in constructor. - Add the
getRegion
getter inLocalizable
. - Add the
setRegion
setter inLocalizable
.
- Add the
-
Add the
hasFulfilmentStatus
property inOrder
:- Add the
fulfilmentStatus
parameter in constructor. - Add the
getFulfilmentStatus
getter inIOrder
. - Add the
setFulfilmentStatus
setter inIOrder
.
- Add the
-
Add the
hasOrderStatus
property inOrder
:- Add the
orderStatus
parameter in constructor. - Add the
getOrderStatus
getter inIOrder
. - Add the
setOrderStatus
setter inIOrder
.
- Add the
-
Add the
hasPaymentStatus
property inOrder
:- Add the
paymentStatus
parameter in constructor. - Add the
getPaymentStatus
getter inIOrder
. - Add the
setPaymentStatus
setter inIOrder
.
- Add the
-
In
DefinedProduct
:- Add the
image
property. - Add the
images
parameter in constructor. - Add the
hasVariant
property. - Add the
isVariantOf
property. - Add the
variants
parameter in constructor. - Add the
variantOf
parameter in constructor.
- Add the
-
In
SuppliedProduct
:- Add the
images
parameter in constructor.
- Add the
-
In the
IDefinedProduct
interface:- Add the
addImage
method. - Add the
removeImage
method. - Add the
getImages
method. - Add the
addVariant
method. - Add the
getVariants
method. - Add the
removeVariant
method. - Add the
setVariants
method. - Add the
addIsVariantOf
method. - Add the
getIsVariantOf
method. - Add the
removeIsVariantOf
method. - Add the
setIsVariantOf
method.
- Add the
2.1.0 - 2023-11-06
-
Interfaces:
- New
IPhoneNumber
interface. - New
ISocialMedia
interface. - New
ContactableByAddress
interface. - New
ContactableByEmail
interface. - New
ContactableByPhone
interface. - New
ContactableByWebsite
interface. - New
ContactableBySocialMedia
interface. - New
PhoneNumberOwner
interface. - New
AddressOwner
interface. - New
EmailOwner
interface. - New
WebsiteOwner
interface. - New
SocialMediaOwner
interface. - New
ManagedByMainContact
interface. - New
MainContactOwner
interface.
- New
-
Classes:
- New
PhoneNumber
class. - New
SocialMedia
class. - Support the name of
Enterprise
.
- New
-
In the
SUPPORTED.md
file:- Add the
PhoneNumber
class; - Add
PhysicalPlace:hasPhoneNumber
.
- Add the
- Change the type of
Dialable:number
from Integer to String. - Change the type of
Contactable:getPhoneNumbers
fromDialable
toIPhoneNumber
. - Change the type of
Contactable:addPhoneNumber
fromDialable
toIPhoneNumber
.
- The
Contactable
interface. - The
Emailable
interface. - The
Identifiable
interface.
2.0.0 - 2023-10-03
Enterprise
:- Add missing getter and setter on properties
description
,catalogItems
andsuppliedProduct
.
- Add missing getter and setter on properties
- Add multiple missing "adder" stereotype on
Manufacturable
. - Add missing "adder" stereotype on
Offerable
. - Profile XMI href.
- Add missing
IUnit
import inIPrice
and inPrice
. - Add missing things in
Offer
:- Import
IPrice
; - Add missing setters in properties.
- Import
- Add missing
IPrice
inPayable
. - Add missing method in
Marketable
:setOfferedItem
;setCustomerCategory
.
- Set missing getter and setter for the
description
property ofCustomerCategory
. - Restore adders.
Offer
:- change the semantic property
dfc-b:price
todfc-b:hasPrice
.
- change the semantic property
- New stereotype
skosBroader
to add constraint on SKOS concepts. - Add
localizations
parameter in the constructor of:Agent
;Enterprise
;Person
.
Enterprise
:- Add missing constructor parameters;
- Add
catalogs
property; - Add
technicalProducts
property.
- Constructor parameters on
DefinedProduct
. Offerable:setOfferedProduct
.Offer
:- Add missing constructor parameters.
ICatalogItem
:- Add
setSku
; - Add
Catalogable
generalization.
- Add
CatalogItem
:- Set
stockLimitation
setter; - Add missing constructor parameters.
- Set
Stockable:setStockLimitation
.SuppliedProduct
:- Add
totalTheoreticalStock
(property); - Add
getTotalTheoreticalStock
; - Add
setTotalTheoreticalStock
; - Add constructor parameters.
- Add
- Import
IUnit
in:AllergenCharacteristic
;NutrientCharacteristic
;PhysicalCharacteristic
.
Characteristic
:- Add the
blankNode
stereotype.
- Add the
IPrice
:- Add
setValue
,setVatRate
andsetUnit
; - Add the
BlankNode
stereotype.
- Add
Price
:- Add constructor parameters;
- Add setter in properties.
Catalogable
:- Add
registerInCatalog
; - Add
removeFromCatalog
.
- Add
Browsable
:- Add
removeItem
.
- Add
IAllergenCharacteristic
:- Add the
BlankNode
stereotype.
- Add the
AllergenDimension
class.INutrientCharacteristic
:- Add the
BlankNode
stereotype.
- Add the
NutrientDimension
class.IPhysicalCharacteristic
:- Add the
BlankNode
stereotype.
- Add the
PhysicalDimension
class.ICatalog
.ISaleSession
:- Add
getQuantity
; - Add
setQuantity
; - Add
getOffers
; - Add
addOffer
.
- Add
SaleSession
.Ellapsable
:- Add setters;
- Add stereotypes.
IOrder
.IOrderLine
.Order
:- Add properties.
OrderLine
:- Add properties.
Payable
:- Add
setPrice
.
- Add
- connector.profile.uml:
- The
blankNode
stereotype can be applied on Interface.
- The
ISuppliedProduct
.ITechnicalProduct
.TechnicalProduct
.IAgent
.
- Replace the URL in the map property attribute by a prefix + a name.
- Remove
JsonLdSerializer
. Enterprise
:- Removed
Nameable
interface.
- Removed
- Move
getSku
intoICatalogItem
. - Change
getQuantityUnit
andsetQuantityUnit
parameter toIUnit
. - Rename
quantityUnit
andquantityValue
tounit
andvalue
of:QuantitativeValue
;Characteristic
;AllergenCharacteristic
;NutrientCharacteristic
;PhysicalCharacteristic
.
- Change constructor
unit
paramater type toIUnit
of:QuantitativeValue
;Characteristic
;AllergenCharacteristic
;NutrientCharacteristic
;PhysicalCharacteristic
.
- Renamed
Repository
toCatalog
. Catalogable
:- Renamed
getRepository
togetCatalog
.
- Renamed
Browsable
:- Changed
getMaintainers
return type toIEnterprise
. - Renamed
getListedItems
togetItems
- Changed
- Deleted classes:
ProductType
;Unit
;GeographicalOrigin
;Certification
;NatureOrigin
;PartOrigin
;CharacteristicDimension
;AllergenDimension
.
SKOSConcept
is not a BlankNode anymore.
1.0.0 - 2023-02-06
- agent.uml
- common.uml
- connector.uml
- connector.profile.uml
- product.uml
- sale.uml
- skos.uml