Package org.osid.relationship
The Open Service Interface Definitions for the org.osid.relationship service.
The Relationship OSID provides the ability to relate and manage data
between OsidObjects .
Relationships
The Relationship OSID defines a Relationship that can be used
to explicitly identify a relationship between two OSID Ids and
manage information specific to the relationship.
The Relationship OSID is a building block on which relationships
defined in the context of other OSIDs can be built. Examples of
relationships include the enrollment record of a student in a
Course or the commitment or a person to an Event .
The Relationship OSID depends on the relationship Type to indicate the
nature of the relationship including its natural ordering between the
source and destination Ids . A relationship of type "friend" may
place the peers in either order and be queryable in either order. A
relationship of type "parent" is between a father peer and a son peer, but
not the other way around. Queries of the son peer based on the "parent"
type is not equiavelent to queries of the father peer based on the "parent"
type.
Such directional relationships may be accompanied by two types. An additional relationship type of "child" can be used with the son peer to determine the father peer. The directionality and the inverse among the types are part of the type definition.
Family Cataloging
Relationships may be cataloged using the Family interface.
Sub Packages
The Relationship OSID includes a Relationship Rules OSID for
controlling the enable status of Relationships .
Copyright © 2010 Ingenescus. All Rights Reserved.
This Work is being provided by the copyright holder(s) subject to the following license. By obtaining, using and/or copying this Work, you agree that you have read, understand, and will comply with the following terms and conditions.
Permission to use, copy and distribute unmodified versions of this Work, for any purpose, without fee or royalty is hereby granted, provided that you include the above copyright notices and the terms of this license on ALL copies of the Work or portions thereof.
You may nodify or create Derivatives of this Work only for your internal purposes. You shall not distribute or transfer any such Derivative of this Work to any location or to any third party. For the purposes of this license, "Derivative" shall mean any derivative of the Work as defined in the United States Copyright Act of 1976, such as a translation or modification.
This Work and the information contained herein is provided on an "AS IS" basis WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.
The export of software employing encryption technology may require a specific license from the United States Government. It is the responsibility of any person or organization contemplating export to obtain such a license before exporting this Work.
-
InterfacesClassDescriptionA
Familyrepresents a collection of relationships.This session creates, updates, and deletesFamilies.This is the form for creating and updatingFamilyobjects.This session manages a hierarchy of families may be organized into a hierarchy for organizing or federating.This session defines methods for traversing a hierarchy ofFamilyobjects.Like allOsidLists,FamilyListprovides a means for accessingFamilyelements sequentially either one at a time or many at a time.This session provides methods for retrievingFamilyobjects.This interface is a container for a partial hierarchy retrieval.Like allOsidLists,FamilyNodeListprovides a means for accessingFamilyNodeelements sequentially either one at a time or many at a time.This session defines methods to receive notifications on adds/changes toFamilyobjects.This is the query interface for searching for families.This is the query inspector for examining family queries.This session provides methods for searchingFamilyobjects.The family receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deletedFamilyobjects.The search interface for governing family searches.An interface for specifying the ordering of search results.This interface provides a means to capture results of a search and is used as a vehicle to perform a search within a previous result set.This session provides methods for searchingFamilyobjects.ARelationshipis an object between two peers.This session creates, updates, and deletesRelationships.This session provides methods to re-assignRelationshipstoFamilyobjects ARelationshipmay appear in multipleFamilyobjects and removing the last reference to aRelationshipis the equivalent of deleting it.This session provides methods to retrieveRelationshiptoFamilymappings.This is the form for creating and updatingRelationships.Like allOsidLists,Relationshipprovides a means for accessingRelationshipelements sequentially either one at a time or many at a time.This session defines methods for retrieving relationships.The relationship manager provides access to relationship sessions and provides interoperability tests for various aspects of this service.This session defines methods to receive notifications on adds/changes toRelationshipobjects in thisFamily.The relationship profile describes the interoperability among relationship services.The relationship manager provides access to relationship sessions and provides interoperability tests for various aspects of this service.This is the query for searching relationships.This is the query inspector for examining relationship queries.This session provides methods for searching amongRelationshipobjects.The relationship receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deletedRelationshipobjects.The search interface for governing relationship searches.An interface for specifying the ordering of search results.This interface provides a means to capture results of a search.This session provides methods for searching amongRelationshipobjects.This session manages queries and sequencing to create "smart" dynamic catalogs.