public final class PersonJS extends JavaScriptObject implements Person
Modifier | Constructor and Description |
---|---|
protected |
PersonJS() |
Modifier and Type | Method and Description |
---|---|
byte |
dartSector()
This person's dart sector as last assigned by a count.
|
boolean |
hasImmediateCandidate(PersonJS other)
Answers whether or not this person has the specified other person as an immediate
candidate.
|
ResidenceJS |
residence()
This person's primary residence.
|
String |
username()
This person's username.
|
JsArray<PersonJS> |
voteTrace()
This person's vote trace according to the results of last count, exclusive of any
subsequent user input.
|
JsArray<PersonJS> |
voteTraceProjected()
An external trace projected from the voteTrace by including any subsequent input
from the user's (but not of other users); or null if the original vote trace is
unknown (null), or the user had no subsequent input.
|
_delete, _get, _getBoolean, _getByte, _getChar, _getDouble, _getFloat, _getInt, _getShort, _getString, _hasOwnProperty, _hasProperty, _propertyIsEnumerable, _set, _setBoolean, _setByte, _setChar, _setDouble, _setFloat, _setInt, _setShort, _setString, cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
protected PersonJS()
public boolean hasImmediateCandidate(PersonJS other) throws NoSuchItem
NoSuchItem
- if this person's vote trace or the other's username is
unknown.public byte dartSector()
Person
dartSector
in interface Person
CountNode.dartSector()
public ResidenceJS residence()
Person
public String username()
Person
username
in interface Person
IDPair.username()
public JsArray<PersonJS> voteTrace()
Person
voteTrace
in interface Person
CountNodeW.trace()
public JsArray<PersonJS> voteTraceProjected()
Person
voteTraceProjected
in interface Person
CountNodeW.trace()