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.int
Returns the Instructor's certificate ID.Returns the certification's issuance date.Returns the rating code.getType()
Returns the user type.void
Sets the Authorized Training Organizataion.void
setInstructorID
(int cid) Sets the Instructor Certificate ID.void
setIssueDate
(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:NetworkUser
Returns the user type.- Specified by:
getType
in classNetworkUser
- Returns:
- the Type
-
toString
- Overrides:
toString
in classNetworkUser
-