Typed relationships between items
First Claim
1. A computer-readable medium that includes a computer readable storage medium having computer-executable instructions stored thereon, which when executed perform actions, comprising:
- instantiating an item reference, the item reference including a first field, a second field, and a third field, the first field capable of storing an identifier of a first file of a file system, the second field capable of storing an identifier of a second file of the file system, the third field capable of storing one or more properties associated with a type of the item reference, the item reference indicating a relationship between the first file and the second file;
placing the identifier of the first file in the first field; and
performing a computerized query that utilizes the relationship to identify the second file, the query having criteria that applies to the second file;
wherein the item reference is of a type that inherits properties from ancestors of the item reference.
2 Assignments
0 Petitions
Accused Products
Abstract
Aspects of the subject matter described herein relate to creating, maintaining, and using relationships between items. In aspects, items such as files, folders, and other objects may be stored in a data store. A user may desire to form a relationship between two items that provides additional semantic information regarding the relationship. To do so, an instance of an item reference is created and populated with data that associates the item reference with a source item and optionally a target item. The item reference is part of a type hierarchy and inherits properties from ancestor types. These types are included in a payload of the item reference and may be exposed to programs that seek to obtain information about the relationship indicated by the item reference. An item reference may be added without changing other data about the referenced items.
-
Citations
17 Claims
-
1. A computer-readable medium that includes a computer readable storage medium having computer-executable instructions stored thereon, which when executed perform actions, comprising:
-
instantiating an item reference, the item reference including a first field, a second field, and a third field, the first field capable of storing an identifier of a first file of a file system, the second field capable of storing an identifier of a second file of the file system, the third field capable of storing one or more properties associated with a type of the item reference, the item reference indicating a relationship between the first file and the second file; placing the identifier of the first file in the first field; and performing a computerized query that utilizes the relationship to identify the second file, the query having criteria that applies to the second file; wherein the item reference is of a type that inherits properties from ancestors of the item reference. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method implemented at least in part by a computer, the method comprising:
-
instantiating an item reference, the item reference including a first field, a second field, and a third field, the first field capable of storing an identifier of a first item stored in a data store, the second field capable of storing an identifier of a second item stored in the data store, the third field capable of storing data including properties associated with a type of the item reference, items in the data store being of a plurality of types, each item being of at least one type, the item reference indicating a relationship between the first item and the second item; placing the identifier of the first item in the first field of the item reference; and performing a computerized query that utilizes the relationship to identify the second file, the query having criteria that applies to the second file; the item reference being of a type that inherits properties from ancestors of the item reference. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. In a computing environment, an apparatus, comprising:
-
a reference instantiator operable to use at least one processor to instantiate an item reference, the item reference including a first field, a second field, and a third field, the first field capable of storing an identifier of a first item stored in a data store, the second field capable of storing an identifier of a second item stored in the data store, the third field capable of storing data including properties associated with a type of the item reference, items in the data store being of a plurality of types, each item being of at least one type, the item reference indicating a relationship between the first item and the second item; and a reference maintainer operable to delete item references; the item reference being of a type that inherits properties from ancestors of the item reference; and wherein the reference maintainer operates to delete an item reference when a source item associated with the item reference is deleted. - View Dependent Claims (17)
-
Specification