|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ListNode
A node representing a single voter in a compiled voter list.
TrustEdge| Method Summary | |
|---|---|
int |
doubterCount()
The number of doubt signals extended to this voter, from unbarred voters. |
String |
getBar()
The list bar against the voter, if any. |
String |
getNeighbourhoodPath()
The path to the voter's leaf neighbourhood, where she resides. |
String |
getResidence()
The primary residential address of the voter. |
String |
leafRegisterPath()
Returns the slash-delimited (/) path to the voter's leaf register, within the sub-hierarchy of electoral offices. |
int |
primaryTrustEdgeCount()
The number of primary trust extending to this node. |
int |
trustLevel()
Calculates the trust level of this node. |
String |
voterEmail()
Identifies the voter. |
| Method Detail |
|---|
int doubterCount()
DoubtSignalString getBar()
The bar is intended for voters to read. It ought to include the email address of the barred voter. It ought to provide information that will be helpful in allowing the voter to overcome the bar, where possible (for instance, by correcting a registration error).
CountNode.getBar(),
ListNodeC.defaultRootNeighbourhoodBar(String)String getNeighbourhoodPath()
If the path is empty (root leaf), then the bar is guaranteed to be non-null, barring the voter from the list. Because the list browsing facilities cannot display voters at the root leaf, we avoid confusion by barring them from the outset.
NeighbourhoodString getResidence()
Registration.getResidence()String leafRegisterPath()
register@v4ontario.ca/register@v2toronto.ca
If the trace register is the leaf register (if this is the Toronto office, for example), then a dot (.) is returned.
int primaryTrustEdgeCount()
int trustLevel()
String voterEmail()
Registration.voterEmail()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||