votorola.a.election.district
Interface RegionalPath

All Superinterfaces:
Serializable
All Known Subinterfaces:
RegionalPathM
All Known Implementing Classes:
RegionalPath1, RegionalPathMP, WP_Election.RegionalPathMPE

public interface RegionalPath
extends Serializable

A hierarchical classifier for elections, composed of a series of nodes in the regional strata: SCHEME/DISTRICT/ELECTION. It is primarily intended for official elections. Another classifier (probably YEAR/MONTH/NORM) will later be defined for normative elections.

See Also:
RegionalStratum

Nested Class Summary
static class RegionalPath.X
          Utilities for regional paths.
 
Method Summary
 String electionName()
          The service name of the election, per getElection().
 District getDistrict()
          The district of the election.
 RegionalElectionNode getElection()
          The regional node of the election.
 RegionalScheme getScheme()
          Identifies the regional scheme of the election.
 

Method Detail

getScheme

RegionalScheme getScheme()
Identifies the regional scheme of the election.

Returns:
the regional scheme instance; or null, if neither a regional scheme, nor a district, nor an election is identified
See Also:
RegionalStratum.scheme

getDistrict

District getDistrict()
The district of the election.

Returns:
the district; or null, if neither a district nor an election is identified
See Also:
RegionalStratum.district

electionName

String electionName()
The service name of the election, per getElection().name().

Returns:
the service name of the election; or null, if no election is identified
See Also:
getElection()

getElection

RegionalElectionNode getElection()
The regional node of the election.

Returns:
the node of an election; or null, if no election is identified
See Also:
electionName(), RegionalStratum.election