package ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.model;

import java.util.List;
import java.util.UUID;

public class Band {
  private String id;
  private String name;
  private Genre genere;
  
  
  /**
   * this is a constructor for an empty band
   */
  public Band(){
  }
 
  /**
   * this create a initial band with some params
   * @param a_name represent the name of the band
   * @param a_genere is the genere of the band
   */
  public Band(String a_name, Genre a_genere){
    id = UUID.randomUUID().toString();
    name = a_name;
    genere = a_genere;
  }

  /**
   * this method return the id of the band
   * @return id (String)
   */
  public String getId(){
    return id;
  }

  /**
   * return a string with the name of the band
   * @return name (String)
   */
  public String getName(){
    return name;
  }
  

  /**
   * return the genre of the band
   * @return Genre (Genere) 
   */
  public Genre getGenere(){
    return genere;
  }
    
  /**
   * this method set a different id for the band
   * @param an_id (String)
   */
  public void setId(String an_id){
    id = an_id;
  }

  /**
   * this method set a different name to the band
   * @param a_name (String)
   */
  public void setName(String a_name){
    name = a_name;
  }
  

  /**
   * this method set the principal genre of the band
   * @param a_genere (Genere)
   */
  public void setGenere(Genre a_genere){
    genere = a_genere;
  } 
}
@@ -185,25 +185,24 @@
 te Genre gen
-e
 re;%0A  %0A  %0A  
@@ -401,17 +401,16 @@
 am a_gen
-e
 re is th
@@ -414,17 +414,16 @@
  the gen
-e
 re of th
@@ -467,33 +467,32 @@
 ame, Genre a_gen
-e
 re)%7B%0A    id = UU
@@ -537,33 +537,32 @@
  a_name;%0A    gen
-e
 re = a_genere;%0A 
@@ -551,25 +551,24 @@
 enre = a_gen
-e
 re;%0A  %7D%0A%0A  /
@@ -944,17 +944,16 @@
 turn gen
-e
 re;%0A  %7D%0A
@@ -1332,17 +1332,16 @@
 am a_gen
-e
 re (Gene
@@ -1385,17 +1385,16 @@
 re a_gen
-e
 re)%7B%0A   
@@ -1397,17 +1397,16 @@
 %0A    gen
-e
 re = a_g
@@ -1407,17 +1407,16 @@
  = a_gen
-e
 re;%0A  %7D 

change the attribute name of genre to genre