public ArrayList listarArtistas() { ArrayList a = new ArrayList(); ARTISTCAD c = new ARTISTCAD(); a = c.ListarArt(); return(a); }
public void borrar() { ARTISTCAD m_cc = null; try { m_cc = new ARTISTCAD(); } catch (Exception e) { } //m_cc.DELETE(this.cod); }
//private List<GroupEN> groups; /* public ArtistEN(int cod = 0, String name = "", String nationality = "", String birthDate = "", int fans = 0, String email = "") * { * * this.cod = cod; * this.name = name; * this.nationality = nationality; * this.birthDate = birthDate; * this.fans = fans; * this.email = email; * // this.groups = groups; * }*/ public void insert() { ARTISTCAD m_cc = null; try { m_cc = new ARTISTCAD(); } catch (Exception e) { } // m_cc.INSERT(this); }