maxon.AssetBaseWithUpdateInterface¶
Description¶
The base interface of maxon.AssetInterface
and maxon.AssetReferenceInterface
.
It inherits from maxon.AssetBaseInterface
and adds a methods to obtain the update counter.
Methods Definition¶
-
AssetBaseWithUpdateInterface.
GetUpdate
()¶ Returns the update counter of the asset. The update counter is incremented whenever an asset is updated because one of its references to other assets is updated to a newer version of the referenced asset. This does not lead to a newer repository version of the asset itself because the asset definition isn’t changed. Therefore the version identifier stays the same, just the update counter changes.
The update counter is 0 for the asset which exacly matches the original version (returned by
AssetDescriptionInterface.Load()
when it is called with a None argument).- Returns
Update counter of the asset.
- Return type
int