public class PartialServiceArea extends Choice
PartialServiceArea
type.Modifier and Type | Field and Description |
---|---|
static int |
type0_chosen
Identifies the
type0 alternative. |
static int |
type1_chosen
Identifies the
type1 alternative. |
static int |
type2_chosen
Identifies the
type2 alternative. |
static int |
type3_chosen
Identifies the
type3 alternative. |
Constructor and Description |
---|
PartialServiceArea()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
static PartialServiceArea |
createWithType0(PartialServiceType0 type0)
Creates an instance of the
PartialServiceArea with the type0
alternative selected. |
static PartialServiceArea |
createWithType1(PartialServiceType1 type1)
Creates an instance of the
PartialServiceArea with the type1
alternative selected. |
static PartialServiceArea |
createWithType2(PartialServiceType2 type2)
Creates an instance of the
PartialServiceArea with the type2
alternative selected. |
static PartialServiceArea |
createWithType3(PartialServiceType3 type3)
Creates an instance of the
PartialServiceArea with the type3
alternative selected. |
PartialServiceType0 |
getType0()
Returns the value of the
type0 alternative. |
PartialServiceType1 |
getType1()
Returns the value of the
type1 alternative. |
PartialServiceType2 |
getType2()
Returns the value of the
type2 alternative. |
PartialServiceType3 |
getType3()
Returns the value of the
type3 alternative. |
boolean |
hasType0()
Reports whether the
type0 alternative is selected. |
boolean |
hasType1()
Reports whether the
type1 alternative is selected. |
boolean |
hasType2()
Reports whether the
type2 alternative is selected. |
boolean |
hasType3()
Reports whether the
type3 alternative is selected. |
void |
setType0(PartialServiceType0 type0)
Selects the
type0 alternative. |
void |
setType1(PartialServiceType1 type1)
Selects the
type1 alternative. |
void |
setType2(PartialServiceType2 type2)
Selects the
type2 alternative. |
void |
setType3(PartialServiceType3 type3)
Selects the
type3 alternative. |
clone, equals, getChosenFlag, getChosenValue, hashCode
public static final int type0_chosen
type0
alternative.public static final int type1_chosen
type1
alternative.public static final int type2_chosen
type2
alternative.public static final int type3_chosen
type3
alternative.public static PartialServiceArea createWithType0(PartialServiceType0 type0)
PartialServiceArea
with the type0
alternative selected.type0
- the value of the type0
alternative.PartialServiceArea
class.public boolean hasType0()
type0
alternative is selected.type0
alternative is selected.public PartialServiceType0 getType0()
type0
alternative.type0
alternative or null if the
type0
alternative is not selected.public void setType0(PartialServiceType0 type0)
type0
alternative.type0
- the value of the type0
alternative.public static PartialServiceArea createWithType1(PartialServiceType1 type1)
PartialServiceArea
with the type1
alternative selected.type1
- the value of the type1
alternative.PartialServiceArea
class.public boolean hasType1()
type1
alternative is selected.type1
alternative is selected.public PartialServiceType1 getType1()
type1
alternative.type1
alternative or null if the
type1
alternative is not selected.public void setType1(PartialServiceType1 type1)
type1
alternative.type1
- the value of the type1
alternative.public static PartialServiceArea createWithType2(PartialServiceType2 type2)
PartialServiceArea
with the type2
alternative selected.type2
- the value of the type2
alternative.PartialServiceArea
class.public boolean hasType2()
type2
alternative is selected.type2
alternative is selected.public PartialServiceType2 getType2()
type2
alternative.type2
alternative or null if the
type2
alternative is not selected.public void setType2(PartialServiceType2 type2)
type2
alternative.type2
- the value of the type2
alternative.public static PartialServiceArea createWithType3(PartialServiceType3 type3)
PartialServiceArea
with the type3
alternative selected.type3
- the value of the type3
alternative.PartialServiceArea
class.public boolean hasType3()
type3
alternative is selected.type3
alternative is selected.public PartialServiceType3 getType3()
type3
alternative.type3
alternative or null if the
type3
alternative is not selected.public void setType3(PartialServiceType3 type3)
type3
alternative.type3
- the value of the type3
alternative.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.