posted 22 years ago
I am faced with a design decision while making an asset tracking system. The Classification of class below is included in the first use case and the first iteration.
Use case - where the system gives the basic information about the following Asset and allows creating new asset.
1)The domain vocabulary consists of Asset, AssetClass, AssetSubclass, Vendor, Location, Employee,MainAsset, ComponentAsset (Indicated weather it is a main part or the component part).
AssetClass – Tangible , Intangible , Financial asset etc.
AssetSubclass – Car, Stock, Machinery. etc
2)Should the Assetclass and AssetSubClass inherit the Asset class or should it be part of the asset information (again the AssetClass is Compulsory).
3)This sort or abstraction problem is also present in MainAsset and ComponentAsset classes.
What could be the proper classification and decomposition of the above use case?