Lizzy v1.1.1

christophedelory.playlist.b4s
Class Entry

java.lang.Object
  extended by christophedelory.playlist.b4s.Entry

public class Entry
extends Object

A B4S playlist entry.

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Entry()
           
 
Method Summary
 Integer getLength()
          Returns the length of this entry, in bytes.
 String getName()
          Returns the name of this entry.
 String getPlaystring()
          Returns the play string attached to this entry.
 void setLength(int length)
          Initializes the length of this entry, in bytes.
 void setLength(Integer length)
          Initializes the length of this entry, in bytes.
 void setName(String name)
          Initializes the name of this entry.
 void setPlaystring(String playstring)
          Initializes the play string attached to this entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entry

public Entry()
Method Detail

getPlaystring

public String getPlaystring()
Returns the play string attached to this entry.

Returns:
a play string. May be null if not yet initialized.
See Also:
setPlaystring(java.lang.String)

setPlaystring

public void setPlaystring(String playstring)
Initializes the play string attached to this entry.

Parameters:
playstring - a play string. Shall not be null.
Throws:
NullPointerException - if playstring is null.
See Also:
getPlaystring()

getName

public String getName()
Returns the name of this entry.

Returns:
a name. May be null.
See Also:
setName(java.lang.String)

setName

public void setName(String name)
Initializes the name of this entry.

Parameters:
name - a name. May be null.
See Also:
getName()

getLength

public Integer getLength()
Returns the length of this entry, in bytes.

Returns:
a length. May be null.
See Also:
setLength(java.lang.Integer)

setLength

public void setLength(Integer length)
Initializes the length of this entry, in bytes.

Parameters:
length - a length. May be null.
Throws:
IllegalArgumentException - if the specified length is not positive.
See Also:
getLength(), setLength(int)

setLength

public void setLength(int length)
Initializes the length of this entry, in bytes.

Parameters:
length - a length. Shall not be strictly negative.
Throws:
IllegalArgumentException - if the specified length is not positive.
See Also:
getLength(), setLength(Integer)

Š 2008-2009 Christophe Delory

Copyright Š 2008-2009 Christophe Delory. All Rights Reserved.