/*
 * Copyright 2012, Red Hat, Inc. and individual contributors
 * as indicated by the @author tags. See the copyright.txt file in the
 * distribution for a full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

package org.zanata.common;

import java.util.List;


/**
 * @author Sean Flanigan <a href="mailto:sflaniga@redhat.com">sflaniga@redhat.com</a>
 *
 */
public interface HasContents
{

   public static final int MAX_PLURALS = 6;

   /**
    * Returns the string contents associated with this TextFlow/TextFlowTarget.
    * If there are multiple elements, they represent the different plural forms of this message.
    * If there is only one element, it is a non-plural message.
    * @return
    */
   public List<String> getContents();

   public void setContents(String... contents);

   public void setContents(List<String> contents);

   /**
    * @deprecated As of release 1.6, replaced by {@link #getContents()}
    * @return
    */
   @Deprecated
   public String getContent();

   /**
    * @deprecated As of release 1.6, replaced by {@link #setContents()}
    * @return
    */
   @Deprecated
   public void setContent(String content);
}

@@ -1612,311 +1612,6 @@
 );%0A%0A
-   /**%0A    * @deprecated As of release 1.6, replaced by %7B@link #getContents()%7D%0A    * @return%0A    */%0A   @Deprecated%0A   public String getContent();%0A%0A   /**%0A    * @deprecated As of release 1.6, replaced by %7B@link #setContents()%7D%0A    * @return%0A    */%0A   @Deprecated%0A   public void setContent(String content);%0A
 %7D%0A

Remove deprecated methods from HasContents interface