org.milyn.edisax.interchange
Class EdiDirectory

java.lang.Object
  extended by org.milyn.edisax.interchange.EdiDirectory

public class EdiDirectory
extends Object

EDI directory model.

Contains the mapping models for all message in an EDI directory/specification e.g. for UN/EDIFACT it contains EDI mapping models for all the messages in a UN/EDIFACT directory specification zip file.

Author:
tom.fennelly@gmail.com

Constructor Summary
EdiDirectory(Edimap commonModel, List<Edimap> messageModels)
          Public constructor.
 
Method Summary
 Edimap getCommonModel()
          Get the common model.
 List<Edimap> getMessageModels()
          Get the message models.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdiDirectory

public EdiDirectory(Edimap commonModel,
                    List<Edimap> messageModels)
Public constructor.

Parameters:
commonModel - The "common" model. Contains common types used across (and imported by) the messages in the directory.
messageModels - The individual message models.
Method Detail

getCommonModel

public Edimap getCommonModel()
Get the common model.

Returns:
The common model.

getMessageModels

public List<Edimap> getMessageModels()
Get the message models.

This list does not contain the common model.

Returns:
The message models.


Copyright © 2011. All Rights Reserved.