org.bejug.javacareers.jobs.model
Class Region

java.lang.Object
  extended byorg.bejug.javacareers.jobs.model.AbstractPersistableObject
      extended byorg.bejug.javacareers.jobs.model.Region
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class Region
extends AbstractPersistableObject

Version:
$Revision: 1.3 $ - $Date: 2005/12/20 15:36:45 $
Author:
Sven Schauwvliege (Last modified by $Author: shally $)
See Also:
Serialized Form

Constructor Summary
Region()
          constructor.
Region(java.lang.String region)
          constructor
 
Method Summary
 int compareTo(java.lang.Object o)
          
 boolean equals(java.lang.Object o)
          
 Country getCountry()
           
 java.lang.String getName()
           
 int hashCode()
          
 void setCountry(Country country)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
          
 
Methods inherited from class org.bejug.javacareers.jobs.model.AbstractPersistableObject
getCreationDate, getId, getModificationDate, getVersion, isEditable, isNew, setCreationDate, setEditable, setId, setModificationDate, setVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Region

public Region(java.lang.String region)
constructor

Parameters:
region - name

Region

public Region()
constructor.

Method Detail

getCountry

public Country getCountry()
Returns:
Returns the country.

setCountry

public void setCountry(Country country)
Parameters:
country - The country to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

compareTo

public int compareTo(java.lang.Object o)

Specified by:
compareTo in interface java.lang.Comparable
Overrides:
compareTo in class AbstractPersistableObject

equals

public boolean equals(java.lang.Object o)

Overrides:
equals in class AbstractPersistableObject

hashCode

public int hashCode()

Overrides:
hashCode in class AbstractPersistableObject

toString

public java.lang.String toString()

Overrides:
toString in class AbstractPersistableObject


Copyright © 2005-2006 BeJUG. All Rights Reserved.