Generic Design and Modeling Databases: Logical and Physical Design