Package org.osid.voting
The Open Service Interface Definitions for the org.osid.voting service.
The Voting OSID defines a means of holding elections.
Ballots
Ballots are the central OsidGovernator for the Voting OSID.
Ballots are the focal point for a set of rules that govern the
operation of an election. Ballots are also Temporal where
voting occurs within a fixed period of time. The Voting OSID makes
available Ballots which are active (open for voting),
Ballots of past elections, and Ballots representing scheduled
elections in the future.
Races
Ballots are composed of Races . A Race aggregates a
set of Candidates . Races are constrained to a single
Ballot but are also OsidGovernators to encapsulate the
rules governing a specific race.
Candidates
A Candidate is something to vote for in a Race on a
Ballot . A Candidate is an OsidRelationship between
a Resource and a Race.
Votes
A Vote is cast by a voter for a Candidate . A
Vote is an OsidRelationship between the voter and a
Candidate . Some Ballots may permit multiple votes to be cast for
a Candidate . A VoterAllocation manages these limits.
Polls Cataloging
Ballots , Races , Candidates , and Votes
may be organized into federateable Poll catalogs.
Sub Packages
The Voting OSID includes a Voting Rules OSID for managing the
constraints and processing of Ballots and Races in an
election. It also contains a Voting Batch OSID for bulk administration.
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 modify 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
Ballotrepresents a set of races.This session creates, updates, and deletesBallots.This session provides methods for authoring ballots.This is the form for creating and updatingBallots.Like allOsidLists,BallotListprovides a means for accessingBallotelements sequentially either one at a time or many at a time.This session defines methods for retrieving ballots.This session defines methods to receive notifications on adds/changes toBallotobjects in thisPolls.This session provides methods to re-assignBallotstoPolls.This session provides methods to retrieveBallottoPollsmappings.This is the query for searching ballots.This is the query inspector for examining ballot queries.This session provides methods for searching amongBallotobjects.The candidate receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deletedBallotobjects.The search interface for governing ballot 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 amongBallotobjects.This session manages queries and sequencing to create "smart" dynamic catalogs.ACandidaterepresents a voting option in a race.This session creates, updates, and deletesCandidates.This is the form for creating and updatingCandidates.Like allOsidLists,CandidateListprovides a means for accessingCandidateelements sequentially either one at a time or many at a time.This session defines methods for retrieving candidates.This session defines methods to receive notifications on adds/changes toCandidateobjects in thisPolls.This session provides methods to re-assignCandidatestoPolls.This session provides methods to retrieveCandidatetoPollsmappings.This is the query for searching candidates.This is the query inspector for examining candidate queries.This session provides methods for searching amongCandidateobjects.The candidate receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deletedCandidateobjects.The search interface for governing candidate 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 amongCandidateobjects.This session manages queries and sequencing to create "smart" dynamic catalogs.An inventory defines a collection of candidates.This session creates, updates, and deletesPolls.This is the form for creating and updating polls.This session defines methods for managing a hierarchy ofPollsobjects.This session defines methods for traversing a hierarchy ofPollsobjects.Like allOsidLists,PollsListprovides a means for accessingPollselements sequentially either one at a time or many at a time.This session provides methods for retrievingPollsobjects.This interface is a container for a partial hierarchy retrieval.Like allOsidLists,PollsNodeListprovides a means for accessingPollsNodeelements sequentially either one at a time or many at a time.This session defines methods to receive notifications on adds/changes toPollsobjects.This is the query for searching polls.This is the query inspector for examining poll queries.This session provides methods for searching amongPollsobjects.The polls receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deletedPollsobjects.The interface for governing polls 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 amongPollsobjects.AnRacedefines a competition amongCandidates.This session creates, updates, and deletesRaces.This is the form for creating and updating races.Like allOsidLists,RaceListprovides a means for accessingRaceelements sequentially either one at a time or many at a time.This session defines methods for retrieving races.This session defines methods to receive notifications on new or deleted races.This session provides methods to re-assignRacestoPollsobjects ARacemay appear in multiplePollsobjects and removing the last reference to aRaceis the equivalent of deleting it.This session provides methods to retrieveRacetoPollsmappings.This is the query for searching races.This is the query inspector for examining race queries.This session provides methods for searching among races.The race receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deletedRaceobjects.The results for a candidate in a race.Like allOsidLists,RaceResultsListprovides a means for accessingRaceResultselements sequentially either one at a time or many at a time.This session provides methods for examining voting results.The search interface for governing race 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 among races.This session manages queries and sequencing to create "smart" dynamic catalogs.AVoteis a relationship between aCandidateand avoter.This is the form for creating and updatingVotes.Like allOsidLists,VoteListprovides a means for accessingVoteelements sequentially either one at a time or many at a time.This session provides methods for looking up votes.This session defines methods to receive asynchronous notifications on adds/changes to votes.This session provides methods to re-assignVotestoPolls.This session provides methods to retrieveVotetoPollsmappings.This is the query for searching votes.This is the query inspector for examining vote queries.This session provides methods for searchingVoteobjects.An allocation of votes for an individual resource or a resource group.This session manages voter allocations.This is the form for creating and updatingVoterAllocations.Like allOsidLists,VoterAllocationListprovides a means for accessingVoterAllocationelements sequentially either one at a time or many at a time.This session provides methods for looking up voter allocations.The vote receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deletedVotes.VoteSearchdefines the interface for specifying vote search options.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 searchingVoteobjects.This session manages queries and sequencing to create "smart" dynamic catalogs.The voring manager provides access to voting sessions and provides interoperability tests for various aspects of this service.The voting profile describes interoperability among voting services.The candidate manager provides access to candidate lookup and creation session and provides interoperability tests for various aspects of this service.This session provides methods for voting on a ballot.