Class IFFMode5StatusRecord.Builder
java.lang.Object
edu.nps.moves.dis7.test.IFFMode5StatusRecord.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
setAntennaSelection
(AntennaSelection antennaSelection) Default value is AntennaSelection.NO_STATEMENT.setCryptoControlBit
(boolean cryptoControlBit) Set false to indicate Crypto Control IFF data record Not Present, true to indicate Crypto Control IFF Data Record Present.setDamageStatusBit
(boolean damageStatusBit) Set false to indicate No Damage, true to indicate Damaged.setLatLongAltitudeSourceBit
(boolean latLongAltitudeSourceBit) Set false to indicate Compute Locally, true to indicate Mode 5 Transponder Location IFF Data Record Present.setLineTestBit
(boolean lineTestBit) Set false to indicate Not Enabled, true to indicate Enabled.setLocationErrors
(Mode5LocationErrors locationErrors) Default value is Mode5LocationErrors.NO_LOCATION_ERRORS.setMalfunctionBit
(boolean malfunctionBit) Set false to indicate No Malfunction, true to indicate Malfunction.setMode5LevelSelection
(Mode5LevelSelection levelSelection) Default value is Mode5LevelSelection.MODE_5_LEVEL_1.setMode5Reply
(Mode5Reply reply) Default value is Mode5Reply.NO_RESPONSE.setOnOffStatusBit
(boolean onOffStatusBit) Set false to indicate Mode 5 transponder is Off, true to indicate Mode 5 transponder is On.setPlatformType
(Mode5PlatformType platformType) Default value is Mode5PlatformType.GROUND_VEHICLE.
-
Constructor Details
-
Builder
public Builder() -
Builder
public Builder(short mode5Status)
-
-
Method Details
-
setMode5Reply
Default value is Mode5Reply.NO_RESPONSE.- Parameters:
reply
- Mode5Reply UID 350- Returns:
- this object for chainable invocations
-
setLineTestBit
Set false to indicate Not Enabled, true to indicate Enabled. Default value is false.- Parameters:
lineTestBit
-- Returns:
- this object for chainable invocations
-
setAntennaSelection
Default value is AntennaSelection.NO_STATEMENT.- Parameters:
antennaSelection
- UID 351- Returns:
- this object for chainable invocations
-
setCryptoControlBit
Set false to indicate Crypto Control IFF data record Not Present, true to indicate Crypto Control IFF Data Record Present. Default value is false.- Parameters:
cryptoControlBit
-- Returns:
- this object for chainable invocations
-
setLatLongAltitudeSourceBit
Set false to indicate Compute Locally, true to indicate Mode 5 Transponder Location IFF Data Record Present. Default value is false.- Parameters:
latLongAltitudeSourceBit
-- Returns:
- this object for chainable invocations
-
setLocationErrors
Default value is Mode5LocationErrors.NO_LOCATION_ERRORS.- Parameters:
locationErrors
- UID 423- Returns:
- this object for chainable invocations
-
setPlatformType
Default value is Mode5PlatformType.GROUND_VEHICLE.- Parameters:
platformType
- UID 396- Returns:
- this object for chainable invocations
-
setMode5LevelSelection
Default value is Mode5LevelSelection.MODE_5_LEVEL_1.- Parameters:
levelSelection
- UID 412- Returns:
- this object for chainable invocations
-
setOnOffStatusBit
Set false to indicate Mode 5 transponder is Off, true to indicate Mode 5 transponder is On. Default value is false.- Parameters:
onOffStatusBit
-- Returns:
- this object for chainable invocations
-
setDamageStatusBit
Set false to indicate No Damage, true to indicate Damaged. Default value is false.- Parameters:
damageStatusBit
-- Returns:
- this object for chainable invocations
-
setMalfunctionBit
Set false to indicate No Malfunction, true to indicate Malfunction. Default value is false.- Parameters:
malfunctionBit
-- Returns:
- this object for chainable invocations
-
build
-