001/*
002 *  jDTAUS Banking Messages
003 *  Copyright (c) 2005 Christian Schulte
004 *
005 *  This library is free software; you can redistribute it and/or
006 *  modify it under the terms of the GNU Lesser General Public
007 *  License as published by the Free Software Foundation; either
008 *  version 2.1 of the License, or any later version.
009 *
010 *  This library is distributed in the hope that it will be useful,
011 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
012 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013 *  Lesser General Public License for more details.
014 *
015 *  You should have received a copy of the GNU Lesser General Public
016 *  License along with this library; if not, write to the Free Software
017 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
018 *
019 *  $JDTAUS: SearchesBankleitzahlInfosMessage.java 8548 2012-06-01 14:39:16Z schulte2005 $
020 */
021package org.jdtaus.banking.messages;
022
023import java.util.Locale;
024import org.jdtaus.core.container.ContainerFactory;
025import org.jdtaus.core.text.Message;
026
027/**
028 * Message stating that bankleitzahl information is being searched.
029 *
030 * @author Christian Schulte
031 * @version $JDTAUS: SearchesBankleitzahlInfosMessage.java 8548 2012-06-01 14:39:16Z schulte2005 $
032 */
033public final class SearchesBankleitzahlInfosMessage extends Message
034{
035
036    /** Serial version UID for backwards compatibility with 1.11.x classes. */
037    private static final long serialVersionUID = -4962937589599067917L;
038
039    /** Empty array. */
040    private static final Object[] ARGUMENTS =
041    {
042    };
043
044    /** Creates a new {@code SearchesBankleitzahlInfosMessage} instance. */
045    public SearchesBankleitzahlInfosMessage()
046    {
047        super();
048    }
049
050    /**
051     * {@inheritDoc}
052     *
053     * @return An empty array, since the message has no arguments.
054     */
055    public Object[] getFormatArguments( final Locale locale )
056    {
057        return ARGUMENTS;
058    }
059
060    /**
061     * {@inheritDoc}
062     *
063     * @return The corresponding text from the message's {@code ResourceBundle}
064     * <blockquote><pre>
065     * Searches bankcode directory.
066     * </pre></blockquote>
067     */
068    public String getText( final Locale locale )
069    {
070        return this.getSearchingBankleitzahlInfosMessage( locale );
071    }
072
073    //--Messages----------------------------------------------------------------
074
075// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:jdtausMessages
076    // This section is managed by jdtaus-container-mojo.
077
078    /**
079     * Gets the text of message <code>searchingBankleitzahlInfos</code>.
080     * <blockquote><pre>Durchsucht Bankleitzahlenverzeichnis.</pre></blockquote>
081     * <blockquote><pre>Searching bankcode directory.</pre></blockquote>
082     *
083     * @param locale The locale of the message instance to return.
084     *
085     * @return the text of message <code>searchingBankleitzahlInfos</code>.
086     */
087    private String getSearchingBankleitzahlInfosMessage( final Locale locale )
088    {
089        return ContainerFactory.getContainer().
090            getMessage( this, "searchingBankleitzahlInfos", locale, null );
091
092    }
093
094// </editor-fold>//GEN-END:jdtausMessages
095
096    //----------------------------------------------------------------Messages--
097}