Coverage Report - org.jaudiotagger.tag.lyrics3.FieldFrameBodyEAL
 
Classes in this File Line Coverage Branch Coverage Complexity
FieldFrameBodyEAL
0%
0/16
N/A
1
 
 1  
 /**
 2  
  *  @author : Paul Taylor
 3  
  *  @author : Eric Farng
 4  
  *
 5  
  *  Version @version:$Id: FieldFrameBodyEAL.java 832 2009-11-12 13:25:38Z paultaylor $
 6  
  *
 7  
  *  MusicTag Copyright (C)2003,2004
 8  
  *
 9  
  *  This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
 10  
  *  General Public  License as published by the Free Software Foundation; either version 2.1 of the License,
 11  
  *  or (at your option) any later version.
 12  
  *
 13  
  *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 14  
  *  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 15  
  *  See the GNU Lesser General Public License for more details.
 16  
  *
 17  
  *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
 18  
  *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
 19  
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 20  
  *
 21  
  * Description:
 22  
  */
 23  
 package org.jaudiotagger.tag.lyrics3;
 24  
 
 25  
 import org.jaudiotagger.tag.InvalidTagException;
 26  
 import org.jaudiotagger.tag.datatype.StringSizeTerminated;
 27  
 
 28  
 import java.nio.ByteBuffer;
 29  
 
 30  
 
 31  
 public class FieldFrameBodyEAL extends AbstractLyrics3v2FieldFrameBody
 32  
 {
 33  
     /**
 34  
      * Creates a new FieldBodyEAL datatype.
 35  
      */
 36  
     public FieldFrameBodyEAL()
 37  0
     {
 38  
         //        this.setObject("Album", "");
 39  0
     }
 40  
 
 41  
     public FieldFrameBodyEAL(FieldFrameBodyEAL body)
 42  
     {
 43  0
         super(body);
 44  0
     }
 45  
 
 46  
     /**
 47  
      * Creates a new FieldBodyEAL datatype.
 48  
      *
 49  
      * @param album
 50  
      */
 51  
     public FieldFrameBodyEAL(String album)
 52  0
     {
 53  0
         this.setObjectValue("Album", album);
 54  0
     }
 55  
 
 56  
     /**
 57  
      * Creates a new FieldBodyEAL datatype.
 58  
      *
 59  
      * @param byteBuffer
 60  
      * @throws InvalidTagException
 61  
      */
 62  
     public FieldFrameBodyEAL(ByteBuffer byteBuffer) throws InvalidTagException
 63  0
     {
 64  0
         read(byteBuffer);
 65  
 
 66  0
     }
 67  
 
 68  
     /**
 69  
      * @param album
 70  
      */
 71  
     public void setAlbum(String album)
 72  
     {
 73  0
         setObjectValue("Album", album);
 74  0
     }
 75  
 
 76  
     /**
 77  
      * @return
 78  
      */
 79  
     public String getAlbum()
 80  
     {
 81  0
         return (String) getObjectValue("Album");
 82  
     }
 83  
 
 84  
     /**
 85  
      * @return
 86  
      */
 87  
     public String getIdentifier()
 88  
     {
 89  0
         return "EAL";
 90  
     }
 91  
 
 92  
     /**
 93  
      *
 94  
      */
 95  
     protected void setupObjectList()
 96  
     {
 97  0
         objectList.add(new StringSizeTerminated("Album", this));
 98  0
     }
 99  
 }