eu.europa.tmsearch.services.business.util
Class ST13ConverterDummyImpl

java.lang.Object
  extended by eu.europa.tmsearch.services.business.util.ST13ConverterDummyImpl
All Implemented Interfaces:
ST13Converter

public class ST13ConverterDummyImpl
extends java.lang.Object
implements ST13Converter

An dummy/transparent implementation of utility methods to convert from/to ST13 IDs from office specific IDs


Constructor Summary
ST13ConverterDummyImpl()
           
 
Method Summary
 java.lang.String fromST13ID(java.lang.String st13ID)
          Returns a ST13ID given an office specific ID
 java.lang.String toST13ID(java.lang.String officeSpecificID)
          Returns a office specific ID given a ST13ID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ST13ConverterDummyImpl

public ST13ConverterDummyImpl()
Method Detail

fromST13ID

public java.lang.String fromST13ID(java.lang.String st13ID)
                            throws java.lang.IllegalArgumentException
Returns a ST13ID given an office specific ID

Specified by:
fromST13ID in interface ST13Converter
Parameters:
officeSpecificID - A Office specific ID
Returns:
A ST13 ID
Throws:
java.lang.IllegalArgumentException - if there a conversion error

toST13ID

public java.lang.String toST13ID(java.lang.String officeSpecificID)
                          throws java.lang.IllegalArgumentException
Returns a office specific ID given a ST13ID

Specified by:
toST13ID in interface ST13Converter
Parameters:
st13ID - A ST13 ID
Returns:
A Office specific ID
Throws:
java.lang.IllegalArgumentException - if there a conversion error


Copyright © 2009. All Rights Reserved.