|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.bejug.javacareers.jobs.model.AbstractPersistableObject
org.bejug.javacareers.jobs.model.Country
| Constructor Summary | |
Country()
constructor |
|
Country(java.lang.String country)
constructor |
|
| Method Summary | |
void |
add(Region newregion)
adds the region to the country and the country to the region. |
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getName()
|
java.util.Set |
getRegion()
|
int |
hashCode()
|
void |
setName(java.lang.String name)
|
void |
setRegion(java.util.Set region)
|
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 |
public Country(java.lang.String country)
country - namepublic Country()
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public java.util.Set getRegion()
public void setRegion(java.util.Set region)
region - The region to set.public void add(Region newregion)
newregion - the region to add.public boolean equals(java.lang.Object o)
equals in class AbstractPersistableObjectpublic int hashCode()
hashCode in class AbstractPersistableObjectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparablecompareTo in class AbstractPersistableObjectpublic java.lang.String toString()
toString in class AbstractPersistableObject
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||