org.mentawai.csc
Class City

java.lang.Object
  extended by org.mentawai.csc.City

public class City
extends Object


Constructor Summary
City(int id, String name, int stateId, boolean isCapital)
           
 
Method Summary
static City getById(int id)
           
 int getId()
           
 String getName()
           
 int getStateId()
           
 boolean isCapital()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

City

public City(int id,
            String name,
            int stateId,
            boolean isCapital)
Method Detail

getId

public int getId()

isCapital

public boolean isCapital()

getName

public String getName()

getStateId

public int getStateId()

toString

public String toString()
Overrides:
toString in class Object

getById

public static City getById(int id)


Copyright © 2013. All Rights Reserved.