public class TAIListElement extends Choice
TAIListElement
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. |
Constructor and Description |
---|
TAIListElement()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
static TAIListElement |
createWithType0(TAIListElement_type0 type0)
Creates an instance of the
TAIListElement with the type0
alternative selected. |
static TAIListElement |
createWithType1(TAIListElement_type1 type1)
Creates an instance of the
TAIListElement with the type1
alternative selected. |
static TAIListElement |
createWithType2(TAIListElement_type2 type2)
Creates an instance of the
TAIListElement with the type2
alternative selected. |
TAIListElement_type0 |
getType0()
Returns the value of the
type0 alternative. |
TAIListElement_type1 |
getType1()
Returns the value of the
type1 alternative. |
TAIListElement_type2 |
getType2()
Returns the value of the
type2 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. |
void |
setType0(TAIListElement_type0 type0)
Selects the
type0 alternative. |
void |
setType1(TAIListElement_type1 type1)
Selects the
type1 alternative. |
void |
setType2(TAIListElement_type2 type2)
Selects the
type2 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 TAIListElement createWithType0(TAIListElement_type0 type0)
TAIListElement
with the type0
alternative selected.type0
- the value of the type0
alternative.TAIListElement
class.public boolean hasType0()
type0
alternative is selected.type0
alternative is selected.public TAIListElement_type0 getType0()
type0
alternative.type0
alternative or null if the
type0
alternative is not selected.public void setType0(TAIListElement_type0 type0)
type0
alternative.type0
- the value of the type0
alternative.public static TAIListElement createWithType1(TAIListElement_type1 type1)
TAIListElement
with the type1
alternative selected.type1
- the value of the type1
alternative.TAIListElement
class.public boolean hasType1()
type1
alternative is selected.type1
alternative is selected.public TAIListElement_type1 getType1()
type1
alternative.type1
alternative or null if the
type1
alternative is not selected.public void setType1(TAIListElement_type1 type1)
type1
alternative.type1
- the value of the type1
alternative.public static TAIListElement createWithType2(TAIListElement_type2 type2)
TAIListElement
with the type2
alternative selected.type2
- the value of the type2
alternative.TAIListElement
class.public boolean hasType2()
type2
alternative is selected.type2
alternative is selected.public TAIListElement_type2 getType2()
type2
alternative.type2
alternative or null if the
type2
alternative is not selected.public void setType2(TAIListElement_type2 type2)
type2
alternative.type2
- the value of the type2
alternative.Copyright © 2024 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.