com.sapmarkets.tpd
Class TradingPartnerDirectoryCommon

java.lang.Object
  |
  +--com.sapmarkets.tpd.TradingPartnerDirectoryCommon

public class TradingPartnerDirectoryCommon
extends java.lang.Object

TPD Factory.


Field Summary
static java.lang.String VERSIONSTRING
           
 
Constructor Summary
TradingPartnerDirectoryCommon()
           
 
Method Summary
static PartnerID createPartnerID(java.lang.String partnerID)
           
static TradingPartnerDirectoryInterface getTPD()
          Factory method to get the currently active TPD.
static void initialize(java.lang.Class tpdclass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSIONSTRING

public static final java.lang.String VERSIONSTRING
Constructor Detail

TradingPartnerDirectoryCommon

public TradingPartnerDirectoryCommon()
Method Detail

initialize

public static void initialize(java.lang.Class tpdclass)
                       throws java.lang.InstantiationException,
                              java.lang.IllegalAccessException

createPartnerID

public static PartnerID createPartnerID(java.lang.String partnerID)
                                 throws TpdException

getTPD

public static TradingPartnerDirectoryInterface getTPD()
Factory method to get the currently active TPD. Depending on the properties file the appropriate TPD is selected.
Returns:
The TPD value