Class PilotRating
java.lang.Object
org.deltava.beans.servinfo.NetworkUser
org.deltava.beans.servinfo.PilotRating
- All Implemented Interfaces:
Serializable,Comparable<NetworkUser>,ViewEntry
A bean to store VATSIM Pilot Rating certificates.
- Since:
- 7.2
- Version:
- 7.2
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.deltava.beans.servinfo.NetworkUser
NetworkUser.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetATO()Returns the Authorized Training Organization URL.Returns the Authorized Training Organization name.intReturns the Instructor's certificate ID.Returns the certification's issuance date.Returns the rating code.getType()Returns the user type.voidSets the Authorized Training Organizataion.voidsetInstructorID(int cid) Sets the Instructor Certificate ID.voidsetIssueDate(Instant dt) Sets the rating's date of issuetoString()Methods inherited from class org.deltava.beans.servinfo.NetworkUser
compareTo, equals, getFirstName, getID, getLastName, getName, getNetwork, getPilotID, getRating, getRowClassName, hashCode, setFirstName, setLastName, setName, setPilotID, setRating
-
Constructor Details
-
PilotRating
Creates the bean.- Parameters:
id- the certificate IDrating- the rating code
-
-
Method Details
-
getATOName
-
getATO
-
getInstructor
public int getInstructor()Returns the Instructor's certificate ID.- Returns:
- the cert ID
-
getRatingCode
-
getIssueDate
Returns the certification's issuance date.- Returns:
- the issue date/time
-
setATO
-
setIssueDate
-
setInstructorID
public void setInstructorID(int cid) Sets the Instructor Certificate ID.- Parameters:
cid- the Instructor's cert ID
-
getType
Description copied from class:NetworkUserReturns the user type.- Specified by:
getTypein classNetworkUser- Returns:
- the Type
-
toString
- Overrides:
toStringin classNetworkUser
-