org.springframework.ldap.samples.person.domain
Class Country

java.lang.Object
  extended by org.springframework.ldap.samples.person.domain.Country

public class Country
extends Object

Simple class representing a country.

Author:
Ulrik Sandberg

Constructor Summary
Country()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCode()
           
 String getName()
           
 int hashCode()
           
 void setCode(String code)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Country

public Country()
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getCode

public String getCode()

setCode

public void setCode(String code)

getName

public String getName()

setName

public void setName(String name)


Copyright © 2006-2011 Spring Framework. All Rights Reserved.