com.webhiker.dreambox.api.bouquet
Class Channel

java.lang.Object
  extended by com.webhiker.dreambox.api.bouquet.Channel

public class Channel
extends java.lang.Object

The Class Channel repesents information about a single channel within the configured bouquets for the Dreambox.


Constructor Summary
Channel(java.lang.String name, java.lang.String ref)
          Instantiates a new channel.
 
Method Summary
 java.lang.String getName()
          Gets the name.
 java.lang.String getRef()
          Gets the ref.
static java.util.List<Channel> setChannels(java.lang.String body, int index)
          Sets the channels.
 void setName(java.lang.String name)
          Sets the name.
 void setRef(java.lang.String ref)
          Sets the ref.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Channel

public Channel(java.lang.String name,
               java.lang.String ref)
Instantiates a new channel.

Parameters:
name - the name
ref - the ref
Method Detail

setChannels

public static java.util.List<Channel> setChannels(java.lang.String body,
                                                  int index)
Sets the channels.

Parameters:
body - the body
index - the index
Returns:
the list< channel>

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getRef

public java.lang.String getRef()
Gets the ref.

Returns:
the ref

setRef

public void setRef(java.lang.String ref)
Sets the ref.

Parameters:
ref - the new ref

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object