[edit]
Overview
An item-based database. Each item is guaranteed to have a "label" property, which is generally used to display the item in brief. Each item is also guaranteed to have a unique "id" field by which it is identified (the "id" property might be automatically assigned using the "label" field and, hence, identical to the "label" field). Each item also has a "uri" field (it might be automatically assigned using the URL of the data file where the item comes from as well as the item's id).
Field values are by default typed as text. All values of a field can be collectively typed by assigning a type to the field.
[edit]
Constructors
new Exhibit.Database()
[edit]
Methods
[edit]
addListener(listener)
[edit]
removeListener(listener)
[edit]
loadTypes(typeEntries, baseURI)
[edit]
loadProperties(propertyEntries, baseURI)
[edit]
loadItems(itemEntries, baseURI)
[edit]
getType(typeID)
[edit]
getProperty(propertyID)
[edit]
getAllItems()
[edit]
getAllItemCount()
[edit]
containsItem(itemID)
[edit]
getAllProperties()
[edit]
getNamespaces(idToQualifiedName, prefixToBase)
[edit]
getObject(s, p)
[edit]
getObjects(s, p, set, filter)
[edit]
countDistinctObjects(s, p, filter)
[edit]
getObjectsUnion(subjects, p, set, filter)
[edit]
countDistinctObjectsUnion(subjects, p, filter)
[edit]
getSubject(o, p)
[edit]
getSubjects(o, p, set, filter)
[edit]
countDistinctSubjects(o, p, filter)
[edit]
getSubjectsUnion(objects, p, set, filter)
[edit]
countDistinctSubjectsUnion(objects, p, filter)
[edit]
getSubjectsInRange(p, min, max, inclusive, set, filter)
[edit]
getTypeLabels(set)
[edit]
Events
[edit]
onBeforeLoadingTypes()
[edit]
onAfterLoadingTypes()
[edit]
onBeforeLoadingProperties()
[edit]
onAfterLoadingProperties()
[edit]
onBeforeLoadingItems()
[edit]

