Representation and Calculation of Objects with Classes and Partial Structures, Based on The Declarative Computation Model