Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2238 - in development/planet/users/niclas/iso8583: . api/src/main/net/dpml/iso8583/data assembly/src/main/net/dpml/iso8583/data/assembly assembly/src/main/net/dpml/iso8583/data/mti authorization/src/main/net/dpml/iso8583/authorization/impl elements/src/main/net/dpml/iso8583/data/elements

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT hedhman.org
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2238 - in development/planet/users/niclas/iso8583: . api/src/main/net/dpml/iso8583/data assembly/src/main/net/dpml/iso8583/data/assembly assembly/src/main/net/dpml/iso8583/data/mti authorization/src/main/net/dpml/iso8583/authorization/impl elements/src/main/net/dpml/iso8583/data/elements
  • Date: Thu, 07 Apr 2005 14:14:36 -0400

Author: niclas AT hedhman.org
Date: Thu Apr 7 14:14:31 2005
New Revision: 2238

Added:

development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementAlreadyContainsValueException.java
(contents, props changed)

development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/MTI.java
(contents, props changed)

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/DefaultAssembler.xconfig
(contents, props changed)

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti100.java
(contents, props changed)

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti101.java
(contents, props changed)

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti110.java
(contents, props changed)

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti120.java
(contents, props changed)

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti121.java
(contents, props changed)

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti130.java
(contents, props changed)

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti140.java
(contents, props changed)

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti150.java
(contents, props changed)
Removed:

development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/assembly/
Modified:

development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElement.java

development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementManager.java

development/planet/users/niclas/iso8583/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java

development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java

development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountCardholderBilling.java
development/planet/users/niclas/iso8583/iso8583.ipr
development/planet/users/niclas/iso8583/iso8583.iws
Log:


Modified:
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElement.java
==============================================================================
---
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElement.java
(original)
+++
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElement.java
Thu Apr 7 14:14:31 2005
@@ -61,6 +61,14 @@
void populate( ISOMsg message, boolean required )
throws ISOException;

+ /** Extracts the field data from the ISOMsg and populate this
DataElement with the value.
+ *
+ * @param message The ISOMsg to extract the value from.
+ * @throws DataElementAlreadyContainsValueException if the DataElement
already contains a value.
+ */
+ void extract( ISOMsg message )
+ throws DataElementAlreadyContainsValueException;
+
/** Returns the value object of the DataElement.
* <p>
* Each <code>DataElement</code> implementation defines what the value

Added:
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementAlreadyContainsValueException.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementAlreadyContainsValueException.java
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,27 @@
+/*
+ * Copyright 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;
+
+public class DataElementAlreadyContainsValueException extends Exception
+{
+ public DataElementAlreadyContainsValueException( String message )
+ {
+ super( message );
+ }
+}

Modified:
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementManager.java
==============================================================================
---
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementManager.java
(original)
+++
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementManager.java
Thu Apr 7 14:14:31 2005
@@ -18,6 +18,8 @@

package net.dpml.iso8583.data;

+
+
/** DataElements needs to be coordinated between different requesting
* threads, and the DataElementManager is required to provide this
* functionality.
@@ -38,19 +40,18 @@

/** Requests a <code>DataElement</code> of the provided type.
* <p>
- * The provided type is the class name of the <code>DataElement</code>
- * implementation, either with or without the package name. For
- * better typesafety, you should use the following pattern;
+ * The provided type is the class of the <code>DataElement</code>
+ * implementation, for better typesafety. Usage;
* <code><pre>
* private DataElementManager m_dem;
* :
* :
- * DataElement account = m_dem.lookup(
PrimaryAccountNumber.class.getName() );
+ * DataElement account = m_dem.lookup( PrimaryAccountNumber.class );
* </pre></code>
*
* @exception NoSuchDataElementException if the requested DataElement is
not
* available in the system.
*/
- DataElement lookup( String type )
+ DataElement lookup( Class type )
throws NoSuchDataElementException;
}
\ No newline at end of file

Added:
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/MTI.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/MTI.java
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,32 @@
+/*
+ * 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;
+
+import org.jpos.iso.ISOMsg;
+import org.jpos.iso.ISOException;
+import net.dpml.service.ServiceException;
+
+public interface MTI
+{
+ ISOMsg assemble()
+ throws ServiceException, ISOException, NoSuchDataElementException;
+
+ boolean disassemble( ISOMsg msg )
+ throws ServiceException, ISOException, NoSuchDataElementException,
DataElementAlreadyContainsValueException;
+}

Added:
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/DefaultAssembler.xconfig
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/DefaultAssembler.xconfig
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<configuration>
+ <mti100>
+ </mti100>
+ <mti101>
+ <PrimaryAccountNumber condition="07"/>
+ <ProcessingCode condition="M"/>
+ <AmountTransaction condition="26"/>
+ <DateAndTimeTransmission condition="30"/>
+ <SystemsTraceAudit condition="M"/>
+ <DateAndTimeLocalTransaction condition="M"/>
+ <DateEffective condition="02"/>
+ <DateExpiration condition="02"/>
+ <TransactionLifeCycleIdentificationData condition="33"/>
+ <PointOfServiceDataCode condition="M"/>
+ <CardSequenceNumber condition="02"/>
+ <FunctionCode condition="M"/>
+ <MerchantCategoryCode condition="M"/>
+ <PointOfServiceCapability condition="18"/>
+ <AmountsOriginal condition="08"/>
+ <AcquiringInstitutionIdentificationCode condition="M"/>
+ <ForwardingInstitutionIdentificationCode condition="10"/>
+ <Track2Data condition="06"/>
+ <Track3Data condition="06"/>
+ <ServiceCode condition="02"/>
+ <CardAcceptorTerminalIdentification condition="15"/>
+ <CardAcceptorIdentificationCode condition="15"/>
+ <Track1Data condition="06"/>
+ <AmountsFees condition="01"/>
+ <ReceivingInstitutionIdentificationCode condition="19"/>
+ </mti101>
+ <mti120>
+ <PrimaryAccountNumber condition="07"/>
+ <ProcessingCode condition="M"/>
+ <AmountTransaction condition="26"/>
+ <DateAndTimeTransmission condition="30"/>
+ <SystemsTraceAudit condition="M"/>
+ <DateAndTimeLocalTransaction condition="M"/>
+ <DateEffective condition="02"/>
+ <DateExpiration condition="02"/>
+ <TransactionLifeCycleIdentificationData condition="33"/>
+ <PointOfServiceDataCode condition="M"/>
+ <CardSequenceNumber condition="02"/>
+ <FunctionCode condition="M"/>
+ <MessageReasonCode condition="M"/>
+ <MerchantCategoryCode condition="M"/>
+ <AmountsOriginal condition="08"/>
+ <AcquiringInstitutionIdentificationCode condition="M"/>
+ <ForwardingInstitutionIdentificationCode condition="10"/>
+ <Track2Data condition="06"/>
+ <Track3Data condition="06"/>
+ <ActionCode condition="M"/>
+ <ServiceCode condition="02"/>
+ <CardAcceptorTerminalIdentification condition="15"/>
+ <CardAcceptorIdentificationCode condition="15"/>
+ <Track1Data condition="06"/>
+ <AmountsFees condition="01"/>
+ <AuthorizingAgentInstitutionIdentificationCode condition="20"/>
+ <ReceivingInstitutionIdentificationCode condition="19"/>
+ </mti120>
+ <mti121>
+ <PrimaryAccountNumber condition="07"/>
+ <ProcessingCode condition="M"/>
+ <AmountTransaction condition="26"/>
+ <DateAndTimeTransmission condition="30"/>
+ <SystemsTraceAudit condition="M"/>
+ <DateAndTimeLocalTransaction condition="M"/>
+ <DateEffective condition="02"/>
+ <DateExpiration condition="02"/>
+ <TransactionLifeCycleIdentificationData condition="33"/>
+ <PointOfServiceDataCode condition="M"/>
+ <CardSequenceNumber condition="02"/>
+ <FunctionCode condition="M"/>
+ <MessageReasonCode condition="M"/>
+ <MerchantCategoryCode condition="M"/>
+ <AmountsOriginal condition="08"/>
+ <AcquiringInstitutionIdentificationCode condition="M"/>
+ <ForwardingInstitutionIdentificationCode condition="10"/>
+ <Track2Data condition="06"/>
+ <Track3Data condition="06"/>
+ <ActionCode condition="M"/>
+ <ServiceCode condition="02"/>
+ <CardAcceptorTerminalIdentification condition="15"/>
+ <CardAcceptorIdentificationCode condition="15"/>
+ <Track1Data condition="06"/>
+ <AmountsFees condition="01"/>
+ <AuthorizingAgentInstitutionIdentificationCode condition="20"/>
+ <ReceivingInstitutionIdentificationCode condition="19"/>
+ </mti121>
+ <mti140>
+ <PrimaryAccountNumber condition="07"/>
+ <ProcessingCode condition="M"/>
+ <AmountTransaction condition="26"/>
+ <DateAndTimeTransmission condition="30"/>
+ <SystemsTraceAudit condition="M"/>
+ <DateAndTimeLocalTransaction condition="M"/>
+ <DateEffective condition="02"/>
+ <DateExpiration condition="02"/>
+ <TransactionLifeCycleIdentificationData condition="33"/>
+ <PointOfServiceDataCode condition="M"/>
+ <CardSequenceNumber condition="02"/>
+ <FunctionCode condition="M"/>
+ <MessageReasonCode condition="M"/>
+ <MerchantCategoryCode condition="M"/>
+ <DateReconciliation condition="12"/>
+ <ReconciliationIndicator condition="23"/>
+ <AmountsOriginal condition="08"/>
+ <AcquiringInstitutionIdentificationCode condition="M"/>
+ <ForwardingInstitutionIdentificationCode condition="10"/>
+ <Track2Data condition="06"/>
+ <Track3Data condition="06"/>
+ <ApprovalCode condition="31"/>
+ <ActionCode condition="M"/>
+ <ServiceCode condition="02"/>
+ <CardAcceptorTerminalIdentification condition="15"/>
+ <CardAcceptorIdentificationCode condition="15"/>
+ <Track1Data condition="06"/>
+ <AmountsFees condition="01"/>
+ <AuthorizingAgentInstitutionIdentificationCode condition="20"/>
+ <BatchFileTransferMessageControl condition="39"/>
+ <ReceivingInstitutionIdentificationCode condition="19"/>
+ </mti140>
+ <mti150>
+ <SystemsTraceAudit condition="ME"/>
+ <TransactionLifeCycleIdentificationData condition="33"/>
+ <BatchFileTransferMessageControl condition="39"/>
+ </mti150>
+</configuration>
\ No newline at end of file

Added:
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti100.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti100.java
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,135 @@
+/*
+ * 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.mti;
+
+import net.dpml.iso8583.data.MTI;
+import net.dpml.iso8583.data.DataElementManager;
+import net.dpml.iso8583.data.NoSuchDataElementException;
+import net.dpml.iso8583.data.DataElementAlreadyContainsValueException;
+import net.dpml.iso8583.data.elements.PrimaryAccountNumber;
+import net.dpml.iso8583.data.elements.ProcessingCode;
+import net.dpml.iso8583.data.elements.AmountTransaction;
+import net.dpml.iso8583.data.elements.DateAndTimeTransmission;
+import net.dpml.iso8583.data.elements.SystemsTraceAuditNumber;
+import net.dpml.iso8583.data.elements.DateAndTimeLocalTransaction;
+import net.dpml.iso8583.data.elements.DateEffective;
+import net.dpml.iso8583.data.elements.DateExpiration;
+import net.dpml.iso8583.data.elements.TransactionLifeCycleIdentificationData;
+import net.dpml.iso8583.data.elements.PosDataCode;
+import net.dpml.iso8583.data.elements.CardSequenceNumber;
+import net.dpml.iso8583.data.elements.FunctionCode;
+import net.dpml.iso8583.data.elements.MerchantCategoryCode;
+import net.dpml.iso8583.data.elements.PosCapability;
+import net.dpml.iso8583.data.elements.AmountsOriginal;
+import net.dpml.service.ServiceManager;
+import net.dpml.service.ServiceException;
+import org.jpos.iso.ISOMsg;
+import org.jpos.iso.ISOException;
+
+/**
+ * @metro.component name="Mti100" lifestyle="transient"
+ * @metro.service type="net.dpml.iso8583.data.MTI"
+ */
+public class Mti100
+ implements MTI
+{
+ static private final String MTI_NO = "100";
+
+ private DataElementManager m_dataElementManager;
+
+ /**
+ *
+ * @param man ServiceManager provided by the container.
+ *
+ * @metro.dependency type="net.dpml.iso8583.data.DataElementManager"
+ * key="dataelement-manager"
+ */
+ public Mti100( ServiceManager man )
+ throws ServiceException
+ {
+ m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
+ }
+
+ public ISOMsg assemble()
+ throws ISOException, NoSuchDataElementException
+ {
+ String mti = MTI_NO;
+ ISOMsg msg = new ISOMsg( mti );
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( ProcessingCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( AmountTransaction.class ).populate(
msg, true );
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).populate( msg, true );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateEffective.class ).populate( msg,
true );
+ m_dataElementManager.lookup( DateExpiration.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).populate( msg, true );
+ m_dataElementManager.lookup( PosDataCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup( CardSequenceNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( FunctionCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( MerchantCategoryCode.class ).populate(
msg, true );
+ m_dataElementManager.lookup( PosCapability.class ).populate( msg,
true );
+ m_dataElementManager.lookup( AmountsOriginal.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup( Track2Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( Track3Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( ServiceCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).populate( msg, true );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).populate( msg, true );
+ m_dataElementManager.lookup( Track1Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( AmountsFees.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).populate( msg, true );
+ return msg;
+ }
+
+ public boolean disassemble( ISOMsg msg )
+ throws ISOException, NoSuchDataElementException,
DataElementAlreadyContainsValueException
+ {
+ String mti = msg.getMTI();
+ if( MTI_NO.equals( mti ) == false )
+ return false;
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).extract(
msg);
+ m_dataElementManager.lookup( ProcessingCode.class ).extract( msg );
+ m_dataElementManager.lookup( AmountTransaction.class ).extract( msg
);
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).extract( msg );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).extract( msg );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).extract( msg );
+ m_dataElementManager.lookup( DateEffective.class ).extract( msg );
+ m_dataElementManager.lookup( DateExpiration.class ).extract( msg );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).extract( msg );
+ m_dataElementManager.lookup( PosDataCode.class ).extract( msg );
+ m_dataElementManager.lookup( CardSequenceNumber.class ).extract( msg
);
+ m_dataElementManager.lookup( FunctionCode.class ).extract( msg );
+ m_dataElementManager.lookup( MerchantCategoryCode.class ).extract(
msg );
+ m_dataElementManager.lookup( PosCapability.class ).extract( msg );
+ m_dataElementManager.lookup( AmountsOriginal.class ).extract( msg );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup( Track2Data.class ).extract( msg );
+ m_dataElementManager.lookup( Track3Data.class ).extract( msg );
+ m_dataElementManager.lookup( ServiceCode.class ).extract( msg );
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).extract( msg );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).extract( msg );
+ m_dataElementManager.lookup( Track1Data.class ).extract( msg );
+ m_dataElementManager.lookup( AmountsFees.class ).extract( msg );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).extract( msg );
+ return true;
+ }
+}

Added:
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti101.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti101.java
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,135 @@
+/*
+ * 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.mti;
+
+import net.dpml.iso8583.data.MTI;
+import net.dpml.iso8583.data.DataElementManager;
+import net.dpml.iso8583.data.NoSuchDataElementException;
+import net.dpml.iso8583.data.DataElementAlreadyContainsValueException;
+import net.dpml.iso8583.data.elements.PrimaryAccountNumber;
+import net.dpml.iso8583.data.elements.ProcessingCode;
+import net.dpml.iso8583.data.elements.AmountTransaction;
+import net.dpml.iso8583.data.elements.DateAndTimeTransmission;
+import net.dpml.iso8583.data.elements.SystemsTraceAuditNumber;
+import net.dpml.iso8583.data.elements.DateAndTimeLocalTransaction;
+import net.dpml.iso8583.data.elements.DateEffective;
+import net.dpml.iso8583.data.elements.DateExpiration;
+import net.dpml.iso8583.data.elements.TransactionLifeCycleIdentificationData;
+import net.dpml.iso8583.data.elements.PosDataCode;
+import net.dpml.iso8583.data.elements.CardSequenceNumber;
+import net.dpml.iso8583.data.elements.FunctionCode;
+import net.dpml.iso8583.data.elements.MerchantCategoryCode;
+import net.dpml.iso8583.data.elements.PosCapability;
+import net.dpml.iso8583.data.elements.AmountsOriginal;
+import net.dpml.service.ServiceManager;
+import net.dpml.service.ServiceException;
+import org.jpos.iso.ISOMsg;
+import org.jpos.iso.ISOException;
+
+/**
+ * @metro.component name="Mti101" lifestyle="transient"
+ * @metro.service type="net.dpml.iso8583.data.MTI"
+ */
+public class Mti101
+ implements MTI
+{
+ static private final String MTI_NO = "101";
+
+ private DataElementManager m_dataElementManager;
+
+ /**
+ *
+ * @param man ServiceManager provided by the container.
+ *
+ * @metro.dependency type="net.dpml.iso8583.data.DataElementManager"
+ * key="dataelement-manager"
+ */
+ public Mti101( ServiceManager man )
+ throws ServiceException
+ {
+ m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
+ }
+
+ public ISOMsg assemble()
+ throws ISOException, NoSuchDataElementException
+ {
+ String mti = MTI_NO;
+ ISOMsg msg = new ISOMsg( mti );
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( ProcessingCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( AmountTransaction.class ).populate(
msg, true );
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).populate( msg, true );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateEffective.class ).populate( msg,
true );
+ m_dataElementManager.lookup( DateExpiration.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).populate( msg, true );
+ m_dataElementManager.lookup( PosDataCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup( CardSequenceNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( FunctionCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( MerchantCategoryCode.class ).populate(
msg, true );
+ m_dataElementManager.lookup( PosCapability.class ).populate( msg,
true );
+ m_dataElementManager.lookup( AmountsOriginal.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup( Track2Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( Track3Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( ServiceCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).populate( msg, true );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).populate( msg, true );
+ m_dataElementManager.lookup( Track1Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( AmountsFees.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).populate( msg, true );
+ return msg;
+ }
+
+ public boolean disassemble( ISOMsg msg )
+ throws ISOException, NoSuchDataElementException,
DataElementAlreadyContainsValueException
+ {
+ String mti = msg.getMTI();
+ if( MTI_NO.equals( mti ) == false )
+ return false;
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).extract(
msg );
+ m_dataElementManager.lookup( ProcessingCode.class ).extract( msg );
+ m_dataElementManager.lookup( AmountTransaction.class ).extract( msg
);
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).extract( msg );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).extract( msg );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).extract( msg );
+ m_dataElementManager.lookup( DateEffective.class ).extract( msg );
+ m_dataElementManager.lookup( DateExpiration.class ).extract( msg );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).extract( msg );
+ m_dataElementManager.lookup( PosDataCode.class ).extract( msg );
+ m_dataElementManager.lookup( CardSequenceNumber.class ).extract( msg
);
+ m_dataElementManager.lookup( FunctionCode.class ).extract( msg );
+ m_dataElementManager.lookup( MerchantCategoryCode.class ).extract(
msg );
+ m_dataElementManager.lookup( PosCapability.class ).extract( msg );
+ m_dataElementManager.lookup( AmountsOriginal.class ).extract( msg );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup( Track2Data.class ).extract( msg );
+ m_dataElementManager.lookup( Track3Data.class ).extract( msg );
+ m_dataElementManager.lookup( ServiceCode.class ).extract( msg );
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).extract( msg );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).extract( msg );
+ m_dataElementManager.lookup( Track1Data.class ).extract( msg );
+ m_dataElementManager.lookup( AmountsFees.class ).extract( msg );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).extract( msg );
+ return true;
+ }
+}

Added:
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti110.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti110.java
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,130 @@
+/*
+ * 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.mti;
+
+import net.dpml.iso8583.data.MTI;
+import net.dpml.iso8583.data.DataElementManager;
+import net.dpml.iso8583.data.NoSuchDataElementException;
+import net.dpml.iso8583.data.DataElementAlreadyContainsValueException;
+import net.dpml.iso8583.data.elements.PrimaryAccountNumber;
+import net.dpml.iso8583.data.elements.ProcessingCode;
+import net.dpml.iso8583.data.elements.AmountTransaction;
+import net.dpml.iso8583.data.elements.DateAndTimeTransmission;
+import net.dpml.iso8583.data.elements.SystemsTraceAuditNumber;
+import net.dpml.iso8583.data.elements.DateAndTimeLocalTransaction;
+import net.dpml.iso8583.data.elements.DateEffective;
+import net.dpml.iso8583.data.elements.DateExpiration;
+import net.dpml.iso8583.data.elements.TransactionLifeCycleIdentificationData;
+import net.dpml.iso8583.data.elements.PosDataCode;
+import net.dpml.iso8583.data.elements.CardSequenceNumber;
+import net.dpml.iso8583.data.elements.FunctionCode;
+import net.dpml.iso8583.data.elements.MerchantCategoryCode;
+import net.dpml.iso8583.data.elements.PosCapability;
+import net.dpml.iso8583.data.elements.AmountsOriginal;
+import net.dpml.iso8583.data.elements.MessageErrorIndicator;
+import net.dpml.iso8583.data.elements.DateReconciliation;
+import net.dpml.iso8583.data.elements.ReconciliationIndicator;
+import net.dpml.service.ServiceManager;
+import net.dpml.service.ServiceException;
+import org.jpos.iso.ISOMsg;
+import org.jpos.iso.ISOException;
+
+/**
+ * @metro.component name="Mti110" lifestyle="transient"
+ * @metro.service type="net.dpml.iso8583.data.MTI"
+ */
+public class Mti110
+ implements MTI
+{
+ static private final String MTI_NO = "110";
+
+ private DataElementManager m_dataElementManager;
+
+ /**
+ *
+ * @param man ServiceManager provided by the container.
+ *
+ * @metro.dependency type="net.dpml.iso8583.data.DataElementManager"
+ * key="dataelement-manager"
+ */
+ public Mti110( ServiceManager man )
+ throws ServiceException
+ {
+ m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
+ }
+
+ public ISOMsg assemble()
+ throws ISOException, NoSuchDataElementException
+ {
+ String mti = MTI_NO;
+ ISOMsg msg = new ISOMsg( mti );
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( ProcessingCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( AmountTransaction.class ).populate(
msg, true );
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).populate( msg, true );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).populate( msg, true );
+ m_dataElementManager.lookup( MessageErrorIndicator.class ).populate(
msg, true );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).populate( msg, true );
+ m_dataElementManager.lookup( DateReconciliation.class ).populate(
msg, true );
+ m_dataElementManager.lookup( ReconciliationIndicator.class
).populate( msg, true );
+ m_dataElementManager.lookup( AmountsOriginal.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup( ApprovalCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( ActionCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).populate( msg, true );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).populate( msg, true );
+ m_dataElementManager.lookup( AmountsFees.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
AuthorizingAgentInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup( TransportData.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).populate( msg, true );
+ return msg;
+ }
+
+ public boolean disassemble( ISOMsg msg )
+ throws ISOException, NoSuchDataElementException,
DataElementAlreadyContainsValueException
+ {
+ String mti = msg.getMTI();
+ if( MTI_NO.equals( mti ) == false )
+ return false;
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).extract(
msg );
+ m_dataElementManager.lookup( ProcessingCode.class ).extract( msg );
+ m_dataElementManager.lookup( AmountTransaction.class ).extract( msg
);
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).extract( msg );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).extract( msg );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).extract( msg );
+ m_dataElementManager.lookup( MessageErrorIndicator.class ).extract(
msg );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).extract( msg );
+ m_dataElementManager.lookup( DateReconciliation.class ).extract( msg
);
+ m_dataElementManager.lookup( ReconciliationIndicator.class
).extract( msg );
+ m_dataElementManager.lookup( AmountsOriginal.class ).extract( msg );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup( ApprovalCode.class ).extract( msg );
+ m_dataElementManager.lookup( ActionCode.class ).extract( msg );
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).extract( msg );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).extract( msg );
+ m_dataElementManager.lookup( AmountsFees.class ).extract( msg );
+ m_dataElementManager.lookup(
AuthorizingAgentInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup( TransportData.class ).extract( msg );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).extract( msg );
+ return true;
+ }
+}

Added:
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti120.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti120.java
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,140 @@
+/*
+ * 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.mti;
+
+import net.dpml.iso8583.data.MTI;
+import net.dpml.iso8583.data.DataElementManager;
+import net.dpml.iso8583.data.NoSuchDataElementException;
+import net.dpml.iso8583.data.DataElementAlreadyContainsValueException;
+import net.dpml.iso8583.data.elements.PrimaryAccountNumber;
+import net.dpml.iso8583.data.elements.ProcessingCode;
+import net.dpml.iso8583.data.elements.AmountTransaction;
+import net.dpml.iso8583.data.elements.DateAndTimeTransmission;
+import net.dpml.iso8583.data.elements.SystemsTraceAuditNumber;
+import net.dpml.iso8583.data.elements.DateAndTimeLocalTransaction;
+import net.dpml.iso8583.data.elements.DateEffective;
+import net.dpml.iso8583.data.elements.DateExpiration;
+import net.dpml.iso8583.data.elements.TransactionLifeCycleIdentificationData;
+import net.dpml.iso8583.data.elements.PosDataCode;
+import net.dpml.iso8583.data.elements.CardSequenceNumber;
+import net.dpml.iso8583.data.elements.FunctionCode;
+import net.dpml.iso8583.data.elements.MerchantCategoryCode;
+import net.dpml.iso8583.data.elements.PosCapability;
+import net.dpml.iso8583.data.elements.AmountsOriginal;
+import net.dpml.iso8583.data.elements.MessageReasonCode;
+import net.dpml.service.ServiceManager;
+import net.dpml.service.ServiceException;
+import org.jpos.iso.ISOMsg;
+import org.jpos.iso.ISOException;
+
+/**
+ * @metro.component name="Mti120" lifestyle="transient"
+ * @metro.service type="net.dpml.iso8583.data.MTI"
+ */
+public class Mti120
+ implements MTI
+{
+ static private final String MTI_NO = "120";
+
+ private DataElementManager m_dataElementManager;
+
+ /**
+ *
+ * @param man ServiceManager provided by the container.
+ *
+ * @metro.dependency type="net.dpml.iso8583.data.DataElementManager"
+ * key="dataelement-manager"
+ */
+ public Mti120( ServiceManager man )
+ throws ServiceException
+ {
+ m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
+ }
+
+ public ISOMsg assemble()
+ throws ISOException, NoSuchDataElementException
+ {
+ String mti = MTI_NO;
+ ISOMsg msg = new ISOMsg( mti );
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( ProcessingCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( AmountTransaction.class ).populate(
msg, true );
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).populate( msg, true );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateEffective.class ).populate( msg,
true );
+ m_dataElementManager.lookup( DateExpiration.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).populate( msg, true );
+ m_dataElementManager.lookup( PosDataCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup( CardSequenceNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( FunctionCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( MessageReasonCode.class ).populate(
msg, true );
+ m_dataElementManager.lookup( MerchantCategoryCode.class ).populate(
msg, true );
+ m_dataElementManager.lookup( AmountsOriginal.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup( Track2Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( Track3Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( ActionCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup( ServiceCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).populate( msg, true );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).populate( msg, true );
+ m_dataElementManager.lookup( Track1Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( AmountsFees.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
AuthorizingAgentInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).populate( msg, true );
+ return msg;
+ }
+
+ public boolean disassemble( ISOMsg msg )
+ throws ISOException, NoSuchDataElementException,
DataElementAlreadyContainsValueException
+ {
+ String mti = msg.getMTI();
+ if( MTI_NO.equals( mti ) == false )
+ return false;
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).extract(
msg );
+ m_dataElementManager.lookup( ProcessingCode.class ).extract( msg );
+ m_dataElementManager.lookup( AmountTransaction.class ).extract( msg
);
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).extract( msg );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).extract( msg );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).extract( msg );
+ m_dataElementManager.lookup( DateEffective.class ).extract( msg );
+ m_dataElementManager.lookup( DateExpiration.class ).extract( msg );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).extract( msg );
+ m_dataElementManager.lookup( PosDataCode.class ).extract( msg );
+ m_dataElementManager.lookup( CardSequenceNumber.class ).extract( msg
);
+ m_dataElementManager.lookup( FunctionCode.class ).extract( msg );
+ m_dataElementManager.lookup( MessageReasonCode.class ).extract( msg
);
+ m_dataElementManager.lookup( MerchantCategoryCode.class ).extract(
msg );
+ m_dataElementManager.lookup( AmountsOriginal.class ).extract( msg );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup( Track2Data.class ).extract( msg );
+ m_dataElementManager.lookup( Track3Data.class ).extract( msg );
+ m_dataElementManager.lookup( ActionCode.class ).extract( msg );
+ m_dataElementManager.lookup( ServiceCode.class ).extract( msg );
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).extract( msg );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).extract( msg );
+ m_dataElementManager.lookup( Track1Data.class ).extract( msg );
+ m_dataElementManager.lookup( AmountsFees.class ).extract( msg );
+ m_dataElementManager.lookup(
AuthorizingAgentInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).extract( msg );
+ return true;
+ }
+}

Added:
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti121.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti121.java
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,140 @@
+/*
+ * 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.mti;
+
+import net.dpml.iso8583.data.MTI;
+import net.dpml.iso8583.data.DataElementManager;
+import net.dpml.iso8583.data.NoSuchDataElementException;
+import net.dpml.iso8583.data.DataElementAlreadyContainsValueException;
+import net.dpml.iso8583.data.elements.PrimaryAccountNumber;
+import net.dpml.iso8583.data.elements.ProcessingCode;
+import net.dpml.iso8583.data.elements.AmountTransaction;
+import net.dpml.iso8583.data.elements.DateAndTimeTransmission;
+import net.dpml.iso8583.data.elements.SystemsTraceAuditNumber;
+import net.dpml.iso8583.data.elements.DateAndTimeLocalTransaction;
+import net.dpml.iso8583.data.elements.DateEffective;
+import net.dpml.iso8583.data.elements.DateExpiration;
+import net.dpml.iso8583.data.elements.TransactionLifeCycleIdentificationData;
+import net.dpml.iso8583.data.elements.PosDataCode;
+import net.dpml.iso8583.data.elements.CardSequenceNumber;
+import net.dpml.iso8583.data.elements.FunctionCode;
+import net.dpml.iso8583.data.elements.MerchantCategoryCode;
+import net.dpml.iso8583.data.elements.PosCapability;
+import net.dpml.iso8583.data.elements.AmountsOriginal;
+import net.dpml.iso8583.data.elements.MessageReasonCode;
+import net.dpml.service.ServiceManager;
+import net.dpml.service.ServiceException;
+import org.jpos.iso.ISOMsg;
+import org.jpos.iso.ISOException;
+
+/**
+ * @metro.component name="Mti121" lifestyle="transient"
+ * @metro.service type="net.dpml.iso8583.data.MTI"
+ */
+public class Mti121
+ implements MTI
+{
+ static private final String MTI_NO = "121";
+
+ private DataElementManager m_dataElementManager;
+
+ /**
+ *
+ * @param man ServiceManager provided by the container.
+ *
+ * @metro.dependency type="net.dpml.iso8583.data.DataElementManager"
+ * key="dataelement-manager"
+ */
+ public Mti121( ServiceManager man )
+ throws ServiceException
+ {
+ m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
+ }
+
+ public ISOMsg assemble()
+ throws ISOException, NoSuchDataElementException
+ {
+ String mti = MTI_NO;
+ ISOMsg msg = new ISOMsg( mti );
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( ProcessingCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( AmountTransaction.class ).populate(
msg, true );
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).populate( msg, true );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateEffective.class ).populate( msg,
true );
+ m_dataElementManager.lookup( DateExpiration.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).populate( msg, true );
+ m_dataElementManager.lookup( PosDataCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup( CardSequenceNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( FunctionCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( MessageReasonCode.class ).populate(
msg, true );
+ m_dataElementManager.lookup( MerchantCategoryCode.class ).populate(
msg, true );
+ m_dataElementManager.lookup( AmountsOriginal.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup( Track2Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( Track3Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( ActionCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup( ServiceCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).populate( msg, true );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).populate( msg, true );
+ m_dataElementManager.lookup( Track1Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( AmountsFees.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
AuthorizingAgentInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).populate( msg, true );
+ return msg;
+ }
+
+ public boolean disassemble( ISOMsg msg )
+ throws ISOException, NoSuchDataElementException,
DataElementAlreadyContainsValueException
+ {
+ String mti = msg.getMTI();
+ if( MTI_NO.equals( mti ) == false )
+ return false;
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).extract(
msg );
+ m_dataElementManager.lookup( ProcessingCode.class ).extract( msg );
+ m_dataElementManager.lookup( AmountTransaction.class ).extract( msg
);
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).extract( msg );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).extract( msg );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).extract( msg );
+ m_dataElementManager.lookup( DateEffective.class ).extract( msg );
+ m_dataElementManager.lookup( DateExpiration.class ).extract( msg );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).extract( msg );
+ m_dataElementManager.lookup( PosDataCode.class ).extract( msg );
+ m_dataElementManager.lookup( CardSequenceNumber.class ).extract( msg
);
+ m_dataElementManager.lookup( FunctionCode.class ).extract( msg );
+ m_dataElementManager.lookup( MessageReasonCode.class ).extract( msg
);
+ m_dataElementManager.lookup( MerchantCategoryCode.class ).extract(
msg );
+ m_dataElementManager.lookup( AmountsOriginal.class ).extract( msg );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup( Track2Data.class ).extract( msg );
+ m_dataElementManager.lookup( Track3Data.class ).extract( msg );
+ m_dataElementManager.lookup( ActionCode.class ).extract( msg );
+ m_dataElementManager.lookup( ServiceCode.class ).extract( msg );
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).extract( msg );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).extract( msg );
+ m_dataElementManager.lookup( Track1Data.class ).extract( msg );
+ m_dataElementManager.lookup( AmountsFees.class ).extract( msg );
+ m_dataElementManager.lookup(
AuthorizingAgentInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).extract( msg );
+ return true;
+ }
+}

Added:
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti130.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti130.java
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,126 @@
+/*
+ * 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.mti;
+
+import net.dpml.iso8583.data.MTI;
+import net.dpml.iso8583.data.DataElementManager;
+import net.dpml.iso8583.data.NoSuchDataElementException;
+import net.dpml.iso8583.data.DataElementAlreadyContainsValueException;
+import net.dpml.iso8583.data.elements.PrimaryAccountNumber;
+import net.dpml.iso8583.data.elements.ProcessingCode;
+import net.dpml.iso8583.data.elements.AmountTransaction;
+import net.dpml.iso8583.data.elements.DateAndTimeTransmission;
+import net.dpml.iso8583.data.elements.SystemsTraceAuditNumber;
+import net.dpml.iso8583.data.elements.DateAndTimeLocalTransaction;
+import net.dpml.iso8583.data.elements.DateEffective;
+import net.dpml.iso8583.data.elements.DateExpiration;
+import net.dpml.iso8583.data.elements.TransactionLifeCycleIdentificationData;
+import net.dpml.iso8583.data.elements.PosDataCode;
+import net.dpml.iso8583.data.elements.CardSequenceNumber;
+import net.dpml.iso8583.data.elements.FunctionCode;
+import net.dpml.iso8583.data.elements.MerchantCategoryCode;
+import net.dpml.iso8583.data.elements.PosCapability;
+import net.dpml.iso8583.data.elements.AmountsOriginal;
+import net.dpml.iso8583.data.elements.MessageErrorIndicator;
+import net.dpml.iso8583.data.elements.DateReconciliation;
+import net.dpml.iso8583.data.elements.ReconciliationIndicator;
+import net.dpml.service.ServiceManager;
+import net.dpml.service.ServiceException;
+import org.jpos.iso.ISOMsg;
+import org.jpos.iso.ISOException;
+
+/**
+ * @metro.component name="Mti130" lifestyle="transient"
+ * @metro.service type="net.dpml.iso8583.data.MTI"
+ */
+public class Mti130
+ implements MTI
+{
+ static private final String MTI_NO = "130";
+
+ private DataElementManager m_dataElementManager;
+
+ /**
+ *
+ * @param man ServiceManager provided by the container.
+ *
+ * @metro.dependency type="net.dpml.iso8583.data.DataElementManager"
+ * key="dataelement-manager"
+ */
+ public Mti130( ServiceManager man )
+ throws ServiceException
+ {
+ m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
+ }
+
+ public ISOMsg assemble()
+ throws ISOException, NoSuchDataElementException
+ {
+ String mti = MTI_NO;
+ ISOMsg msg = new ISOMsg( mti );
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( ProcessingCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( AmountTransaction.class ).populate(
msg, true );
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).populate( msg, true );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).populate( msg, true );
+ m_dataElementManager.lookup( MessageErrorIndicator.class ).populate(
msg, true );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).populate( msg, true );
+ m_dataElementManager.lookup( DateReconciliation.class ).populate(
msg, true );
+ m_dataElementManager.lookup( ReconciliationIndicator.class
).populate( msg, true );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup( ApprovalCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( ActionCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).populate( msg, true );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).populate( msg, true );
+ m_dataElementManager.lookup( AmountsFees.class ).populate( msg, true
);
+ m_dataElementManager.lookup( TransportData.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).populate( msg, true );
+ return msg;
+ }
+
+ public boolean disassemble( ISOMsg msg )
+ throws ISOException, NoSuchDataElementException,
DataElementAlreadyContainsValueException
+ {
+ String mti = msg.getMTI();
+ if( MTI_NO.equals( mti ) == false )
+ return false;
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).extract(
msg );
+ m_dataElementManager.lookup( ProcessingCode.class ).extract( msg );
+ m_dataElementManager.lookup( AmountTransaction.class ).extract( msg
);
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).extract( msg );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).extract( msg );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).extract( msg );
+ m_dataElementManager.lookup( MessageErrorIndicator.class ).extract(
msg );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).extract( msg );
+ m_dataElementManager.lookup( DateReconciliation.class ).extract( msg
);
+ m_dataElementManager.lookup( ReconciliationIndicator.class
).extract( msg );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup( ApprovalCode.class ).extract( msg );
+ m_dataElementManager.lookup( ActionCode.class ).extract( msg );
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).extract( msg );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).extract( msg );
+ m_dataElementManager.lookup( AmountsFees.class ).extract( msg );
+ m_dataElementManager.lookup( TransportData.class ).extract( msg );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).extract( msg );
+ return true;
+ }
+}

Added:
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti140.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti140.java
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,150 @@
+/*
+ * 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.mti;
+
+import net.dpml.iso8583.data.MTI;
+import net.dpml.iso8583.data.DataElementManager;
+import net.dpml.iso8583.data.NoSuchDataElementException;
+import net.dpml.iso8583.data.DataElementAlreadyContainsValueException;
+import net.dpml.iso8583.data.elements.PrimaryAccountNumber;
+import net.dpml.iso8583.data.elements.ProcessingCode;
+import net.dpml.iso8583.data.elements.AmountTransaction;
+import net.dpml.iso8583.data.elements.DateAndTimeTransmission;
+import net.dpml.iso8583.data.elements.SystemsTraceAuditNumber;
+import net.dpml.iso8583.data.elements.DateAndTimeLocalTransaction;
+import net.dpml.iso8583.data.elements.DateEffective;
+import net.dpml.iso8583.data.elements.DateExpiration;
+import net.dpml.iso8583.data.elements.TransactionLifeCycleIdentificationData;
+import net.dpml.iso8583.data.elements.PosDataCode;
+import net.dpml.iso8583.data.elements.CardSequenceNumber;
+import net.dpml.iso8583.data.elements.FunctionCode;
+import net.dpml.iso8583.data.elements.MerchantCategoryCode;
+import net.dpml.iso8583.data.elements.PosCapability;
+import net.dpml.iso8583.data.elements.AmountsOriginal;
+import net.dpml.iso8583.data.elements.MessageReasonCode;
+import net.dpml.iso8583.data.elements.DateReconciliation;
+import net.dpml.iso8583.data.elements.ReconciliationIndicator;
+import net.dpml.service.ServiceManager;
+import net.dpml.service.ServiceException;
+import org.jpos.iso.ISOMsg;
+import org.jpos.iso.ISOException;
+
+/**
+ * @metro.component name="Mti140" lifestyle="transient"
+ * @metro.service type="net.dpml.iso8583.data.MTI"
+ */
+public class Mti140
+ implements MTI
+{
+ static private final String MTI_NO = "140";
+
+ private DataElementManager m_dataElementManager;
+
+ /**
+ *
+ * @param man ServiceManager provided by the container.
+ *
+ * @metro.dependency type="net.dpml.iso8583.data.DataElementManager"
+ * key="dataelement-manager"
+ */
+ public Mti140( ServiceManager man )
+ throws ServiceException
+ {
+ m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
+ }
+
+ public ISOMsg assemble()
+ throws ISOException, NoSuchDataElementException
+ {
+ String mti = MTI_NO;
+ ISOMsg msg = new ISOMsg( mti );
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( ProcessingCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( AmountTransaction.class ).populate(
msg, true );
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).populate( msg, true );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).populate( msg, true );
+ m_dataElementManager.lookup( DateEffective.class ).populate( msg,
true );
+ m_dataElementManager.lookup( DateExpiration.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).populate( msg, true );
+ m_dataElementManager.lookup( PosDataCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup( CardSequenceNumber.class ).populate(
msg, true );
+ m_dataElementManager.lookup( FunctionCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( MessageReasonCode.class ).populate(
msg, true );
+ m_dataElementManager.lookup( MerchantCategoryCode.class ).populate(
msg, true );
+ m_dataElementManager.lookup( DateReconciliation.class ).populate(
msg, true );
+ m_dataElementManager.lookup( ReconciliationIndicator.class
).populate( msg, true );
+ m_dataElementManager.lookup( AmountsOriginal.class ).populate( msg,
true );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup( Track2Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( Track3Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( ApprovalCode.class ).populate( msg,
true );
+ m_dataElementManager.lookup( ActionCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup( ServiceCode.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).populate( msg, true );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).populate( msg, true );
+ m_dataElementManager.lookup( Track1Data.class ).populate( msg, true
);
+ m_dataElementManager.lookup( AmountsFees.class ).populate( msg, true
);
+ m_dataElementManager.lookup(
AuthorizingAgentInstitutionIdentificationCode.class ).populate( msg, true );
+ m_dataElementManager.lookup( BatchFileTransferMessageControl.class
).populate( msg, true );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).populate( msg, true );
+ return msg;
+ }
+
+ public boolean disassemble( ISOMsg msg )
+ throws ISOException, NoSuchDataElementException,
DataElementAlreadyContainsValueException
+ {
+ String mti = msg.getMTI();
+ if( MTI_NO.equals( mti ) == false )
+ return false;
+ m_dataElementManager.lookup( PrimaryAccountNumber.class ).extract(
msg );
+ m_dataElementManager.lookup( ProcessingCode.class ).extract( msg );
+ m_dataElementManager.lookup( AmountTransaction.class ).extract( msg
);
+ m_dataElementManager.lookup( DateAndTimeTransmission.class
).extract( msg );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).extract( msg );
+ m_dataElementManager.lookup( DateAndTimeLocalTransaction.class
).extract( msg );
+ m_dataElementManager.lookup( DateEffective.class ).extract( msg );
+ m_dataElementManager.lookup( DateExpiration.class ).extract( msg );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).extract( msg );
+ m_dataElementManager.lookup( PosDataCode.class ).extract( msg );
+ m_dataElementManager.lookup( CardSequenceNumber.class ).extract( msg
);
+ m_dataElementManager.lookup( FunctionCode.class ).extract( msg );
+ m_dataElementManager.lookup( MessageReasonCode.class ).extract( msg
);
+ m_dataElementManager.lookup( MerchantCategoryCode.class ).extract(
msg );
+ m_dataElementManager.lookup( DateReconciliation.class ).extract( msg
);
+ m_dataElementManager.lookup( ReconciliationIndicator.class
).extract( msg );
+ m_dataElementManager.lookup( AmountsOriginal.class ).extract( msg );
+ m_dataElementManager.lookup(
AcquiringInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup(
ForwardingInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup( Track2Data.class ).extract( msg );
+ m_dataElementManager.lookup( Track3Data.class ).extract( msg );
+ m_dataElementManager.lookup( ApprovalCode.class ).extract( msg );
+ m_dataElementManager.lookup( ActionCode.class ).extract( msg );
+ m_dataElementManager.lookup( ServiceCode.class ).extract( msg );
+ m_dataElementManager.lookup(
CardAcceptorTerminalIdentification.class ).extract( msg );
+ m_dataElementManager.lookup( CardAcceptorIdentificationCode.class
).extract( msg );
+ m_dataElementManager.lookup( Track1Data.class ).extract( msg );
+ m_dataElementManager.lookup( AmountsFees.class ).extract( msg );
+ m_dataElementManager.lookup(
AuthorizingAgentInstitutionIdentificationCode.class ).extract( msg );
+ m_dataElementManager.lookup( BatchFileTransferMessageControl.class
).extract( msg );
+ m_dataElementManager.lookup(
ReceivingInstitutionIdentificationCode.class ).extract( msg );
+ return true;
+ }
+}

Added:
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti150.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/assembly/src/main/net/dpml/iso8583/data/mti/Mti150.java
Thu Apr 7 14:14:31 2005
@@ -0,0 +1,95 @@
+/*
+ * 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.mti;
+
+import net.dpml.iso8583.data.MTI;
+import net.dpml.iso8583.data.DataElementManager;
+import net.dpml.iso8583.data.NoSuchDataElementException;
+import net.dpml.iso8583.data.DataElementAlreadyContainsValueException;
+import net.dpml.iso8583.data.elements.PrimaryAccountNumber;
+import net.dpml.iso8583.data.elements.ProcessingCode;
+import net.dpml.iso8583.data.elements.AmountTransaction;
+import net.dpml.iso8583.data.elements.DateAndTimeTransmission;
+import net.dpml.iso8583.data.elements.SystemsTraceAuditNumber;
+import net.dpml.iso8583.data.elements.DateAndTimeLocalTransaction;
+import net.dpml.iso8583.data.elements.DateEffective;
+import net.dpml.iso8583.data.elements.DateExpiration;
+import net.dpml.iso8583.data.elements.TransactionLifeCycleIdentificationData;
+import net.dpml.iso8583.data.elements.PosDataCode;
+import net.dpml.iso8583.data.elements.CardSequenceNumber;
+import net.dpml.iso8583.data.elements.FunctionCode;
+import net.dpml.iso8583.data.elements.MerchantCategoryCode;
+import net.dpml.iso8583.data.elements.PosCapability;
+import net.dpml.iso8583.data.elements.AmountsOriginal;
+import net.dpml.iso8583.data.elements.MessageErrorIndicator;
+import net.dpml.iso8583.data.elements.DateReconciliation;
+import net.dpml.iso8583.data.elements.ReconciliationIndicator;
+import net.dpml.service.ServiceManager;
+import net.dpml.service.ServiceException;
+import org.jpos.iso.ISOMsg;
+import org.jpos.iso.ISOException;
+
+/**
+ * @metro.component name="Mti150" lifestyle="transient"
+ * @metro.service type="net.dpml.iso8583.data.MTI"
+ */
+public class Mti150
+ implements MTI
+{
+ static private final String MTI_NO = "150";
+
+ private DataElementManager m_dataElementManager;
+
+ /**
+ *
+ * @param man ServiceManager provided by the container.
+ *
+ * @metro.dependency type="net.dpml.iso8583.data.DataElementManager"
+ * key="dataelement-manager"
+ */
+ public Mti150( ServiceManager man )
+ throws ServiceException
+ {
+ m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
+ }
+
+ public ISOMsg assemble()
+ throws ISOException, NoSuchDataElementException
+ {
+ String mti = MTI_NO;
+ ISOMsg msg = new ISOMsg( mti );
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).populate( msg, true );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).populate( msg, true );
+ m_dataElementManager.lookup( BatchFileTransferMessageControl.class
).populate( msg, true );
+ return msg;
+ }
+
+ public boolean disassemble( ISOMsg msg )
+ throws ISOException, NoSuchDataElementException,
DataElementAlreadyContainsValueException
+ {
+ String mti = msg.getMTI();
+ if( MTI_NO.equals( mti ) == false )
+ return false;
+
+ m_dataElementManager.lookup( SystemsTraceAuditNumber.class
).extract( msg );
+ m_dataElementManager.lookup(
TransactionLifeCycleIdentificationData.class ).extract( msg );
+ m_dataElementManager.lookup( BatchFileTransferMessageControl.class
).extract( msg );
+ return true;
+ }
+}

Modified:
development/planet/users/niclas/iso8583/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java
==============================================================================
---
development/planet/users/niclas/iso8583/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java
(original)
+++
development/planet/users/niclas/iso8583/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java
Thu Apr 7 14:14:31 2005
@@ -19,27 +19,65 @@
package net.dpml.iso8583.authorization.impl;

import net.dpml.iso8583.authorization.AuthorizationService;
+import net.dpml.iso8583.data.DataElementManager;
+import net.dpml.iso8583.data.DataElement;
+import net.dpml.iso8583.data.elements.PrimaryAccountNumber;
+import net.dpml.iso8583.data.elements.ProcessingCode;
+import net.dpml.iso8583.data.elements.AmountTransaction;
+import net.dpml.iso8583.data.elements.DateAndTimeTransmission;
+import net.dpml.iso8583.data.elements.DateAndTimeLocalTransaction;
+import net.dpml.iso8583.data.elements.DateEffective;
+import net.dpml.iso8583.data.elements.DateExpiration;
+import net.dpml.iso8583.data.elements.TransactionLifeCycleIdentificationData;
+import net.dpml.iso8583.data.elements.CardSequenceNumber;
+import net.dpml.iso8583.data.elements.FunctionCode;
+import net.dpml.iso8583.data.elements.MerchantCategoryCode;
+import net.dpml.iso8583.data.elements.AmountsOriginal;
+import net.dpml.iso8583.data.elements.SystemsTraceAuditNumber;
+import net.dpml.iso8583.data.elements.PosDataCode;
+import net.dpml.iso8583.data.elements.PosCapability;
+import net.dpml.iso8583.data.elements.MessageReasonCode;
+import net.dpml.iso8583.data.elements.ReconciliationIndicator;
+import net.dpml.iso8583.data.elements.DateReconciliation;
import net.dpml.service.ServiceManager;
+import net.dpml.service.ServiceException;
import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOMsg;

+/**
+ * @metro.component name="authorization" lifestyle="singleton"
+ * @metro.service type="net.dpml.iso8583.authorization.AuthorizationService"
+ */
public class DefaultAuthorization
implements AuthorizationService
{
+
+ private DataElementManager m_dataElementManager;
+
/** Constructor.
*
* @param man teh container provided net.dpml.service.ServiceManager.
*
- * @metro.dependency key=""
type="net.dpml.is8583.data.ConstructedDataElement"
- * @metro.dependency key="" type="net.dpml.is8583.data.DataElement"
*/
public DefaultAuthorization( ServiceManager man )
{
-
+ m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
}

public boolean authorize()
throws ISOException
{
+ m_dataElementManager.beginSession();
+ try
+ {
+
+ } catch( ServiceException e )
+ {
+
+ } finally
+ {
+ m_dataElementManager.doneSession();
+ }
return false;
}

@@ -48,46 +86,4 @@
{
return false;
}
-
- private void send100()
- {
- String mti = "100";
- m_assembler
- }
-
- private void send101()
- {
-
- }
-
- private void send120()
- {
-
- }
-
- private void send121()
- {
-
- }
-
- private void send140()
- {
-
- }
-
- private void receive110()
- {
-
- }
-
- private void receive130()
- {
-
- }
-
- private void receive150()
- {
-
- }
-
}

Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java
Thu Apr 7 14:14:31 2005
@@ -20,6 +20,7 @@

import net.dpml.iso8583.data.DataElement;
import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.DataElementAlreadyContainsValueException;
import net.dpml.logging.Logger;
import org.jpos.iso.ISOMsg;
import org.jpos.iso.ISOException;
@@ -144,4 +145,22 @@
* @return the bit/field number of this data element.
*/
public abstract int getIsoBitNumber();
+
+ /** Extracts the field data from the ISOMsg and populate this
DataElement with the value.
+ *
+ * @param message The ISOMsg to extract the value from.
+ * @throws DataElementAlreadyContainsValueException if the DataElement
already contains a value.
+ */
+ public void extract( ISOMsg message )
+ throws DataElementAlreadyContainsValueException
+ {
+ int iso = getIsoBitNumber();
+ if( message.hasField( iso ) == false )
+ return;
+ String oldValue = get();
+ if( oldValue != null )
+ throw new DataElementAlreadyContainsValueException( getName() );
+ String value = message.getString( iso );
+ set( value );
+ }
}

Modified:
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/AmountCardholderBilling.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/AmountCardholderBilling.java
Thu Apr 7 14:14:31 2005
@@ -19,9 +19,11 @@


import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.DataElementAlreadyContainsValueException;
import net.dpml.iso8583.data.representation.N;
import net.dpml.logging.Logger;
import net.dpml.parameters.Parameters;
+import org.jpos.iso.ISOMsg;


/** <code>DataElement</code> implementation of AmountCardholderBilling.

Modified: development/planet/users/niclas/iso8583/iso8583.ipr
==============================================================================
--- development/planet/users/niclas/iso8583/iso8583.ipr (original)
+++ development/planet/users/niclas/iso8583/iso8583.ipr Thu Apr 7 14:14:31
2005
@@ -187,10 +187,10 @@
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/api/api.iml"
filepath="$PROJECT_DIR$/api/api.iml" />
- <module fileurl="file://$PROJECT_DIR$/assembly/assembly.iml"
filepath="$PROJECT_DIR$/assembly/assembly.iml" />
<module fileurl="file://$PROJECT_DIR$/authorization/authorization.iml"
filepath="$PROJECT_DIR$/authorization/authorization.iml" />
<module fileurl="file://$PROJECT_DIR$/channels/channels.iml"
filepath="$PROJECT_DIR$/channels/channels.iml" />
<module fileurl="file://$PROJECT_DIR$/elements/elements.iml"
filepath="$PROJECT_DIR$/elements/elements.iml" />
+ <module fileurl="file://$PROJECT_DIR$/assembly/mti.iml"
filepath="$PROJECT_DIR$/assembly/mti.iml" />
<module fileurl="file://$PROJECT_DIR$/packaging/packaging.iml"
filepath="$PROJECT_DIR$/packaging/packaging.iml" />
</modules>
</component>

Modified: development/planet/users/niclas/iso8583/iso8583.iws
==============================================================================
--- development/planet/users/niclas/iso8583/iso8583.iws (original)
+++ development/planet/users/niclas/iso8583/iso8583.iws Thu Apr 7 14:14:31
2005
@@ -146,77 +146,77 @@
<option name="HIDE_WARNINGS" value="false" />
</component>
<component name="FileEditorManager" split-orientation="vertical"
split-proportion="0.5">
- <first-group
selected-file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/assembly/DefaultAssembler.xconfig">
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java"
pinned="false">
+ <first-group
selected-file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti150.java">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti100.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="18" column="0" selection-start="0"
selection-end="622" vertical-scroll-proportion="0.03942181">
- <folding />
+ <state line="48" column="13" selection-start="2020"
selection-end="2020" vertical-scroll-proportion="0.33290815">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="43" column="0" selection-start="1361"
selection-end="1361" vertical-scroll-proportion="0.5321945">
+ <state line="153" column="0" selection-start="5476"
selection-end="5476" vertical-scroll-proportion="2.5255103">
<folding />
</state>
</provider>
</entry>
<entry
file="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="54" column="19" selection-start="1480"
selection-end="1480" vertical-scroll-proportion="0.38896188">
+ <state line="72" column="12" selection-start="2712"
selection-end="2712" vertical-scroll-proportion="0.68877554">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/IsoMsgAssembler.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti110.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="6" column="33" selection-start="129"
selection-end="129" vertical-scroll-proportion="0.11826544">
+ <state line="126" column="99" selection-start="5186"
selection-end="5186" vertical-scroll-proportion="0.80867344">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/assembly/DefaultAssembler.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti101.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="66" column="21" selection-start="1980"
selection-end="1980" vertical-scroll-proportion="0.80289096">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="113" column="57" selection-start="5767"
selection-end="5767" vertical-scroll-proportion="0.59821427">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/assembly/DefaultAssembler.xconfig"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti120.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="151" column="0" selection-start="6828"
selection-end="6828" vertical-scroll-proportion="0.9605782">
+ <state line="136" column="99" selection-start="5534"
selection-end="5534" vertical-scroll-proportion="0.83035713">
<folding />
</state>
</provider>
</entry>
- <entry
file="file:///home/niclas/dev/opensource/sf.net/jpos/jpos/src/main/org/jpos/iso/ISOComponent.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti121.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="51" column="0" selection-start="2397"
selection-end="2397" vertical-scroll-proportion="0.021024967">
+ <state line="136" column="99" selection-start="5534"
selection-end="5534" vertical-scroll-proportion="0.83035713">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/AbstractDataElementTestCase.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti130.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="65" column="22" selection-start="1735"
selection-end="1735" vertical-scroll-proportion="0.63337713">
+ <state line="122" column="99" selection-start="4988"
selection-end="4988" vertical-scroll-proportion="0.80867344">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/DataElement.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti140.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="30" column="17" selection-start="1082"
selection-end="1082" vertical-scroll-proportion="0.021024967">
+ <state line="146" column="99" selection-start="6015"
selection-end="6015" vertical-scroll-proportion="0.90688777">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/ConstructedDataElement.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti150.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="23" column="17" selection-start="754"
selection-end="754" vertical-scroll-proportion="0.13797635">
+ <state line="51" column="13" selection-start="2202"
selection-end="2202" vertical-scroll-proportion="0.04336735">
<folding />
</state>
</provider>
@@ -237,22 +237,24 @@
<component name="J2EEProjectPane" />
<component name="NamedScopeManager" />
<component name="PackagesPane">
- <expanded_node url="net.dpml.iso8583.data.assembly" module="assembly"
type="package" />
- <expanded_node url="" module="api" type="module" />
<expanded_node url="net.dpml.iso8583.data" module="api" type="package" />
- <expanded_node url="" module="authorization" type="module" />
<expanded_node url="net.dpml.iso8583.authorization.impl"
module="authorization" type="package" />
- <expanded_node url="" module="assembly" type="module" />
+ <expanded_node url="" module="api" type="module" />
+ <expanded_node url="net.dpml.iso8583.data.mti" module="mti"
type="package" />
+ <expanded_node url="" module="mti" type="module" />
+ <expanded_node url="" module="elements" type="module" />
+ <expanded_node url="" module="authorization" type="module" />
</component>
<component name="ProjectPane">
- <expanded_node url="file://$PROJECT_DIR$/authorization"
module="authorization" type="directory" />
+ <expanded_node url="" module="authorization" type="module" />
+ <expanded_node url="file://$PROJECT_DIR$/authorization/src/main"
module="authorization" type="directory" />
+ <expanded_node url="file://$PROJECT_DIR$/authorization/src"
module="authorization" type="directory" />
+ <expanded_node
url="file://$PROJECT_DIR$/authorization/src/main/net/dpml"
module="authorization" type="directory" />
<expanded_node url="file://$PROJECT_DIR$/authorization/src/main/net"
module="authorization" type="directory" />
<expanded_node
url="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization"
module="authorization" type="directory" />
+ <expanded_node
url="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization/impl"
module="authorization" type="directory" />
<expanded_node
url="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583"
module="authorization" type="directory" />
- <expanded_node url="file://$PROJECT_DIR$/authorization/src/main"
module="authorization" type="directory" />
- <expanded_node url="" module="authorization" type="module" />
- <expanded_node
url="file://$PROJECT_DIR$/authorization/src/main/net/dpml"
module="authorization" type="directory" />
- <expanded_node url="file://$PROJECT_DIR$/authorization/src"
module="authorization" type="directory" />
+ <expanded_node url="file://$PROJECT_DIR$/authorization"
module="authorization" type="directory" />
</component>
<component name="ProjectView">
<navigator currentView="PackagesPane" splitterProportion="0.5">
@@ -384,13 +386,13 @@
<window_info id="CVS" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.33" order="8"
/>
<window_info id="SvgViewer" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33028287" order="3" />
<window_info id="TODO" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="7" />
- <window_info id="Project" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="true"
weight="0.20881863" order="0" />
+ <window_info id="Project" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="true"
weight="0.19717138" order="0" />
<window_info id="Find" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.32979977" order="1" />
<window_info id="Structure" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.24958402" order="1" />
<window_info id="Messages" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.32979977" order="8" />
<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="Ant Build" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.24958402" order="1" />
<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="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.30199668" order="3" />
@@ -471,111 +473,111 @@
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager">
- <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/AsciiChannel.java">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/NoSuchDataElementException.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="31" column="18" selection-start="1005"
selection-end="1005" vertical-scroll-proportion="0.13797635">
+ <state line="26" column="0" selection-start="714"
selection-end="808" vertical-scroll-proportion="0.19710907">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AmountsOriginal.java">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/DataElementAlreadyContainsValueException.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="36" column="13" selection-start="1199"
selection-end="1199" vertical-scroll-proportion="0.33508542">
+ <state line="27" column="0" selection-start="833"
selection-end="833" vertical-scroll-proportion="0.21681997">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AmountTransaction.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AmountCardholderBilling.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="85" column="0" selection-start="2774"
selection-end="2774" vertical-scroll-proportion="1.0118265">
+ <state line="74" column="0" selection-start="2271"
selection-end="2271" vertical-scroll-proportion="0.86202365">
<folding />
</state>
</provider>
</entry>
<entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractConstructedDataElement.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="75" column="25" selection-start="2828"
selection-end="2828" vertical-scroll-proportion="0.804205">
+ <state line="26" column="22" selection-start="875"
selection-end="875" vertical-scroll-proportion="0.11826544">
<folding />
</state>
</provider>
</entry>
- <entry
file="file:///home/niclas/dev/opensource/sf.net/jpos/jpos/src/main/org/jpos/iso/ISOMsg.java">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/DataElement.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="75" column="35" selection-start="3047"
selection-end="3047" vertical-scroll-proportion="0.2956636">
+ <state line="68" column="0" selection-start="2422"
selection-end="2692" vertical-scroll-proportion="0.28188777">
<folding />
</state>
</provider>
</entry>
- <entry
file="file:///home/niclas/dev/opensource/sf.net/jpos/jpos/src/main/org/jpos/iso/ISOComponent.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="51" column="0" selection-start="2397"
selection-end="2397" vertical-scroll-proportion="0.021024967">
+ <state line="153" column="0" selection-start="5476"
selection-end="5476" vertical-scroll-proportion="2.5255103">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/AbstractDataElementTestCase.java">
+ <entry
file="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="65" column="22" selection-start="1735"
selection-end="1735" vertical-scroll-proportion="0.63337713">
- <folding />
+ <state line="72" column="12" selection-start="2712"
selection-end="2712" vertical-scroll-proportion="0.68877554">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/DataElement.java">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti100.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="30" column="17" selection-start="1082"
selection-end="1082" vertical-scroll-proportion="0.021024967">
- <folding />
+ <state line="48" column="13" selection-start="2020"
selection-end="2020" vertical-scroll-proportion="0.33290815">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/ConstructedDataElement.java">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti101.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="23" column="17" selection-start="754"
selection-end="754" vertical-scroll-proportion="0.13797635">
+ <state line="113" column="57" selection-start="5767"
selection-end="5767" vertical-scroll-proportion="0.59821427">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti110.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="54" column="19" selection-start="1480"
selection-end="1480" vertical-scroll-proportion="0.38896188">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="126" column="99" selection-start="5186"
selection-end="5186" vertical-scroll-proportion="0.80867344">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti120.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="43" column="0" selection-start="1361"
selection-end="1361" vertical-scroll-proportion="0.5321945">
+ <state line="136" column="99" selection-start="5534"
selection-end="5534" vertical-scroll-proportion="0.83035713">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti121.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="18" column="0" selection-start="0" selection-end="622"
vertical-scroll-proportion="0.03942181">
+ <state line="136" column="99" selection-start="5534"
selection-end="5534" vertical-scroll-proportion="0.83035713">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/IsoMsgAssembler.java">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti130.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="6" column="33" selection-start="129"
selection-end="129" vertical-scroll-proportion="0.11826544">
+ <state line="122" column="99" selection-start="4988"
selection-end="4988" vertical-scroll-proportion="0.80867344">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/assembly/DefaultAssembler.java">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti140.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="66" column="21" selection-start="1980"
selection-end="1980" vertical-scroll-proportion="0.80289096">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="146" column="99" selection-start="6015"
selection-end="6015" vertical-scroll-proportion="0.90688777">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/assembly/DefaultAssembler.xconfig">
+ <entry
file="file://$PROJECT_DIR$/assembly/src/main/net/dpml/iso8583/data/mti/Mti150.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="151" column="0" selection-start="6828"
selection-end="6828" vertical-scroll-proportion="0.9605782">
+ <state line="51" column="13" selection-start="2202"
selection-end="2202" vertical-scroll-proportion="0.04336735">
<folding />
</state>
</provider>



  • svn commit: r2238 - in development/planet/users/niclas/iso8583: . api/src/main/net/dpml/iso8583/data assembly/src/main/net/dpml/iso8583/data/assembly assembly/src/main/net/dpml/iso8583/data/mti authorization/src/main/net/dpml/iso8583/authorization/impl elements/src/main/net/dpml/iso8583/data/elements, niclas, 04/07/2005

Archive powered by MHonArc 2.6.24.

Top of Page