Class GSMSupplementaryServiceList
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- AbstractEncodedDataObject<T>
-
- AbstractLazyEncodedDataObject<byte[]>
-
- AbstractLazyEncodedByteArray
-
- com.opencloud.slee.resources.in.datatypes.cc.GSMSupplementaryServiceList
-
- All Implemented Interfaces:
DataObject
,FastSerializable
,Serializable
public final class GSMSupplementaryServiceList extends AbstractLazyEncodedByteArray implements FastSerializable
Class GSMSupplementaryServiceList as defined Nokia INAP Issue 6-0.The API offered by this class is as if the type were specified in ASN.1 as follows.
GSMSupplementaryServiceList ::= SEQUENCE { aoCC AoCC, aoCI AoCI, oDB ODB, bIC-Roam BIC_Roam, bAIC BAIC, bOIC-exHC BOIC_ExHC, bOIC BOIC, bAOC BAOC, cOLR COLR, cOLP COLP, cLIR CLIR, cLIP CLIP, cFNRc CFNRc, cFNRy CFNRy, cFB CFB, cFU CFU, cD CD, cUG CUG, mPTY MPTY, hOLD HOLD, cW CW }
The class takes care of encoding the field values into a byte-array and decoding field values from a byte-array, the encoded representation being as tabulated below.
Data Encoding - based on Nokia INAP Issue 6-0 ASN.1 8 7 6 5 4 3 2 1 Octet 1 AoCC AoCI ODB BIC_Roam BAIC BOIC_ExHC BOIC BAOC Octet 2 COLR COLP CLIR CLIP CFNRc CNFRy FCFB CFU Octet 3 Spare Spare Spare CD CUG MPTY HOLD CW - See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GSMSupplementaryServiceList.AoCC
GSMSupplementaryServiceList AoCC constants.static class
GSMSupplementaryServiceList.AoCI
GSMSupplementaryServiceList AoCI constants.static class
GSMSupplementaryServiceList.BAIC
GSMSupplementaryServiceList BAIC constants.static class
GSMSupplementaryServiceList.BAOC
GSMSupplementaryServiceList BAOC constants.static class
GSMSupplementaryServiceList.BIC_Roam
GSMSupplementaryServiceList BIC_Roam constants.static class
GSMSupplementaryServiceList.BOIC
GSMSupplementaryServiceList BOIC constants.static class
GSMSupplementaryServiceList.BOIC_ExHC
GSMSupplementaryServiceList BOIC_ExHC constants.static class
GSMSupplementaryServiceList.CD
GSMSupplementaryServiceList CD constants.static class
GSMSupplementaryServiceList.CFB
GSMSupplementaryServiceList CFB constants.static class
GSMSupplementaryServiceList.CFNRc
GSMSupplementaryServiceList CFNRc constants.static class
GSMSupplementaryServiceList.CFNRy
GSMSupplementaryServiceList CFNRy constants.static class
GSMSupplementaryServiceList.CFU
GSMSupplementaryServiceList CFU constants.static class
GSMSupplementaryServiceList.CLIP
GSMSupplementaryServiceList CLIP constants.static class
GSMSupplementaryServiceList.CLIR
GSMSupplementaryServiceList CLIR constants.static class
GSMSupplementaryServiceList.COLP
GSMSupplementaryServiceList COLP constants.static class
GSMSupplementaryServiceList.COLR
GSMSupplementaryServiceList COLR constants.static class
GSMSupplementaryServiceList.CUG
GSMSupplementaryServiceList CUG constants.static class
GSMSupplementaryServiceList.CW
GSMSupplementaryServiceList CW constants.static class
GSMSupplementaryServiceList.HOLD
GSMSupplementaryServiceList HOLD constants.static class
GSMSupplementaryServiceList.MPTY
GSMSupplementaryServiceList MPTY constants.static class
GSMSupplementaryServiceList.ODB
GSMSupplementaryServiceList ODB constants.
-
Field Summary
-
Fields inherited from class com.opencloud.slee.resources.cgin.AbstractLazyEncodedDataObject
isDecoded
-
Fields inherited from class com.opencloud.slee.resources.cgin.AbstractEncodedDataObject
encoded
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkFieldsSet()
Checks that all mandatory fields are present.GSMSupplementaryServiceList
clone()
Constructs a copy of this object and everything reachable from it.static GSMSupplementaryServiceList
copyOf(GSMSupplementaryServiceList 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.protected void
decode()
Computes the decoded form from the encoded form.protected void
encode()
Computes the encoded form from the decoded form.protected boolean
encodedIsInvalid()
Determines whether the encoded form is invalid.GSMSupplementaryServiceList.AoCC
getAoCC()
Gets the value of the AoCC.GSMSupplementaryServiceList.AoCI
getAoCI()
Gets the value of the AoCI.GSMSupplementaryServiceList.BAIC
getBAIC()
Gets the value of the BAIC.GSMSupplementaryServiceList.BAOC
getBAOC()
Gets the value of the BAOC.GSMSupplementaryServiceList.BIC_Roam
getBIC_Roam()
Gets the value of the BIC-Roam.GSMSupplementaryServiceList.BOIC
getBOIC()
Gets the value of the BOIC.GSMSupplementaryServiceList.BOIC_ExHC
getBOIC_ExHC()
Gets the value of the BOIC_ExHC.GSMSupplementaryServiceList.CD
getCD()
Gets the value of the CD.GSMSupplementaryServiceList.CFB
getCFB()
Gets the value of the CFB.GSMSupplementaryServiceList.CFNRc
getCFNRc()
Gets the value of the CFNRc.GSMSupplementaryServiceList.CFNRy
getCFNRy()
Gets the value of the CFNRy.GSMSupplementaryServiceList.CFU
getCFU()
Gets the value of the CFU.GSMSupplementaryServiceList.CLIP
getCLIP()
Gets the value of the CLIP.GSMSupplementaryServiceList.CLIR
getCLIR()
Gets the value of the CLIR.GSMSupplementaryServiceList.COLP
getCOLP()
Gets the value of the COLP.GSMSupplementaryServiceList.COLR
getCOLR()
Gets the value of the COLR.GSMSupplementaryServiceList.CUG
getCUG()
Gets the value of the CUG.GSMSupplementaryServiceList.CW
getCW()
Gets the value of the CW.byte[]
getEncodedForm()
Gets the encoded form.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 for the fields of a sequence.GSMSupplementaryServiceList.HOLD
getHOLD()
Gets the value of the HOLD.GSMSupplementaryServiceList.MPTY
getMPTY()
Gets the value of the MPTY.GSMSupplementaryServiceList.ODB
getODB()
Gets the value of the ODB.boolean
hasAoCC()
Tests whether the field AoCC has a value.boolean
hasAoCI()
Tests whether the field AoCI has a value.boolean
hasBAIC()
Tests whether the field BAIC has a value.boolean
hasBAOC()
Tests whether the field BAOC has a value.boolean
hasBIC_Roam()
Tests whether the field BIC_Roam has a value.boolean
hasBOIC()
Tests whether the field BOIC has a value.boolean
hasBOIC_ExHC()
Tests whether the field BOIC_ExHC has a value.boolean
hasCD()
Tests whether the field CD has a value.boolean
hasCFB()
Tests whether the field CFB has a value.boolean
hasCFNRc()
Tests whether the field CFNRc has a value.boolean
hasCFNRy()
Tests whether the field CFNRy has a value.boolean
hasCFU()
Tests whether the field CFU has a value.boolean
hasCLIP()
Tests whether the field CLIP has a value.boolean
hasCLIR()
Tests whether the field CLIR has a value.boolean
hasCOLP()
Tests whether the field COLP has a value.boolean
hasCOLR()
Tests whether the field COLR has a value.boolean
hasCUG()
Tests whether the field CUG has a value.boolean
hasCW()
Tests whether the field CW has a value.boolean
hasHOLD()
Tests whether the field HOLD has a value.boolean
hasMPTY()
Tests whether the field MPTY has a value.boolean
hasODB()
Tests whether the field ODB has a value.GSMSupplementaryServiceList
setAoCC(GSMSupplementaryServiceList.AoCC value)
Sets the value of the AoCC.GSMSupplementaryServiceList
setAoCI(GSMSupplementaryServiceList.AoCI value)
Sets the value of the AoCI.GSMSupplementaryServiceList
setBAIC(GSMSupplementaryServiceList.BAIC value)
Sets the value of the BAIC.GSMSupplementaryServiceList
setBAOC(GSMSupplementaryServiceList.BAOC value)
Sets the value of the BAOC.GSMSupplementaryServiceList
setBIC_Roam(GSMSupplementaryServiceList.BIC_Roam value)
Sets the value of the BIC-Roam.GSMSupplementaryServiceList
setBOIC(GSMSupplementaryServiceList.BOIC value)
Sets the value of the BOIC.GSMSupplementaryServiceList
setBOIC_ExHC(GSMSupplementaryServiceList.BOIC_ExHC value)
Sets the value of the BOIC_ExHC.GSMSupplementaryServiceList
setCD(GSMSupplementaryServiceList.CD value)
Sets the value of the CD.GSMSupplementaryServiceList
setCFB(GSMSupplementaryServiceList.CFB value)
Sets the value of the CFB.GSMSupplementaryServiceList
setCFNRc(GSMSupplementaryServiceList.CFNRc value)
Sets the value of the CFNRc.GSMSupplementaryServiceList
setCFNRy(GSMSupplementaryServiceList.CFNRy value)
Sets the value of the CFNRy.GSMSupplementaryServiceList
setCFU(GSMSupplementaryServiceList.CFU value)
Sets the value of the CFU.GSMSupplementaryServiceList
setCLIP(GSMSupplementaryServiceList.CLIP value)
Sets the value of the CLIP.GSMSupplementaryServiceList
setCLIR(GSMSupplementaryServiceList.CLIR value)
Sets the value of the CLIR.GSMSupplementaryServiceList
setCOLP(GSMSupplementaryServiceList.COLP value)
Sets the value of the COLP.GSMSupplementaryServiceList
setCOLR(GSMSupplementaryServiceList.COLR value)
Sets the value of the COLR.GSMSupplementaryServiceList
setCUG(GSMSupplementaryServiceList.CUG value)
Sets the value of the CUG.GSMSupplementaryServiceList
setCW(GSMSupplementaryServiceList.CW value)
Sets the value of the CW.GSMSupplementaryServiceList
setHOLD(GSMSupplementaryServiceList.HOLD value)
Sets the value of the HOLD.GSMSupplementaryServiceList
setMPTY(GSMSupplementaryServiceList.MPTY value)
Sets the value of the MPTY.GSMSupplementaryServiceList
setODB(GSMSupplementaryServiceList.ODB value)
Sets the value of the ODB.void
toStream(DataOutput out)
Serializes this object to a stream in a form suitable for reading byGSMSupplementaryServiceList(DataInput)
.-
Methods inherited from class com.opencloud.slee.resources.cgin.AbstractLazyEncodedDataObject
checkDecode, checkModifyAndDecode
-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Constructor Detail
-
GSMSupplementaryServiceList
public GSMSupplementaryServiceList()
Constructs a new GSMSupplementaryServiceList object with no fields set.
-
GSMSupplementaryServiceList
public GSMSupplementaryServiceList(byte[] data)
Constructs a new GSMSupplementaryServiceList object from network-encoded data. The data is not decoded and might not be decodable.- Parameters:
data
- network-encoded data- Throws:
NullPointerException
- if data is null
-
GSMSupplementaryServiceList
public GSMSupplementaryServiceList(byte[] data, int start, int len)
Constructs a new GSMSupplementaryServiceList object from part of network-encoded data. The part starts at indexstart
and islen
bytes long. The data is not decoded and might not be decodable.- Parameters:
data
- network-encoded datastart
- starting offset of network-encoded data in byte arraylen
- default length if not predictable- Throws:
NullPointerException
- if data is nullIllegalArgumentException
- if len is negative
-
GSMSupplementaryServiceList
public GSMSupplementaryServiceList(GSMSupplementaryServiceList.AoCC aoCC, GSMSupplementaryServiceList.AoCI aoCI, GSMSupplementaryServiceList.ODB oDB, GSMSupplementaryServiceList.BIC_Roam bIC_Roam, GSMSupplementaryServiceList.BAIC bAIC, GSMSupplementaryServiceList.BOIC_ExHC bOIC_ExHC, GSMSupplementaryServiceList.BOIC bOIC, GSMSupplementaryServiceList.BAOC bAOC, GSMSupplementaryServiceList.COLR cOLR, GSMSupplementaryServiceList.COLP cOLP, GSMSupplementaryServiceList.CLIR cLIR, GSMSupplementaryServiceList.CLIP cLIP, GSMSupplementaryServiceList.CFNRc cFNRc, GSMSupplementaryServiceList.CFNRy cFNRy, GSMSupplementaryServiceList.CFB cFB, GSMSupplementaryServiceList.CFU cFU, GSMSupplementaryServiceList.CD cD, GSMSupplementaryServiceList.CUG cUG, GSMSupplementaryServiceList.MPTY mPTY, GSMSupplementaryServiceList.HOLD hOLD, GSMSupplementaryServiceList.CW cW)
Constructs a new GSMSupplementaryServiceList object from given values for all fields.- Parameters:
aoCC
- the AoCCaoCI
- the AoCIoDB
- the ODBbIC_Roam
- the BIC-RoambAIC
- the BAICbOIC_ExHC
- the BOIC_ExHCbOIC
- the BOICbAOC
- the BAOCcOLR
- the COLRcOLP
- the COLPcLIR
- the CLIRcLIP
- the CLIPcFNRc
- the CFNRccFNRy
- the CFNRycFB
- the CFBcFU
- the CFUcD
- the CDcUG
- the CUGmPTY
- the MPTYhOLD
- the HOLDcW
- the CW
-
GSMSupplementaryServiceList
public GSMSupplementaryServiceList(DataInput in) throws IOException
Constructs a new GSMSupplementaryServiceList object from data deserialized from a stream that was written bytoStream(DataOutput)
.- Parameters:
in
- the stream to read from- Throws:
EOFException
- if reading is pre-empted by end-of-fileIOException
- if the data cannot be read
-
-
Method Detail
-
toStream
public void toStream(DataOutput out) throws IOException
Serializes this object to a stream in a form suitable for reading byGSMSupplementaryServiceList(DataInput)
.- Specified by:
toStream
in interfaceFastSerializable
- Parameters:
out
- the stream to write to- Throws:
IOException
- if an I/O error occurs
-
hasAoCC
public boolean hasAoCC() throws DecodeException
Tests whether the field AoCC has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasAoCI
public boolean hasAoCI() throws DecodeException
Tests whether the field AoCI has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasODB
public boolean hasODB() throws DecodeException
Tests whether the field ODB has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasBIC_Roam
public boolean hasBIC_Roam() throws DecodeException
Tests whether the field BIC_Roam has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasBAIC
public boolean hasBAIC() throws DecodeException
Tests whether the field BAIC has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasBOIC_ExHC
public boolean hasBOIC_ExHC() throws DecodeException
Tests whether the field BOIC_ExHC has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasBOIC
public boolean hasBOIC() throws DecodeException
Tests whether the field BOIC has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasBAOC
public boolean hasBAOC() throws DecodeException
Tests whether the field BAOC has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCOLR
public boolean hasCOLR() throws DecodeException
Tests whether the field COLR has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCOLP
public boolean hasCOLP() throws DecodeException
Tests whether the field COLP has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCLIR
public boolean hasCLIR() throws DecodeException
Tests whether the field CLIR has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCLIP
public boolean hasCLIP() throws DecodeException
Tests whether the field CLIP has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCFNRc
public boolean hasCFNRc() throws DecodeException
Tests whether the field CFNRc has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCFNRy
public boolean hasCFNRy() throws DecodeException
Tests whether the field CFNRy has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCFB
public boolean hasCFB() throws DecodeException
Tests whether the field CFB has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCFU
public boolean hasCFU() throws DecodeException
Tests whether the field CFU has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCD
public boolean hasCD() throws DecodeException
Tests whether the field CD has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCUG
public boolean hasCUG() throws DecodeException
Tests whether the field CUG has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasMPTY
public boolean hasMPTY() throws DecodeException
Tests whether the field MPTY has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasHOLD
public boolean hasHOLD() throws DecodeException
Tests whether the field HOLD has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
hasCW
public boolean hasCW() throws DecodeException
Tests whether the field CW has a value.- Returns:
- whether the field has a value
- Throws:
DecodeException
- if encoded state cannot be decoded
-
checkFieldsSet
public void checkFieldsSet() throws EncodeException
Checks that all mandatory fields are present. Should be called immediately before all calls to encode().- Specified by:
checkFieldsSet
in classAbstractLazyEncodedDataObject<byte[]>
- Throws:
EncodeException
- if any mandatory field is not present
-
getAoCC
public GSMSupplementaryServiceList.AoCC getAoCC() throws DecodeException
Gets the value of the AoCC.- Returns:
- AoCC representation of the AoCC
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getAoCI
public GSMSupplementaryServiceList.AoCI getAoCI() throws DecodeException
Gets the value of the AoCI.- Returns:
- AoCI representation of the AoCI
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getODB
public GSMSupplementaryServiceList.ODB getODB() throws DecodeException
Gets the value of the ODB.- Returns:
- ODB representation of the ODB
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getBIC_Roam
public GSMSupplementaryServiceList.BIC_Roam getBIC_Roam() throws DecodeException
Gets the value of the BIC-Roam.- Returns:
- BIC_Roam representation of the BIC-Roam
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getBAIC
public GSMSupplementaryServiceList.BAIC getBAIC() throws DecodeException
Gets the value of the BAIC.- Returns:
- BAIC representation of the BAIC
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getBOIC_ExHC
public GSMSupplementaryServiceList.BOIC_ExHC getBOIC_ExHC() throws DecodeException
Gets the value of the BOIC_ExHC.- Returns:
- BOIC_ExHC representation of the BOIC_ExHC
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getBOIC
public GSMSupplementaryServiceList.BOIC getBOIC() throws DecodeException
Gets the value of the BOIC.- Returns:
- BOIC representation of the BOIC
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getBAOC
public GSMSupplementaryServiceList.BAOC getBAOC() throws DecodeException
Gets the value of the BAOC.- Returns:
- BAOC representation of the BAOC
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCOLR
public GSMSupplementaryServiceList.COLR getCOLR() throws DecodeException
Gets the value of the COLR.- Returns:
- COLR representation of the COLR
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCOLP
public GSMSupplementaryServiceList.COLP getCOLP() throws DecodeException
Gets the value of the COLP.- Returns:
- COLP representation of the COLP
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCLIR
public GSMSupplementaryServiceList.CLIR getCLIR() throws DecodeException
Gets the value of the CLIR.- Returns:
- CLIR representation of the CLIR
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCLIP
public GSMSupplementaryServiceList.CLIP getCLIP() throws DecodeException
Gets the value of the CLIP.- Returns:
- CLIP representation of the CLIP
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCFNRc
public GSMSupplementaryServiceList.CFNRc getCFNRc() throws DecodeException
Gets the value of the CFNRc.- Returns:
- CFNRc representation of the CFNRc
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCFNRy
public GSMSupplementaryServiceList.CFNRy getCFNRy() throws DecodeException
Gets the value of the CFNRy.- Returns:
- CFNRy representation of the CFNRy
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCFB
public GSMSupplementaryServiceList.CFB getCFB() throws DecodeException
Gets the value of the CFB.- Returns:
- CFB representation of the CFB
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCFU
public GSMSupplementaryServiceList.CFU getCFU() throws DecodeException
Gets the value of the CFU.- Returns:
- CFU representation of the CFU
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCD
public GSMSupplementaryServiceList.CD getCD() throws DecodeException
Gets the value of the CD.- Returns:
- CD representation of the CD
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCUG
public GSMSupplementaryServiceList.CUG getCUG() throws DecodeException
Gets the value of the CUG.- Returns:
- CUG representation of the CUG
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getMPTY
public GSMSupplementaryServiceList.MPTY getMPTY() throws DecodeException
Gets the value of the MPTY.- Returns:
- MPTY representation of the MPTY
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getHOLD
public GSMSupplementaryServiceList.HOLD getHOLD() throws DecodeException
Gets the value of the HOLD.- Returns:
- HOLD representation of the HOLD
- Throws:
DecodeException
- if encoded state cannot be decoded
-
getCW
public GSMSupplementaryServiceList.CW getCW() throws DecodeException
Gets the value of the CW.- Returns:
- CW representation of the CW
- Throws:
DecodeException
- if encoded state cannot be decoded
-
setAoCC
public GSMSupplementaryServiceList setAoCC(GSMSupplementaryServiceList.AoCC value) throws IllegalStateException
Sets the value of the AoCC.- Parameters:
value
- AoCC representation of the AoCC- Returns:
- this
- Throws:
IllegalStateException
-
setAoCI
public GSMSupplementaryServiceList setAoCI(GSMSupplementaryServiceList.AoCI value) throws IllegalStateException
Sets the value of the AoCI.- Parameters:
value
- AoCI representation of the AoCI- Returns:
- this
- Throws:
IllegalStateException
-
setODB
public GSMSupplementaryServiceList setODB(GSMSupplementaryServiceList.ODB value) throws IllegalStateException
Sets the value of the ODB.- Parameters:
value
- ODB representation of the ODB- Returns:
- this
- Throws:
IllegalStateException
-
setBIC_Roam
public GSMSupplementaryServiceList setBIC_Roam(GSMSupplementaryServiceList.BIC_Roam value) throws IllegalStateException
Sets the value of the BIC-Roam.- Parameters:
value
- BIC_Roam representation of the BIC-Roam- Returns:
- this
- Throws:
IllegalStateException
-
setBAIC
public GSMSupplementaryServiceList setBAIC(GSMSupplementaryServiceList.BAIC value) throws IllegalStateException
Sets the value of the BAIC.- Parameters:
value
- BAIC representation of the BAIC- Returns:
- this
- Throws:
IllegalStateException
-
setBOIC_ExHC
public GSMSupplementaryServiceList setBOIC_ExHC(GSMSupplementaryServiceList.BOIC_ExHC value) throws IllegalStateException
Sets the value of the BOIC_ExHC.- Parameters:
value
- BOIC_ExHC representation of the BOIC_ExHC- Returns:
- this
- Throws:
IllegalStateException
-
setBOIC
public GSMSupplementaryServiceList setBOIC(GSMSupplementaryServiceList.BOIC value) throws IllegalStateException
Sets the value of the BOIC.- Parameters:
value
- BOIC representation of the BOIC- Returns:
- this
- Throws:
IllegalStateException
-
setBAOC
public GSMSupplementaryServiceList setBAOC(GSMSupplementaryServiceList.BAOC value) throws IllegalStateException
Sets the value of the BAOC.- Parameters:
value
- BAOC representation of the BAOC- Returns:
- this
- Throws:
IllegalStateException
-
setCOLR
public GSMSupplementaryServiceList setCOLR(GSMSupplementaryServiceList.COLR value) throws IllegalStateException
Sets the value of the COLR.- Parameters:
value
- COLR representation of the COLR- Returns:
- this
- Throws:
IllegalStateException
-
setCOLP
public GSMSupplementaryServiceList setCOLP(GSMSupplementaryServiceList.COLP value) throws IllegalStateException
Sets the value of the COLP.- Parameters:
value
- COLP representation of the COLP- Returns:
- this
- Throws:
IllegalStateException
-
setCLIR
public GSMSupplementaryServiceList setCLIR(GSMSupplementaryServiceList.CLIR value) throws IllegalStateException
Sets the value of the CLIR.- Parameters:
value
- CLIR representation of the CLIR- Returns:
- this
- Throws:
IllegalStateException
-
setCLIP
public GSMSupplementaryServiceList setCLIP(GSMSupplementaryServiceList.CLIP value) throws IllegalStateException
Sets the value of the CLIP.- Parameters:
value
- CLIP representation of the CLIP- Returns:
- this
- Throws:
IllegalStateException
-
setCFNRc
public GSMSupplementaryServiceList setCFNRc(GSMSupplementaryServiceList.CFNRc value) throws IllegalStateException
Sets the value of the CFNRc.- Parameters:
value
- CFNRc representation of the CFNRc- Returns:
- this
- Throws:
IllegalStateException
-
setCFNRy
public GSMSupplementaryServiceList setCFNRy(GSMSupplementaryServiceList.CFNRy value) throws IllegalStateException
Sets the value of the CFNRy.- Parameters:
value
- CFNRy representation of the CFNRy- Returns:
- this
- Throws:
IllegalStateException
-
setCFB
public GSMSupplementaryServiceList setCFB(GSMSupplementaryServiceList.CFB value) throws IllegalStateException
Sets the value of the CFB.- Parameters:
value
- CFB representation of the CFB- Returns:
- this
- Throws:
IllegalStateException
-
setCFU
public GSMSupplementaryServiceList setCFU(GSMSupplementaryServiceList.CFU value) throws IllegalStateException
Sets the value of the CFU.- Parameters:
value
- CFU representation of the CFU- Returns:
- this
- Throws:
IllegalStateException
-
setCD
public GSMSupplementaryServiceList setCD(GSMSupplementaryServiceList.CD value) throws IllegalStateException
Sets the value of the CD.- Parameters:
value
- CD representation of the CD- Returns:
- this
- Throws:
IllegalStateException
-
setCUG
public GSMSupplementaryServiceList setCUG(GSMSupplementaryServiceList.CUG value) throws IllegalStateException
Sets the value of the CUG.- Parameters:
value
- CUG representation of the CUG- Returns:
- this
- Throws:
IllegalStateException
-
setMPTY
public GSMSupplementaryServiceList setMPTY(GSMSupplementaryServiceList.MPTY value) throws IllegalStateException
Sets the value of the MPTY.- Parameters:
value
- MPTY representation of the MPTY- Returns:
- this
- Throws:
IllegalStateException
-
setHOLD
public GSMSupplementaryServiceList setHOLD(GSMSupplementaryServiceList.HOLD value) throws IllegalStateException
Sets the value of the HOLD.- Parameters:
value
- HOLD representation of the HOLD- Returns:
- this
- Throws:
IllegalStateException
-
setCW
public GSMSupplementaryServiceList setCW(GSMSupplementaryServiceList.CW value) throws IllegalStateException
Sets the value of the CW.- Parameters:
value
- CW representation of the CW- Returns:
- this
- Throws:
IllegalStateException
-
copyOf
public static GSMSupplementaryServiceList copyOf(GSMSupplementaryServiceList 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.- Parameters:
from
- the object from which to copy- Returns:
- GSMSupplementaryServiceList
-
clone
public GSMSupplementaryServiceList clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value for the fields of a sequence. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an uninitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED. For a field of String type, the encoded form is used if the String cannot be decoded. For a type that represents an OCTET STRING that cannot be decoded, a map from "encodedValue" to the byte array value is returned.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
encodedIsInvalid
protected boolean encodedIsInvalid()
Determines whether the encoded form is invalid.- Returns:
- boolean
-
getEncodedForm
public byte[] getEncodedForm() throws EncodeException
Gets the encoded form.- Returns:
- encoded form
- Throws:
EncodeException
- if encoding fails
-
encode
protected void encode() throws EncodeException
Computes the encoded form from the decoded form.- Specified by:
encode
in classAbstractLazyEncodedDataObject<byte[]>
- Throws:
EncodeException
- if any mandatory field is out of range
-
decode
protected void decode() throws DecodeException
Computes the decoded form from the encoded form.- Specified by:
decode
in classAbstractLazyEncodedDataObject<byte[]>
- Throws:
DecodeException
- if too few or too many octets are be decoded
-
-