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 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 NetworkUser
compareTo, equals, getFirstName, getID, getLastName, getName, getNetwork, getPilotID, getRating, getRowClassName, hashCode, setFirstName, setLastName, setName, setPilotID, setRatingModifier and TypeMethodDescriptionintcompareTo(NetworkUser usr2) booleanReturns the user's first name.intgetID()Returns the user's network ID.Returns the user's last name.getName()Returns the user's full name.Returns the Online Network for this user.intReturns the Database ID of this network user.Returns the Controller's rating.Returns the CSS class for this object if rendered in a view table.inthashCode()voidsetFirstName(String fName) Updates the user's first name.voidsetLastName(String lName) Updates the user's last name.voidUpdates the network user's name, stripping off the home airport.voidsetPilotID(int id) Updates the database ID of this User.voidSets the Users's rating.
-
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
-