From bb81ca2e50f051880a7cd40c492ba827ec92084a Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 3 Jun 2014 08:15:31 +0000 Subject: [PATCH] Merge STF455 staff --- .../codec/org/etsi/codec/ITciCDWrapper.java | 34 ++++++++++++++----- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/javasrc/codec/org/etsi/codec/ITciCDWrapper.java b/javasrc/codec/org/etsi/codec/ITciCDWrapper.java index 9416f1325..66b5ce9f0 100644 --- a/javasrc/codec/org/etsi/codec/ITciCDWrapper.java +++ b/javasrc/codec/org/etsi/codec/ITciCDWrapper.java @@ -27,7 +27,31 @@ public interface ITciCDWrapper { * See ETSI ES 201 873-6 V4.2.1 - 7.3.2.1.2 getInteger * @return An instance of Type representing a TTCN-3 integer type */ - public IntegerValue getInteger(); + public IntegerValue setInteger(final Integer value); + + /** + * Constructs and returns a basic TTCN-3 big integer type + * + * @see ETSI ES 201 873-6 V4.2.1 - 7.3.2.1.2 getInteger + * @return An instance of Type representing a TTCN-3 integer type + */ + public IntegerValue setInteger(final BigInteger value); + + /** + * Constructs and returns a basic integer type + * + * See ETSI ES 201 873-6 V4.2.1 - 7.3.2.1.2 getInteger + * @return An instance of Type representing a TTCN-3 integer type + */ + public int getInteger(final IntegerValue iv); + + /** + * Constructs and returns a basic big integer type + * + * @see ETSI ES 201 873-6 V4.2.1 - 7.3.2.1.2 getInteger + * @return An instance of Type representing a TTCN-3 integer type + */ + public long/*TODO BigInteger*/ getBigInteger(final IntegerValue iv); /** * Constructs and returns a basic TTCN-3 octet string type @@ -44,14 +68,6 @@ public interface ITciCDWrapper { * @return An instance of Type representing a TTCN-3 float type */ public FloatValue getFloat(); - - /** - * Constructs and returns a basic TTCN-3 big integer type - * - * @see ETSI ES 201 873-6 V4.2.1 - 7.3.2.1.2 getInteger - * @return An instance of Type representing a TTCN-3 integer type - */ - IntegerValue getBigInteger(BigInteger bigInt); /** * Constructs and returns a basic TTCN-3 float type -- GitLab