info.joseluismartin.model
Class City

java.lang.Object
  extended by info.joseluismartin.model.City

public class City
extends Object

A City

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Constructor Summary
City()
           
 
Method Summary
 Long getId()
           
 String getName()
           
 Long getPopulation()
           
 void setId(Long id)
           
 void setName(String name)
           
 void setPopulation(Long population)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

City

public City()
Method Detail

getId

public Long getId()
Returns:
the id

setId

public void setId(Long id)
Parameters:
id - the id to set

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getPopulation

public Long getPopulation()
Returns:
the population

setPopulation

public void setPopulation(Long population)
Parameters:
population - the population to set


Copyright © 2012 JDAL. All Rights Reserved.