|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fenalco.entities.Sector
public class Sector
| Field Summary | |
|---|---|
private int |
id
id del sector en la base de datos |
private java.lang.String |
name
Nombre del sector |
| Constructor Summary | |
|---|---|
Sector()
Constructor por defecto del la clase |
|
Sector(int id)
Constructor de la clase |
|
| Method Summary | |
|---|---|
boolean |
delete(Transaction transaction)
Operación para eliminar la sección de la base de datos |
int |
getId()
Getter for property id. |
java.lang.String |
getName()
Getter for property name. |
boolean |
loadData(int id)
Operación para guardar el objeto de base de datos |
boolean |
saveData(Transaction transaction)
Operación para guardar el objeto de base de datos |
void |
setId(int id)
Setter for property id. |
void |
setName(java.lang.String name)
Setter for property name. |
boolean |
update(Transaction transaction)
Operación para actualizar la sección en la base de datos |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int id
private java.lang.String name
| Constructor Detail |
|---|
public Sector()
public Sector(int id)
id - id del sector en la base de datos| Method Detail |
|---|
public boolean loadData(int id)
public boolean saveData(Transaction transaction)
public boolean update(Transaction transaction)
public boolean delete(Transaction transaction)
public int getId()
public void setId(int id)
id - New value of property id.public java.lang.String getName()
public void setName(java.lang.String name)
name - New value of property name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||