org.mentawai.csc
Class State

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

public class State
extends Object


Constructor Summary
State(int id, String name, int countryId)
           
 
Method Summary
static State getById(int id)
           
 List<City> getCities()
           
 int getCountryId()
           
 int getId()
           
 String getName()
           
 void setId(int id)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

State

public State(int id,
             String name,
             int countryId)
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()

setName

public void setName(String name)

getCountryId

public int getCountryId()

toString

public String toString()
Overrides:
toString in class Object

getCities

public List<City> getCities()

getById

public static State getById(int id)


Copyright © 2013. All Rights Reserved.