A Representation and Construction of Method in Object-Oriented Query Model