com.webstersmalley.mediacollection.model
Class SimpleMediaCollectionBean

java.lang.Object
  extended by com.webstersmalley.mediacollection.model.SimpleMediaCollectionBean

public class SimpleMediaCollectionBean
extends java.lang.Object


Field Summary
static java.lang.String[] columns
           
 
Constructor Summary
SimpleMediaCollectionBean()
           
 
Method Summary
static SimpleMediaCollectionBean createFromResultSet(java.sql.ResultSet rs)
           
 java.lang.String getArtist()
           
 java.lang.String getCollection()
           
 java.lang.String getColumn(int col)
           
 java.lang.String getFormat()
           
 java.lang.String getName()
           
 void persist(DatabaseConnection connection)
           
 void setArtist(java.lang.String artist)
           
 void setCollection(java.lang.String collection)
           
 void setFormat(java.lang.String format)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

columns

public static final java.lang.String[] columns
Constructor Detail

SimpleMediaCollectionBean

public SimpleMediaCollectionBean()
Method Detail

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.