Lizzy v1.1.1

christophedelory.playlist.wpl
Class SmartPlaylist

java.lang.Object
  extended by christophedelory.playlist.wpl.SmartPlaylist

public class SmartPlaylist
extends Object

Contains the dynamically defined portion of a playlist. A smartPlaylist element typically contains a querySet element and can also contain a filter element. The querySet element specifies which media items should be selected from the library, without regard for the size of the result set. The filter element, on the other hand, limits the size of the result set.
Windows Media Player 9 Series or later.

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
SmartPlaylist()
           
 
Method Summary
 Filter getFilter()
          Returns the filter, if any.
 QuerySet getQuerySet()
          Returns the query set.
 String getVersion()
          Returns the decimal number representing the version number of the smart playlist schema.
 void setFilter(Filter filter)
          Initializes the filter.
 void setQuerySet(QuerySet querySet)
          Initializes the query set.
 void setVersion(String version)
          Initializes the decimal number representing the version number of the smart playlist schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartPlaylist

public SmartPlaylist()
Method Detail

getVersion

public String getVersion()
Returns the decimal number representing the version number of the smart playlist schema. Set to "1.0.0.0".

Returns:
a version string. Shall not be null.
See Also:
setVersion(java.lang.String)

setVersion

public void setVersion(String version)
Initializes the decimal number representing the version number of the smart playlist schema.

Parameters:
version - a version string. Shall not be null.
Throws:
NullPointerException - if version is null.
See Also:
getVersion()

getQuerySet

public QuerySet getQuerySet()
Returns the query set.

Returns:
a query set element. May be null if not yet initialized.
See Also:
setQuerySet(christophedelory.playlist.wpl.QuerySet)

setQuerySet

public void setQuerySet(QuerySet querySet)
Initializes the query set.

Parameters:
querySet - a query set element. Shall not be null.
Throws:
NullPointerException - if querySet is null.
See Also:
getQuerySet()

getFilter

public Filter getFilter()
Returns the filter, if any.

Returns:
a filter element. May be null.
See Also:
setFilter(christophedelory.playlist.wpl.Filter)

setFilter

public void setFilter(Filter filter)
Initializes the filter.

Parameters:
filter - a filter element. May be null.
See Also:
getFilter()

© 2008-2009 Christophe Delory

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