public static class EmergencyNumber.Number_.EmergencyServiceCategory extends Sequence
emergencyServiceCategory
field.Constructor and Description |
---|
EmergencyServiceCategory()
The default constructor.
|
EmergencyServiceCategory(BOOLEAN mountainRescue,
BOOLEAN marineGuard,
BOOLEAN fireBrigade,
BOOLEAN ambulance,
BOOLEAN police)
Constructs an instance of the
EmergencyServiceCategory with the specified
components. |
Modifier and Type | Method and Description |
---|---|
BOOLEAN |
getAmbulance()
Returns the value of the
ambulance field. |
BOOLEAN |
getFireBrigade()
Returns the value of the
fireBrigade field. |
BOOLEAN |
getMarineGuard()
Returns the value of the
marineGuard field. |
BOOLEAN |
getMountainRescue()
Returns the value of the
mountainRescue field. |
BOOLEAN |
getPolice()
Returns the value of the
police field. |
void |
setAmbulance(BOOLEAN ambulance)
Sets the value of the
ambulance field. |
void |
setFireBrigade(BOOLEAN fireBrigade)
Sets the value of the
fireBrigade field. |
void |
setMarineGuard(BOOLEAN marineGuard)
Sets the value of the
marineGuard field. |
void |
setMountainRescue(BOOLEAN mountainRescue)
Sets the value of the
mountainRescue field. |
void |
setPolice(BOOLEAN police)
Sets the value of the
police field. |
public EmergencyServiceCategory()
public EmergencyServiceCategory(BOOLEAN mountainRescue, BOOLEAN marineGuard, BOOLEAN fireBrigade, BOOLEAN ambulance, BOOLEAN police)
EmergencyServiceCategory
with the specified
components.mountainRescue
- the value of the mountainRescue
field (mandatory).marineGuard
- the value of the marineGuard
field (mandatory).fireBrigade
- the value of the fireBrigade
field (mandatory).ambulance
- the value of the ambulance
field (mandatory).police
- the value of the police
field (mandatory).java.lang.IllegalArgumentException
- when any mandatory component has a null value.public BOOLEAN getMountainRescue()
mountainRescue
field.mountainRescue
field.public void setMountainRescue(BOOLEAN mountainRescue)
mountainRescue
field.mountainRescue
- the value of the mountainRescue
field.java.lang.IllegalArgumentException
- when the mountainRescue
parameter is null.public BOOLEAN getMarineGuard()
marineGuard
field.marineGuard
field.public void setMarineGuard(BOOLEAN marineGuard)
marineGuard
field.marineGuard
- the value of the marineGuard
field.java.lang.IllegalArgumentException
- when the marineGuard
parameter is null.public BOOLEAN getFireBrigade()
fireBrigade
field.fireBrigade
field.public void setFireBrigade(BOOLEAN fireBrigade)
fireBrigade
field.fireBrigade
- the value of the fireBrigade
field.java.lang.IllegalArgumentException
- when the fireBrigade
parameter is null.public BOOLEAN getAmbulance()
ambulance
field.ambulance
field.public void setAmbulance(BOOLEAN ambulance)
ambulance
field.ambulance
- the value of the ambulance
field.java.lang.IllegalArgumentException
- when the ambulance
parameter is null.public BOOLEAN getPolice()
police
field.police
field.public void setPolice(BOOLEAN police)
police
field.police
- the value of the police
field.java.lang.IllegalArgumentException
- when the police
parameter is null.Copyright © 2023 OSS Nokalva, Inc. All rights reserved.
This document is proprietary to OSS Nokalva, Inc., and may be used only by their direct licensees. Distribution is not permitted. This copyright statement must not be removed.