notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2172 - in development/planet/users/niclas/iso8583: . elements/src/main/net/dpml/iso8583/data/elements elements/src/test/net/dpml/iso8583/test/data/elements
- From: niclas AT hedhman.org
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2172 - in development/planet/users/niclas/iso8583: . elements/src/main/net/dpml/iso8583/data/elements elements/src/test/net/dpml/iso8583/test/data/elements
- Date: Tue, 29 Mar 2005 18:34:49 -0500
Author: niclas AT hedhman.org
Date: Tue Mar 29 18:34:49 2005
New Revision: 2172
Added:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountCardholderBilling.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ConversionRateReconciliation.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountCardholderBillingFeeTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountCardholderBillingTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountReconciliationTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountTransactionTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsOriginalTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardSequenceNumberTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ContinuationBitTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ConversionRateCardholderBillingTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ConversionRateReconciliationTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CountryCodeAcquiringInstitutionTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CountryCodePrimaryAccountNumberTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateAndTimeLocalTransactionTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateAndTimeTransmissionTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateCaptureTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateConversionTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateEffectiveTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateExpirationTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateReconciliationTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateSettlementTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/FunctionCodeTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MerchantCategoryCodeTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MessageErrorIndicatorTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MessageReasonCodeTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PosDataCodeTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ProcessingCodeTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationIndicatorTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/SystemsTraceAuditNumberTestCase.java
(contents, props changed)
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionLifeCycleIdentificationDataTestCase.java
(contents, props changed)
Removed:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountCardHolderBilling.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ConversionRateConciliation.java
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountCardholderBillingFee.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountReconciliation.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountTransaction.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountsOriginal.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CardSequenceNumber.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ContinuationBit.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ConversionRateCardholderBilling.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CountryCodeAcquiringInstitution.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CountryCodePrimaryAccountNumber.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateAndTimeLocalTransaction.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateAndTimeTransmission.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateCapture.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateConversion.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateEffective.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateExpiration.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateReconciliation.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateSettlement.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/FunctionCode.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MerchantCategoryCode.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MessageErrorIndicator.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MessageReasonCode.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PosCapability.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PosDataCode.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PrimaryAccountNumber.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ProcessingCode.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReconciliationIndicator.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/SystemsTraceAuditNumber.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/TransactionLifeCycleIdentificationData.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/XX.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PrimaryAccountNumberTestCase.java
development/planet/users/niclas/iso8583/index.xml
development/planet/users/niclas/iso8583/iso8583.iws
Log:
More testcase
Added:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountCardholderBilling.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountCardholderBilling.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,73 @@
+/*
+ * Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package net.dpml.iso8583.data.elements;
+
+
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.parameters.Parameters;
+
+
+/** <code>DataElement</code> implementation of AmountCardholderBilling.
+ *
+ * @author <a href="mailto:niclas AT hedhman.org";>Niclas Hedhman</a>
+ *
+ * @see net.dpml.iso8583.data.DataElement
+ * @see net.dpml.iso8583.data.DataElementManager
+ *
+ * @metro.component lifestyle="transient" name="AmountCardholderBilling"
+ * @metro.service type="net.dpml.iso8583.data.DataElement"
+ */
+public class AmountCardholderBilling extends AbstractDataElement
+{
+ /** The ISO8583 bit number */
+ static private int ISO8583_BIT_NUMBER = 6;
+
+ /** ISO8583 Representation formatter and validator. */
+ static private Representation m_Representation;
+
+ /** Sets up the element type in a generic fashion. */
+ static
+ {
+ m_Representation = new N( 16 );
+ }
+
+ /** Constructor of AmountCardholderBilling.
+ *
+ * @param logger supplied <code>Logger</code> instance.
+ * @param params supplied configuration <code>Parameters</code>
+ */
+ public AmountCardholderBilling( Logger logger, Parameters params )
+ {
+ super( logger );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
+ }
+
+ public Representation getRepresentation()
+ {
+ return m_Representation;
+ }
+
+ public int getIsoBitNumber()
+ {
+ return ISO8583_BIT_NUMBER;
+ }
+}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountCardholderBillingFee.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountCardholderBillingFee.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountCardholderBillingFee.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public AmountCardholderBillingFee( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountReconciliation.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountReconciliation.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountReconciliation.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public AmountReconciliation( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountTransaction.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountTransaction.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountTransaction.java
Tue Mar 29 18:34:49 2005
@@ -60,8 +60,9 @@
public AmountTransaction( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
m_subelements = new DataElement[ 3 ];
m_subelements[ 0 ] = new GenericDataElement( logger, new N(3),
"CurrencyCodeAmountTransaction", 1 );
m_subelements[ 1 ] = new GenericDataElement( logger, new N(1),
"CurrencyMinorUnitAmountTransaction", 2 );
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountsOriginal.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountsOriginal.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountsOriginal.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public AmountsOriginal( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CardSequenceNumber.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CardSequenceNumber.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CardSequenceNumber.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public CardSequenceNumber( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ContinuationBit.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ContinuationBit.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ContinuationBit.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public ContinuationBit( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ConversionRateCardholderBilling.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ConversionRateCardholderBilling.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ConversionRateCardholderBilling.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public ConversionRateCardholderBilling( Logger logger, Parameters params
)
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Added:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ConversionRateReconciliation.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ConversionRateReconciliation.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,73 @@
+/*
+ * Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package net.dpml.iso8583.data.elements;
+
+
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.parameters.Parameters;
+
+
+/** <code>DataElement</code> implementation of ConversionRateReconciliation.
+ *
+ * @author <a href="mailto:niclas AT hedhman.org";>Niclas Hedhman</a>
+ *
+ * @see net.dpml.iso8583.data.DataElement
+ * @see net.dpml.iso8583.data.DataElementManager
+ *
+ * @metro.component lifestyle="transient" name="ConversionRateReconciliation"
+ * @metro.service type="net.dpml.iso8583.data.DataElement"
+ */
+public class ConversionRateReconciliation extends AbstractDataElement
+{
+ /** The ISO8583 bit number */
+ static private int ISO8583_BIT_NUMBER = 9;
+
+ /** ISO8583 Representation formatter and validator. */
+ static private Representation m_Representation;
+
+ /** Sets up the element type in a generic fashion. */
+ static
+ {
+ m_Representation = new N( 8 );
+ }
+
+ /** Constructor of ConversionRateReconciliation.
+ *
+ * @param logger supplied <code>Logger</code> instance.
+ * @param params supplied configuration <code>Parameters</code>
+ */
+ public ConversionRateReconciliation( Logger logger, Parameters params )
+ {
+ super( logger );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
+ }
+
+ public Representation getRepresentation()
+ {
+ return m_Representation;
+ }
+
+ public int getIsoBitNumber()
+ {
+ return ISO8583_BIT_NUMBER;
+ }
+}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CountryCodeAcquiringInstitution.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CountryCodeAcquiringInstitution.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CountryCodeAcquiringInstitution.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public CountryCodeAcquiringInstitution( Logger logger, Parameters params
)
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CountryCodePrimaryAccountNumber.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CountryCodePrimaryAccountNumber.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/CountryCodePrimaryAccountNumber.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public CountryCodePrimaryAccountNumber( Logger logger, Parameters params
)
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateAndTimeLocalTransaction.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateAndTimeLocalTransaction.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateAndTimeLocalTransaction.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public DateAndTimeLocalTransaction( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateAndTimeTransmission.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateAndTimeTransmission.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateAndTimeTransmission.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public DateAndTimeTransmission( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateCapture.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateCapture.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateCapture.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public DateCapture( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateConversion.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateConversion.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateConversion.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public DateConversion( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateEffective.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateEffective.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateEffective.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public DateEffective( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateExpiration.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateExpiration.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateExpiration.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public DateExpiration( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateReconciliation.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateReconciliation.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateReconciliation.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public DateReconciliation( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateSettlement.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateSettlement.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/DateSettlement.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public DateSettlement( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/FunctionCode.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/FunctionCode.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/FunctionCode.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public FunctionCode( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MerchantCategoryCode.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MerchantCategoryCode.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MerchantCategoryCode.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public MerchantCategoryCode( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MessageErrorIndicator.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MessageErrorIndicator.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MessageErrorIndicator.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public MessageErrorIndicator( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MessageReasonCode.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MessageReasonCode.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/MessageReasonCode.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public MessageReasonCode( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PosCapability.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PosCapability.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PosCapability.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public PosCapability( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PosDataCode.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PosDataCode.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PosDataCode.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public PosDataCode( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PrimaryAccountNumber.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PrimaryAccountNumber.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/PrimaryAccountNumber.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public PrimaryAccountNumber( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ProcessingCode.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ProcessingCode.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ProcessingCode.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public ProcessingCode( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReconciliationIndicator.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReconciliationIndicator.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReconciliationIndicator.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public ReconciliationIndicator( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/SystemsTraceAuditNumber.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/SystemsTraceAuditNumber.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/SystemsTraceAuditNumber.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public SystemsTraceAuditNumber( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/TransactionLifeCycleIdentificationData.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/TransactionLifeCycleIdentificationData.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/TransactionLifeCycleIdentificationData.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public TransactionLifeCycleIdentificationData( Logger logger, Parameters
params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/XX.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/XX.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/XX.java
Tue Mar 29 18:34:49 2005
@@ -56,8 +56,9 @@
public XX( Logger logger, Parameters params )
{
super( logger );
- String value = params.getParameter( "value", "" );
- set( value );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
}
public Representation getRepresentation()
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountCardholderBillingFeeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountCardholderBillingFeeTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AmountCardholderBillingFee;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AmountCardholderBillingFeeTestCase
+ extends TestCase
+{
+
+ AmountCardholderBillingFee m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new AmountCardholderBillingFee( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 12 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 8, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountCardholderBillingTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountCardholderBillingTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AmountCardholderBilling;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AmountCardholderBillingTestCase
+ extends TestCase
+{
+
+ AmountCardholderBilling m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new AmountCardholderBilling( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 16 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 6, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountReconciliationTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountReconciliationTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AmountReconciliation;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AmountReconciliationTestCase
+ extends TestCase
+{
+
+ AmountReconciliation m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new AmountReconciliation( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 16 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 5, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountTransactionTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountTransactionTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AmountTransaction;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AmountTransactionTestCase
+ extends TestCase
+{
+
+ AmountTransaction m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new AmountTransaction( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 16 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 4, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsOriginalTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsOriginalTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AmountsOriginal;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AmountsOriginalTestCase
+ extends TestCase
+{
+
+ AmountsOriginal m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new AmountsOriginal( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 32 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 30, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardSequenceNumberTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardSequenceNumberTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.CardSequenceNumber;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class CardSequenceNumberTestCase
+ extends TestCase
+{
+
+ CardSequenceNumber m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new CardSequenceNumber( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 3 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 23, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ContinuationBitTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ContinuationBitTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ContinuationBit;
+import net.dpml.iso8583.data.representation.B;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ContinuationBitTestCase
+ extends TestCase
+{
+
+ ContinuationBit m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new ContinuationBit( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new B( 8 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 1, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ConversionRateCardholderBillingTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ConversionRateCardholderBillingTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ConversionRateCardholderBilling;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ConversionRateCardholderBillingTestCase
+ extends TestCase
+{
+
+ ConversionRateCardholderBilling m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new ConversionRateCardholderBilling( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 8 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 10, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ConversionRateReconciliationTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ConversionRateReconciliationTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ConversionRateReconciliation;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ConversionRateReconciliationTestCase
+ extends TestCase
+{
+
+ ConversionRateReconciliation m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new ConversionRateReconciliation( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 8 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 9, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CountryCodeAcquiringInstitutionTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CountryCodeAcquiringInstitutionTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.CountryCodeAcquiringInstitution;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class CountryCodeAcquiringInstitutionTestCase
+ extends TestCase
+{
+
+ CountryCodeAcquiringInstitution m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new CountryCodeAcquiringInstitution( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 3 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 19, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CountryCodePrimaryAccountNumberTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CountryCodePrimaryAccountNumberTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.CountryCodePrimaryAccountNumber;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class CountryCodePrimaryAccountNumberTestCase
+ extends TestCase
+{
+
+ CountryCodePrimaryAccountNumber m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new CountryCodePrimaryAccountNumber( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 3 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 20, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateAndTimeLocalTransactionTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateAndTimeLocalTransactionTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.DateAndTimeLocalTransaction;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class DateAndTimeLocalTransactionTestCase
+ extends TestCase
+{
+
+ DateAndTimeLocalTransaction m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new DateAndTimeLocalTransaction( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 14 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 12, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateAndTimeTransmissionTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateAndTimeTransmissionTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.DateAndTimeTransmission;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class DateAndTimeTransmissionTestCase
+ extends TestCase
+{
+
+ DateAndTimeTransmission m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new DateAndTimeTransmission( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 10 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 7, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateCaptureTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateCaptureTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.DateCapture;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class DateCaptureTestCase
+ extends TestCase
+{
+
+ DateCapture m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new DateCapture( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 4 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 17, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateConversionTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateConversionTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.DateConversion;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class DateConversionTestCase
+ extends TestCase
+{
+
+ DateConversion m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new DateConversion( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 4 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 16, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateEffectiveTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateEffectiveTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.DateEffective;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class DateEffectiveTestCase
+ extends TestCase
+{
+
+ DateEffective m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new DateEffective( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 6 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 13, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateExpirationTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateExpirationTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.DateExpiration;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class DateExpirationTestCase
+ extends TestCase
+{
+
+ DateExpiration m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new DateExpiration( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 4 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 14, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateReconciliationTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateReconciliationTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.DateReconciliation;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class DateReconciliationTestCase
+ extends TestCase
+{
+
+ DateReconciliation m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new DateReconciliation( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 8 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 28, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateSettlementTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateSettlementTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.DateSettlement;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class DateSettlementTestCase
+ extends TestCase
+{
+
+ DateSettlement m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new DateSettlement( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 8 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 15, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/FunctionCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/FunctionCodeTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.FunctionCode;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class FunctionCodeTestCase
+ extends TestCase
+{
+
+ FunctionCode m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new FunctionCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 3 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 24, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MerchantCategoryCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MerchantCategoryCodeTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.MerchantCategoryCode;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class MerchantCategoryCodeTestCase
+ extends TestCase
+{
+
+ MerchantCategoryCode m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new MerchantCategoryCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 4 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 26, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MessageErrorIndicatorTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MessageErrorIndicatorTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.MessageErrorIndicator;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class MessageErrorIndicatorTestCase
+ extends TestCase
+{
+
+ MessageErrorIndicator m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new MessageErrorIndicator( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new VariableANSB( 140 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 18, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MessageReasonCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MessageReasonCodeTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.MessageReasonCode;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class MessageReasonCodeTestCase
+ extends TestCase
+{
+
+ MessageReasonCode m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new MessageReasonCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 4 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 25, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PosDataCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PosDataCodeTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.PosDataCode;
+import net.dpml.iso8583.data.representation.B;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class PosDataCodeTestCase
+ extends TestCase
+{
+
+ PosDataCode m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new PosDataCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new B( 16 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 22, n );
+
+ }
+}
Modified:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PrimaryAccountNumberTestCase.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PrimaryAccountNumberTestCase.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PrimaryAccountNumberTestCase.java
Tue Mar 29 18:34:49 2005
@@ -3,6 +3,7 @@
import junit.framework.TestCase;
import net.dpml.iso8583.data.Representation;
import net.dpml.iso8583.data.elements.PrimaryAccountNumber;
+import net.dpml.iso8583.data.representation.VariableN;
import net.dpml.logging.Logger;
import net.dpml.metro.unit.TestLogger;
import net.dpml.metro.unit.TestParametersBuilder;
@@ -29,6 +30,14 @@
throws Exception
{
Representation rep = m_element.getRepresentation();
+ assertEquals( new VariableN(19), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 2, n );
}
}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ProcessingCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ProcessingCodeTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ProcessingCode;
+import net.dpml.iso8583.data.representation.AN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ProcessingCodeTestCase
+ extends TestCase
+{
+
+ ProcessingCode m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new ProcessingCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new AN( 6 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 3, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationIndicatorTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationIndicatorTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReconciliationIndicator;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReconciliationIndicatorTestCase
+ extends TestCase
+{
+
+ ReconciliationIndicator m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new ReconciliationIndicator( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N( 3 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 29, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/SystemsTraceAuditNumberTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/SystemsTraceAuditNumberTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.SystemsTraceAuditNumber;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class SystemsTraceAuditNumberTestCase
+ extends TestCase
+{
+
+ SystemsTraceAuditNumber m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new SystemsTraceAuditNumber( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new N(12), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 11, n );
+
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionLifeCycleIdentificationDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionLifeCycleIdentificationDataTestCase.java
Tue Mar 29 18:34:49 2005
@@ -0,0 +1,43 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.TransactionLifeCycleIdentificationData;
+import net.dpml.iso8583.data.representation.ANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class TransactionLifeCycleIdentificationDataTestCase
+ extends TestCase
+{
+
+ TransactionLifeCycleIdentificationData m_element;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element = new TransactionLifeCycleIdentificationData( logger,
params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element.getRepresentation();
+ assertEquals( new ANS(22), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element.getIsoBitNumber();
+ assertEquals( 21, n );
+
+ }
+}
Modified: development/planet/users/niclas/iso8583/index.xml
==============================================================================
--- development/planet/users/niclas/iso8583/index.xml (original)
+++ development/planet/users/niclas/iso8583/index.xml Tue Mar 29 18:34:49
2005
@@ -60,8 +60,10 @@
<include key="dpml-logging-api" />
<include key="dpml-context-api" />
<include key="dpml-parameters-api"/>
+ <include key="dpml-parameters-impl" build="false" runtime="false"
test="true" />
<include key="dpml-service-api" />
<include key="dpml-transit-main" />
+ <include key="dpml-metro-unit" runtime="false" />
</dependencies>
<plugins>
<include key="dpml-meta-tools" />
Modified: development/planet/users/niclas/iso8583/iso8583.iws
==============================================================================
--- development/planet/users/niclas/iso8583/iso8583.iws (original)
+++ development/planet/users/niclas/iso8583/iso8583.iws Tue Mar 29 18:34:49
2005
@@ -146,73 +146,73 @@
<option name="HIDE_WARNINGS" value="false" />
</component>
<component name="FileEditorManager" split-orientation="vertical"
split-proportion="0.5">
- <first-group
selected-file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/ANB.java">
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/VariableANS.java"
pinned="false">
+ <first-group
selected-file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/XX.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/MessageErrorIndicator.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1993"
selection-end="1993" vertical-scroll-proportion="0.54988915">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/VariableAN.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/MessageReasonCode.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1949"
selection-end="1949" vertical-scroll-proportion="0.6496674">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/N.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/PosCapability.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1934"
selection-end="1934" vertical-scroll-proportion="0.54988915">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/B.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/PosDataCode.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1920"
selection-end="1920" vertical-scroll-proportion="0.6496674">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/AS.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/PrimaryAccountNumber.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1980"
selection-end="1980" vertical-scroll-proportion="0.47006652">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/ANSB.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/ProcessingCode.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1935"
selection-end="1935" vertical-scroll-proportion="0.54988915">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/ANS.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/ReconciliationIndicator.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1979"
selection-end="1979" vertical-scroll-proportion="0.6496674">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/ANP.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/SystemsTraceAuditNumber.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="0" selection-start="758"
selection-end="758" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1980"
selection-end="1980" vertical-scroll-proportion="0.6496674">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/ANB.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/TransactionLifeCycleIdentificationData.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="0" selection-start="758"
selection-end="758" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="2059"
selection-end="2059" vertical-scroll-proportion="0.47006652">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/representation/ANPTestCase.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/XX.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="7" column="13" selection-start="241"
selection-end="241" vertical-scroll-proportion="0.12072434">
+ <state line="60" column="12" selection-start="2010"
selection-end="2010" vertical-scroll-proportion="0.54988915">
<folding />
</state>
</provider>
@@ -235,10 +235,10 @@
<component name="PackagesPane">
<expanded_node url="" module="api" type="module" />
<expanded_node url="net.dpml.iso8583.data" module="api" type="package" />
- <expanded_node url="net.dpml.iso8583.data.representation"
module="elements" type="package" />
+ <expanded_node url="net.dpml.iso8583.test.data.elements"
module="elements" type="package" />
<expanded_node url="net.dpml.iso8583" module="api" type="package" />
- <expanded_node url="net.dpml.iso8583.test.data.representation"
module="elements" type="package" />
<expanded_node url="" module="elements" type="module" />
+ <expanded_node url="net.dpml.iso8583.data.elements" module="elements"
type="package" />
</component>
<component name="ProjectPane">
<expanded_node url="file://$PROJECT_DIR$/elements/src/test/net/dpml"
module="elements" type="directory" />
@@ -275,9 +275,9 @@
</component>
<component name="RunManager">
<activeType name="JUnit" />
- <tempConfiguration selected="true" default="false"
name="net.dpml.iso8583.test.data.representation" type="JUnit"
factoryName="JUnit">
+ <tempConfiguration selected="true" default="false"
name="net.dpml.iso8583.test.data.elements" type="JUnit" factoryName="JUnit">
<module name="" />
- <option name="PACKAGE_NAME"
value="net.dpml.iso8583.test.data.representation" />
+ <option name="PACKAGE_NAME"
value="net.dpml.iso8583.test.data.elements" />
<option name="MAIN_CLASS_NAME" />
<option name="METHOD_NAME" />
<option name="TEST_OBJECT" value="package" />
@@ -376,7 +376,7 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
- <frame x="10" y="0" width="1260" height="977" extended-state="1" />
+ <frame x="10" y="0" width="1260" height="977" extended-state="0" />
<editor active="false" />
<layout>
<window_info id="CVS" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.33" order="8"
/>
@@ -389,7 +389,7 @@
<window_info id="Inspection" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.4" order="6" />
<window_info id="Dependency Viewer" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="8" />
<window_info id="Ant Build" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.25" order="1" />
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="true" weight="0.32979977"
order="2" />
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.32979977"
order="2" />
<window_info id="Hierarchy" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.25" order="2" />
<window_info id="Clover" active="true" anchor="left" auto_hide="false"
internal_type="docked" type="docked" visible="true" weight="0.3294509"
order="3" />
<window_info id="Debug" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.4" order="4" />
@@ -469,107 +469,107 @@
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager">
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/VariableZ.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/DateReconciliation.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="0" selection-start="758"
selection-end="758" vertical-scroll-proportion="0.1633987">
+ <state line="60" column="12" selection-start="1953"
selection-end="1953" vertical-scroll-proportion="0.4113924">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/XN.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/DateSettlement.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="0" selection-start="758"
selection-end="758" vertical-scroll-proportion="0.1633987">
+ <state line="60" column="12" selection-start="1934"
selection-end="1934" vertical-scroll-proportion="0.5063291">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/VariableB.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/FunctionCode.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="0" selection-start="758"
selection-end="758" vertical-scroll-proportion="0.1633987">
+ <state line="60" column="12" selection-start="1924"
selection-end="1924" vertical-scroll-proportion="0.43037975">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/VariableANSB.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/MerchantCategoryCode.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.1633987">
+ <state line="60" column="12" selection-start="1964"
selection-end="1964" vertical-scroll-proportion="0.61814344">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/MessageErrorIndicator.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/GenericDataElement.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="50" column="18" selection-start="1621"
selection-end="1621" vertical-scroll-proportion="0.73239434">
+ <state line="26" column="13" selection-start="825"
selection-end="825" vertical-scroll-proportion="-0.094936706">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/VariableANS.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/MessageErrorIndicator.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1993"
selection-end="1993" vertical-scroll-proportion="0.54988915">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/VariableAN.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/MessageReasonCode.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1949"
selection-end="1949" vertical-scroll-proportion="0.6496674">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/N.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/PosCapability.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1934"
selection-end="1934" vertical-scroll-proportion="0.54988915">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/B.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/PosDataCode.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1920"
selection-end="1920" vertical-scroll-proportion="0.6496674">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/AS.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/PrimaryAccountNumber.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1980"
selection-end="1980" vertical-scroll-proportion="0.47006652">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/ANSB.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/ProcessingCode.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1935"
selection-end="1935" vertical-scroll-proportion="0.54988915">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/ANS.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/ReconciliationIndicator.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="19" selection-start="777"
selection-end="777" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1979"
selection-end="1979" vertical-scroll-proportion="0.6496674">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/representation/ANPTestCase.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/TransactionLifeCycleIdentificationData.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="7" column="13" selection-start="241"
selection-end="241" vertical-scroll-proportion="0.12072434">
+ <state line="60" column="12" selection-start="2059"
selection-end="2059" vertical-scroll-proportion="0.47006652">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/ANB.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/SystemsTraceAuditNumber.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="0" selection-start="758"
selection-end="758" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="1980"
selection-end="1980" vertical-scroll-proportion="0.6496674">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/representation/ANP.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/XX.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="0" selection-start="758"
selection-end="758" vertical-scroll-proportion="0.15560167">
+ <state line="60" column="12" selection-start="2010"
selection-end="2010" vertical-scroll-proportion="0.54988915">
<folding />
</state>
</provider>
- svn commit: r2172 - in development/planet/users/niclas/iso8583: . elements/src/main/net/dpml/iso8583/data/elements elements/src/test/net/dpml/iso8583/test/data/elements, niclas, 03/29/2005
Archive powered by MHonArc 2.6.24.