Class EquipmentRideScriptKey
java.lang.Object
org.deltava.beans.testing.EquipmentRideScriptKey
- All Implemented Interfaces:
Serializable,Cloneable,Auditable
-
Constructor Summary
ConstructorsConstructorDescriptionEquipmentRideScriptKey(String programName, String eqType, boolean isCurrency) Creates the ride script key. -
Method Summary
Modifier and TypeMethodDescriptionReturns the object ID for this auditable object.Returns the aircraft type.Returns the equipment program name.inthashCode()booleanReturns whether this is a currency Check Ride script.static booleanChecks whether a Check Ride script key is valid.static EquipmentRideScriptKeyParses an encoded equipment Check Ride script key.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.deltava.beans.Auditable
getAuditType, isCrossApp
-
Constructor Details
-
EquipmentRideScriptKey
-
-
Method Details
-
parse
Parses an encoded equipment Check Ride script key.- Parameters:
key- the key- Returns:
- an EquipmentRideScriptKey bean
-
isValid
Checks whether a Check Ride script key is valid.- Parameters:
id- the ID- Returns:
- TRUE if valid, otherwise FALSE
-
getProgramName
-
getEquipmentType
-
isCurrency
public boolean isCurrency()Returns whether this is a currency Check Ride script.- Returns:
- TRUE if currency, otherwise FALSE
-
getAuditID
Description copied from interface:AuditableReturns the object ID for this auditable object.- Specified by:
getAuditIDin interfaceAuditable- Returns:
- the ID
-
hashCode
-
toString
-