public class Movie extends Item
Modifier and Type | Field and Description |
---|---|
java.sql.Connection |
conn |
java.sql.Statement |
stat |
Modifier and Type | Method and Description |
---|---|
void |
delFromDB() |
void |
editInDB() |
java.lang.String |
getDirector() |
static java.lang.Object[][] |
insertRowToTable(java.lang.Object[][] tab,
int r,
Movie m) |
void |
insertToDB() |
getCategory, getId, getName, getYear, setCategory, setId, setName, setYear
public static java.lang.Object[][] insertRowToTable(java.lang.Object[][] tab, int r, Movie m)
public void insertToDB() throws java.sql.SQLException
insertToDB
in class Item
java.sql.SQLException
public void delFromDB() throws java.sql.SQLException
public void editInDB() throws java.sql.SQLException
public java.lang.String getDirector()