org.mentawai.csc
Class City

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

public class City
extends java.lang.Object


Constructor Summary
City(int id, java.lang.String name, int stateId, boolean isCapital)
           
 
Method Summary
static City getById(int id)
           
 int getId()
           
 java.lang.String getName()
           
 int getStateId()
           
 boolean isCapital()
           
 java.lang.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,
            java.lang.String name,
            int stateId,
            boolean isCapital)
Method Detail

getId

public int getId()

isCapital

public boolean isCapital()

getName

public java.lang.String getName()

getStateId

public int getStateId()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getById

public static City getById(int id)


Copyright © 2005 Mentawai Team. All Rights Reserved.