public class CAP2CAI_GSM0224 extends AbstractFieldsObject
CAI-GSM0224 ::= SEQUENCE { e1 INTEGER (0..8191) OPTIONAL, e2 INTEGER (0..8191) OPTIONAL, e3 INTEGER (0..8191) OPTIONAL, e4 INTEGER (0..8191) OPTIONAL, e5 INTEGER (0..8191) OPTIONAL, e6 INTEGER (0..8191) OPTIONAL, e7 INTEGER (0..8191) OPTIONAL }
Used as field type by CAP2AOCBeforeAnswer
.
Used as field type by CAP2AOCSubsequent
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP2CAI_GSM0224()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP2CAI_GSM0224 |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP2CAI_GSM0224 |
copyOf(CAP2CAI_GSM0224 from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
|
int |
getE1()
Gets the value of the field e1.
|
int |
getE2()
Gets the value of the field e2.
|
int |
getE3()
Gets the value of the field e3.
|
int |
getE4()
Gets the value of the field e4.
|
int |
getE5()
Gets the value of the field e5.
|
int |
getE6()
Gets the value of the field e6.
|
int |
getE7()
Gets the value of the field e7.
|
static FieldAccessor[] |
getFieldAccessors()
Gets a new array of the accessors for fields of this type.
|
Map<String,Object> |
getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value.
|
boolean |
hasE1()
Tests whether the field e1 has a value.
|
boolean |
hasE2()
Tests whether the field e2 has a value.
|
boolean |
hasE3()
Tests whether the field e3 has a value.
|
boolean |
hasE4()
Tests whether the field e4 has a value.
|
boolean |
hasE5()
Tests whether the field e5 has a value.
|
boolean |
hasE6()
Tests whether the field e6 has a value.
|
boolean |
hasE7()
Tests whether the field e7 has a value.
|
CAP2CAI_GSM0224 |
setE1(int value)
Sets the value of the field e1 and marks the field as present.
|
CAP2CAI_GSM0224 |
setE1Present(boolean flag)
Sets the presence or absence of the optional field e1.
|
CAP2CAI_GSM0224 |
setE2(int value)
Sets the value of the field e2 and marks the field as present.
|
CAP2CAI_GSM0224 |
setE2Present(boolean flag)
Sets the presence or absence of the optional field e2.
|
CAP2CAI_GSM0224 |
setE3(int value)
Sets the value of the field e3 and marks the field as present.
|
CAP2CAI_GSM0224 |
setE3Present(boolean flag)
Sets the presence or absence of the optional field e3.
|
CAP2CAI_GSM0224 |
setE4(int value)
Sets the value of the field e4 and marks the field as present.
|
CAP2CAI_GSM0224 |
setE4Present(boolean flag)
Sets the presence or absence of the optional field e4.
|
CAP2CAI_GSM0224 |
setE5(int value)
Sets the value of the field e5 and marks the field as present.
|
CAP2CAI_GSM0224 |
setE5Present(boolean flag)
Sets the presence or absence of the optional field e5.
|
CAP2CAI_GSM0224 |
setE6(int value)
Sets the value of the field e6 and marks the field as present.
|
CAP2CAI_GSM0224 |
setE6Present(boolean flag)
Sets the presence or absence of the optional field e6.
|
CAP2CAI_GSM0224 |
setE7(int value)
Sets the value of the field e7 and marks the field as present.
|
CAP2CAI_GSM0224 |
setE7Present(boolean flag)
Sets the presence or absence of the optional field e7.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public CAP2CAI_GSM0224()
public CAP2CAI_GSM0224 clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP2CAI_GSM0224 copyOf(CAP2CAI_GSM0224 from)
from
- the object from which to copypublic int getE1()
public int getE2()
public int getE3()
public int getE4()
public int getE5()
public int getE6()
public int getE7()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic boolean hasE1()
public boolean hasE2()
public boolean hasE3()
public boolean hasE4()
public boolean hasE5()
public boolean hasE6()
public boolean hasE7()
public CAP2CAI_GSM0224 setE1(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE1Present(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE2(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE2Present(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE3(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE3Present(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE4(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE4Present(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE5(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE5Present(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE6(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE6Present(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE7(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2CAI_GSM0224 setE7Present(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-only