com.webstersmalley.mediacollection.model
Class SimpleMediaCollectionBean
java.lang.Object
com.webstersmalley.mediacollection.model.SimpleMediaCollectionBean
public class SimpleMediaCollectionBean
- extends java.lang.Object
|
Field Summary |
static java.lang.String[] |
columns
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
columns
public static final java.lang.String[] columns
SimpleMediaCollectionBean
public SimpleMediaCollectionBean()
getArtist
public java.lang.String getArtist()
- Returns:
- Returns the artist.
setArtist
public void setArtist(java.lang.String artist)
- Parameters:
artist - The artist to set.
getCollection
public java.lang.String getCollection()
- Returns:
- Returns the collection.
setCollection
public void setCollection(java.lang.String collection)
- Parameters:
collection - The collection to set.
getFormat
public java.lang.String getFormat()
- Returns:
- Returns the format.
setFormat
public void setFormat(java.lang.String format)
- Parameters:
format - The format to set.
getName
public java.lang.String getName()
- Returns:
- Returns the name.
setName
public void setName(java.lang.String name)
- Parameters:
name - The name to set.
getColumn
public java.lang.String getColumn(int col)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
persist
public void persist(DatabaseConnection connection)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createFromResultSet
public static SimpleMediaCollectionBean createFromResultSet(java.sql.ResultSet rs)
throws java.sql.SQLException
- Parameters:
rs -
- Returns:
-
- Throws:
java.sql.SQLException
Copyright © 2005-2007 Webster Smalley. All Rights Reserved.