does every obeject in sequence diagram must be in the class diagram?
Well, in the class diagram what you really need to put is classes, and what you should really consider to create the class diagram is the conceptual model, just that in the conceptual you should probably have used a lot of objects that does not even appear in the code at all, then what I suggest is just that take all the classes that you use in the code, then put them in the class diagram, and the class diagram would probably look just like the conceptual model, except that the conceptual objects should not appear in there. If you want you can attach to your next post the secuence diagram to give you a better suggestion.