Loading javasrc/com/testingtech/generated/codec/LibCommon_DataStrings/TabularOct24.java 0 → 100644 +60 −0 Original line number Diff line number Diff line /* * NOTE: this is a machine generated file - editing not recommended * ---------------------------------------------------------------------------- * (C) Copyright Testing Technologies, 2000-2008. All Rights Reserved. * * All copies of this program, whether in whole or in part, and whether * modified or not, must display this and all other embedded copyright * and ownership notices in full. * * See the file COPYRIGHT and LICENSE for details of redistribution * and use. * * You should have received a copy of the COPYRIGHT and LICENSE file * along with this file; if not, write to the Testing Technologies, * Michaelkirchstr. 17/18, 10179 Berlin, Germany. * * ---------------------------------------------------------------------------- * * Source File: D:\\dte\\workspaces\\workspace_ipv6\\IPv6_ETSI_STF276_P2_new\\ttcn3\\EtsiLibrary\\LibCommon\\LibCommon_DataStrings.ttcn * File : TabularOct24.java * * This is a Java class providing a com.testingtech.ttcn.tci based decoding * using tabular encoding information within a TTCN-3 file. * * This file was generated by TabularCodecGenerator(version v0.2) * at 21.01.2008 09:35:06 * * REVISION INFO: * $Revision$ $Date$ * ----------------------------------------------------------------------------- */ package com.testingtech.generated.codec.LibCommon_DataStrings; import com.testingtech.ttcn.tci.codec.tabular.*; import org.etsi.ttcn.tci.Value; public class TabularOct24 extends TabularOctetstring { public TabularOct24(Value theValue) { super(theValue); } public int getLength() throws TabularException { // type length restriction return 24; } public TabularObject decode(TabularDecoder dec) throws TabularException { assert dec != null; present = isNext(dec); if (!present) { return null; } return super.decode(dec); } } javasrc/com/testingtech/generated/codec/LibIpv6_Interface_TypesAndValues/TabularMipOptAltCoA.java +10 −10 Original line number Diff line number Diff line Loading @@ -37,13 +37,13 @@ import org.etsi.ttcn.tci.RecordValue; import org.etsi.ttcn.tci.Value; public class TabularMipOptAltCoA extends TabularRecord { public class TabularMipOptAltCoa extends TabularRecord { public RecordValue rv; public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 mobileOptType; public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 mobileOptLen; public com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16 alternateCoA; public com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16 alternateCoa; public TabularMipOptAltCoA(Value theValue) { public TabularMipOptAltCoa(Value theValue) { super(theValue); present = false; rv = (RecordValue) tciValue; Loading Loading @@ -85,9 +85,9 @@ public class TabularMipOptAltCoA extends TabularRecord { // -- alternateCoA if (com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16.isNext( dec)) { alternateCoA = (com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16) new com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16(rv.getField( "alternateCoA")); alternateCoA.decode(dec); alternateCoa = (com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16) new com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16(rv.getField( "alternateCoa")); alternateCoa.decode(dec); } else { throw new TabularException( "Mandatory field 'alternateCoA' of 'MipOptAltCoA' missing"); Loading @@ -114,9 +114,9 @@ public class TabularMipOptAltCoA extends TabularRecord { mobileOptLen.encode(enc); // -- alternateCoA alternateCoA = new com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16(rv.getField( "alternateCoA")); alternateCoA.encode(enc); alternateCoa = new com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16(rv.getField( "alternateCoa")); alternateCoa.encode(enc); return; } Loading @@ -134,7 +134,7 @@ public class TabularMipOptAltCoA extends TabularRecord { public Value toValue() { safeFieldSet(rv, "mobileOptType", mobileOptType); safeFieldSet(rv, "mobileOptLen", mobileOptLen); safeFieldSet(rv, "alternateCoA", alternateCoA); safeFieldSet(rv, "alternateCoa", alternateCoa); return rv; } Loading javasrc/com/testingtech/generated/codec/LibIpv6_Interface_TypesAndValues/TabularMobileOption.java +13 −13 Original line number Diff line number Diff line /* * NOTE: this is a machine generated file - editing not recommended * ---------------------------------------------------------------------------- * (C) Copyright Testing Technologies, 2000-2007. All Rights Reserved. * (C) Copyright Testing Technologies, 2000-2008. All Rights Reserved. * * All copies of this program, whether in whole or in part, and whether * modified or not, must display this and all other embedded copyright Loading @@ -12,7 +12,7 @@ * * You should have received a copy of the COPYRIGHT and LICENSE file * along with this file; if not, write to the Testing Technologies, * Rosenthaler Str. 13, 10119 Berlin, Germany. * Michaelkirchstr. 17/18, 10179 Berlin, Germany. * * ---------------------------------------------------------------------------- * Loading @@ -23,7 +23,7 @@ * using tabular encoding information within a TTCN-3 file. * * This file was generated by TabularCodecGenerator(version v1.0) * at 21.05.2007 21:40:06 * at 21.01.2008 21:40:06 * * REVISION INFO: * $Revision: 1.4 $ $Date: 2007/02/26 10:03:23 $ Loading @@ -45,7 +45,7 @@ public class TabularMobileOption extends TabularUnion { null; public com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptBindingRefreshAdvice mobileOptBindingRefreshAdvice = null; public com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA mobileOptAltCoA = public com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa mobileOptAltCoa = null; public com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptNonceIndices mobileOptNonceIndices = null; Loading Loading @@ -99,11 +99,11 @@ public class TabularMobileOption extends TabularUnion { } // -- mobileOptAltCoA if (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA.isNext( if (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa.isNext( dec)) { mobileOptAltCoA = (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA) new com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA(uv.getVariant( "mobileOptAltCoA")); mobileOptAltCoA.decode(dec); mobileOptAltCoa = (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa) new com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa(uv.getVariant( "mobileOptAltCoa")); mobileOptAltCoa.decode(dec); return this; } Loading Loading @@ -177,9 +177,9 @@ public class TabularMobileOption extends TabularUnion { // -- mobileOptAltCoA if (uv.getPresentVariantName().equals("mobileOptAltCoA")) { mobileOptAltCoA = (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA) new com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA(uv.getVariant( "mobileOptAltCoA")); mobileOptAltCoA.encode(enc); mobileOptAltCoa = (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa) new com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa(uv.getVariant( "mobileOptAltCoa")); mobileOptAltCoa.encode(enc); return; } Loading Loading @@ -240,8 +240,8 @@ public class TabularMobileOption extends TabularUnion { return uv; } if (mobileOptAltCoA != null) { safeVariantSet(uv, "mobileOptAltCoA", mobileOptAltCoA); if (mobileOptAltCoa != null) { safeVariantSet(uv, "mobileOptAltCoa", mobileOptAltCoa); return uv; } Loading javasrc/com/testingtech/generated/codec/LibIpv6_Rfc4068FastHandovers_TypesAndValues/TabularNeighborAdvertisementAcknowledgment.java +9 −9 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ public class TabularNeighborAdvertisementAcknowledgment extends TabularRecord { public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 optionCode; public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 status; public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt32 reserved; public com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address newCoA; public com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address newCoa; public TabularNeighborAdvertisementAcknowledgment(Value theValue) { super(theValue); Loading Loading @@ -120,9 +120,9 @@ public class TabularNeighborAdvertisementAcknowledgment extends TabularRecord { // -- newCoA if (!dec.isEOF()) { newCoA = (com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address) new com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address(rv.getField( "newCoA")); newCoA.decode(dec); newCoa = (com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address) new com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address(rv.getField( "newCoa")); newCoa.decode(dec); } return this; Loading Loading @@ -161,10 +161,10 @@ public class TabularNeighborAdvertisementAcknowledgment extends TabularRecord { reserved.encode(enc); // -- newCoA if (!rv.getField("newCoA").notPresent()) { newCoA = new com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address(rv.getField( "newCoA")); newCoA.encode(enc); if (!rv.getField("newCoa").notPresent()) { newCoa = new com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address(rv.getField( "newCoa")); newCoa.encode(enc); } return; Loading @@ -186,7 +186,7 @@ public class TabularNeighborAdvertisementAcknowledgment extends TabularRecord { safeFieldSet(rv, "optionCode", optionCode); safeFieldSet(rv, "status", status); safeFieldSet(rv, "reserved", reserved); safeFieldSet(rv, "newCoA", newCoA); safeFieldSet(rv, "newCoa", newCoa); return rv; } Loading Loading
javasrc/com/testingtech/generated/codec/LibCommon_DataStrings/TabularOct24.java 0 → 100644 +60 −0 Original line number Diff line number Diff line /* * NOTE: this is a machine generated file - editing not recommended * ---------------------------------------------------------------------------- * (C) Copyright Testing Technologies, 2000-2008. All Rights Reserved. * * All copies of this program, whether in whole or in part, and whether * modified or not, must display this and all other embedded copyright * and ownership notices in full. * * See the file COPYRIGHT and LICENSE for details of redistribution * and use. * * You should have received a copy of the COPYRIGHT and LICENSE file * along with this file; if not, write to the Testing Technologies, * Michaelkirchstr. 17/18, 10179 Berlin, Germany. * * ---------------------------------------------------------------------------- * * Source File: D:\\dte\\workspaces\\workspace_ipv6\\IPv6_ETSI_STF276_P2_new\\ttcn3\\EtsiLibrary\\LibCommon\\LibCommon_DataStrings.ttcn * File : TabularOct24.java * * This is a Java class providing a com.testingtech.ttcn.tci based decoding * using tabular encoding information within a TTCN-3 file. * * This file was generated by TabularCodecGenerator(version v0.2) * at 21.01.2008 09:35:06 * * REVISION INFO: * $Revision$ $Date$ * ----------------------------------------------------------------------------- */ package com.testingtech.generated.codec.LibCommon_DataStrings; import com.testingtech.ttcn.tci.codec.tabular.*; import org.etsi.ttcn.tci.Value; public class TabularOct24 extends TabularOctetstring { public TabularOct24(Value theValue) { super(theValue); } public int getLength() throws TabularException { // type length restriction return 24; } public TabularObject decode(TabularDecoder dec) throws TabularException { assert dec != null; present = isNext(dec); if (!present) { return null; } return super.decode(dec); } }
javasrc/com/testingtech/generated/codec/LibIpv6_Interface_TypesAndValues/TabularMipOptAltCoA.java +10 −10 Original line number Diff line number Diff line Loading @@ -37,13 +37,13 @@ import org.etsi.ttcn.tci.RecordValue; import org.etsi.ttcn.tci.Value; public class TabularMipOptAltCoA extends TabularRecord { public class TabularMipOptAltCoa extends TabularRecord { public RecordValue rv; public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 mobileOptType; public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 mobileOptLen; public com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16 alternateCoA; public com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16 alternateCoa; public TabularMipOptAltCoA(Value theValue) { public TabularMipOptAltCoa(Value theValue) { super(theValue); present = false; rv = (RecordValue) tciValue; Loading Loading @@ -85,9 +85,9 @@ public class TabularMipOptAltCoA extends TabularRecord { // -- alternateCoA if (com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16.isNext( dec)) { alternateCoA = (com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16) new com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16(rv.getField( "alternateCoA")); alternateCoA.decode(dec); alternateCoa = (com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16) new com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16(rv.getField( "alternateCoa")); alternateCoa.decode(dec); } else { throw new TabularException( "Mandatory field 'alternateCoA' of 'MipOptAltCoA' missing"); Loading @@ -114,9 +114,9 @@ public class TabularMipOptAltCoA extends TabularRecord { mobileOptLen.encode(enc); // -- alternateCoA alternateCoA = new com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16(rv.getField( "alternateCoA")); alternateCoA.encode(enc); alternateCoa = new com.testingtech.generated.codec.LibCommon_DataStrings.TabularOct16(rv.getField( "alternateCoa")); alternateCoa.encode(enc); return; } Loading @@ -134,7 +134,7 @@ public class TabularMipOptAltCoA extends TabularRecord { public Value toValue() { safeFieldSet(rv, "mobileOptType", mobileOptType); safeFieldSet(rv, "mobileOptLen", mobileOptLen); safeFieldSet(rv, "alternateCoA", alternateCoA); safeFieldSet(rv, "alternateCoa", alternateCoa); return rv; } Loading
javasrc/com/testingtech/generated/codec/LibIpv6_Interface_TypesAndValues/TabularMobileOption.java +13 −13 Original line number Diff line number Diff line /* * NOTE: this is a machine generated file - editing not recommended * ---------------------------------------------------------------------------- * (C) Copyright Testing Technologies, 2000-2007. All Rights Reserved. * (C) Copyright Testing Technologies, 2000-2008. All Rights Reserved. * * All copies of this program, whether in whole or in part, and whether * modified or not, must display this and all other embedded copyright Loading @@ -12,7 +12,7 @@ * * You should have received a copy of the COPYRIGHT and LICENSE file * along with this file; if not, write to the Testing Technologies, * Rosenthaler Str. 13, 10119 Berlin, Germany. * Michaelkirchstr. 17/18, 10179 Berlin, Germany. * * ---------------------------------------------------------------------------- * Loading @@ -23,7 +23,7 @@ * using tabular encoding information within a TTCN-3 file. * * This file was generated by TabularCodecGenerator(version v1.0) * at 21.05.2007 21:40:06 * at 21.01.2008 21:40:06 * * REVISION INFO: * $Revision: 1.4 $ $Date: 2007/02/26 10:03:23 $ Loading @@ -45,7 +45,7 @@ public class TabularMobileOption extends TabularUnion { null; public com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptBindingRefreshAdvice mobileOptBindingRefreshAdvice = null; public com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA mobileOptAltCoA = public com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa mobileOptAltCoa = null; public com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptNonceIndices mobileOptNonceIndices = null; Loading Loading @@ -99,11 +99,11 @@ public class TabularMobileOption extends TabularUnion { } // -- mobileOptAltCoA if (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA.isNext( if (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa.isNext( dec)) { mobileOptAltCoA = (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA) new com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA(uv.getVariant( "mobileOptAltCoA")); mobileOptAltCoA.decode(dec); mobileOptAltCoa = (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa) new com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa(uv.getVariant( "mobileOptAltCoa")); mobileOptAltCoa.decode(dec); return this; } Loading Loading @@ -177,9 +177,9 @@ public class TabularMobileOption extends TabularUnion { // -- mobileOptAltCoA if (uv.getPresentVariantName().equals("mobileOptAltCoA")) { mobileOptAltCoA = (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA) new com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoA(uv.getVariant( "mobileOptAltCoA")); mobileOptAltCoA.encode(enc); mobileOptAltCoa = (com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa) new com.testingtech.generated.codec.LibIpv6_Interface_TypesAndValues.TabularMipOptAltCoa(uv.getVariant( "mobileOptAltCoa")); mobileOptAltCoa.encode(enc); return; } Loading Loading @@ -240,8 +240,8 @@ public class TabularMobileOption extends TabularUnion { return uv; } if (mobileOptAltCoA != null) { safeVariantSet(uv, "mobileOptAltCoA", mobileOptAltCoA); if (mobileOptAltCoa != null) { safeVariantSet(uv, "mobileOptAltCoa", mobileOptAltCoa); return uv; } Loading
javasrc/com/testingtech/generated/codec/LibIpv6_Rfc4068FastHandovers_TypesAndValues/TabularNeighborAdvertisementAcknowledgment.java +9 −9 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ public class TabularNeighborAdvertisementAcknowledgment extends TabularRecord { public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 optionCode; public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 status; public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt32 reserved; public com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address newCoA; public com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address newCoa; public TabularNeighborAdvertisementAcknowledgment(Value theValue) { super(theValue); Loading Loading @@ -120,9 +120,9 @@ public class TabularNeighborAdvertisementAcknowledgment extends TabularRecord { // -- newCoA if (!dec.isEOF()) { newCoA = (com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address) new com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address(rv.getField( "newCoA")); newCoA.decode(dec); newCoa = (com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address) new com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address(rv.getField( "newCoa")); newCoa.decode(dec); } return this; Loading Loading @@ -161,10 +161,10 @@ public class TabularNeighborAdvertisementAcknowledgment extends TabularRecord { reserved.encode(enc); // -- newCoA if (!rv.getField("newCoA").notPresent()) { newCoA = new com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address(rv.getField( "newCoA")); newCoA.encode(enc); if (!rv.getField("newCoa").notPresent()) { newCoa = new com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularIpv6Address(rv.getField( "newCoa")); newCoa.encode(enc); } return; Loading @@ -186,7 +186,7 @@ public class TabularNeighborAdvertisementAcknowledgment extends TabularRecord { safeFieldSet(rv, "optionCode", optionCode); safeFieldSet(rv, "status", status); safeFieldSet(rv, "reserved", reserved); safeFieldSet(rv, "newCoA", newCoA); safeFieldSet(rv, "newCoa", newCoa); return rv; } Loading