001/* 002 * jDTAUS Banking Messages 003 * Copyright (C) 2005 Christian Schulte 004 * <cs@schulte.it> 005 * 006 * This library is free software; you can redistribute it and/or 007 * modify it under the terms of the GNU Lesser General Public 008 * License as published by the Free Software Foundation; either 009 * version 2.1 of the License, or any later version. 010 * 011 * This library is distributed in the hope that it will be useful, 012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 014 * Lesser General Public License for more details. 015 * 016 * You should have received a copy of the GNU Lesser General Public 017 * License along with this library; if not, write to the Free Software 018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 019 * 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 a {@code BankleitzahlenDatei} is being updated. 029 * 030 * @author <a href="mailto:cs@schulte.it">Christian Schulte</a> 031 * @version $JDTAUS: UpdatesBankleitzahlenDateiMessage.java 8661 2012-09-27 11:29:58Z schulte $ 032 */ 033public final class UpdatesBankleitzahlenDateiMessage extends Message 034{ 035 036 /** Serial version UID for backwards compatibility with 1.0.x classes. */ 037 private static final long serialVersionUID = 1939962399932527212L; 038 039 /** Empty array. */ 040 private static final Object[] ARGUMENTS = 041 { 042 }; 043 044 /** Creates a new {@code UpdatesBankleitzahlenDateiMessage} instance. */ 045 public UpdatesBankleitzahlenDateiMessage() 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 * Updates bankfile. 066 * </pre></blockquote> 067 */ 068 public String getText( final Locale locale ) 069 { 070 return this.getUpdatingBankleitzahlenDateiMessage( 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>updatingBankleitzahlenDatei</code>. 080 * <blockquote><pre>Aktualisiert Bankleitzahlendatei.</pre></blockquote> 081 * <blockquote><pre>Updating bankfile.</pre></blockquote> 082 * 083 * @param locale The locale of the message instance to return. 084 * 085 * @return the text of message <code>updatingBankleitzahlenDatei</code>. 086 */ 087 private String getUpdatingBankleitzahlenDateiMessage( final Locale locale ) 088 { 089 return ContainerFactory.getContainer(). 090 getMessage( this, "updatingBankleitzahlenDatei", locale, null ); 091 092 } 093 094// </editor-fold>//GEN-END:jdtausMessages 095 096 //----------------------------------------------------------------Messages-- 097}