Patent ID: 7171412

Claim:
A method for protecting data of a hierarchical operation, comprising: obtaining a restricted access model data structure representing the hierarchical operation, wherein the restricted access model data structure comprises a first writer node and a second writer node; preventing the second writer node from writing data to a first data store; preventing the first writer node from writing data to a second data store; reading data from the first data store by a first reader node, wherein the first reader node and the first writer node are selected from a first reader-writer pair; and writing data to the first data store using the first writer node, wherein the first writer node and the second writer node are both separate from and external to the first and second data stores, wherein the first reader node and the first writer node represent a first operation of the hierarchical operation and a second reader node and the second writer node represent a second operation of the hierarchical operation,wherein said second reader node and said second writer node are selected from a second reader-writer pair, wherein preventing the first writer node from writing data to the second data store comprises instantiating a second reader node from an inner class using a private constructor and maintaining the second reader node as a private attribute of the second writer node, and wherein preventing the second writer node from writing data to the first data store comprises instantiating a first reader node from an inner class using a private constructor and maintaining the first reader node as a private attribute of the first writer node.