|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fenalco.entities.Neighbourhood
public class Neighbourhood
| Field Summary | |
|---|---|
private int |
id
id del barrio en la base de datos |
private java.lang.String |
name
Nombre del barrio |
private int |
zone
id de la zona |
| Constructor Summary | |
|---|---|
Neighbourhood()
Constructor por defecto del la clase |
|
Neighbourhood(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. |
int |
getZone()
Getter for property zone. |
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. |
void |
setZone(int zone)
Setter for property zone. |
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
private int zone
| Constructor Detail |
|---|
public Neighbourhood()
public Neighbourhood(int id)
id - id del barrio 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.public int getZone()
public void setZone(int zone)
zone - New value of property zone.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||