Skip to content

Instantly share code, notes, and snippets.

@jreyes
Created January 3, 2012 05:04
Show Gist options
  • Save jreyes/1553572 to your computer and use it in GitHub Desktop.
Save jreyes/1553572 to your computer and use it in GitHub Desktop.
REST Server not annotated
public class ElementoQuimico
{
// ------------------------------ FIELDS ------------------------------
private String nombre;
private int numeroAtomico;
private String simbolo;
// --------------------- GETTER / SETTER METHODS ---------------------
public ElementoQuimico()
{
}
public String getNombre()
{
return nombre;
}
public void setNombre( String nombre )
{
this.nombre = nombre;
}
public int getNumeroAtomico()
{
return numeroAtomico;
}
public void setNumeroAtomico( int numeroAtomico )
{
this.numeroAtomico = numeroAtomico;
}
public String getSimbolo()
{
return simbolo;
}
public void setSimbolo( String simbolo )
{
this.simbolo = simbolo;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment