|
|||||||||||
| 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.Organisation
Models an organisation. An organisation can be an educational institution, the government or a private company. The distinction is made through the member OrganisationType.
| Constructor Summary | |
Organisation()
default constructor |
|
Organisation(java.lang.String name,
java.lang.String description)
constructor. |
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
Address |
getAddress()
Retrieves the organisation address. |
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
OrganisationType |
getOrganisationType()
Returns the type of the organisation. |
int |
hashCode()
|
void |
setAddress(Address address)
Sets the address of the organisation. |
void |
setDescription(java.lang.String description)
sets the description. |
void |
setName(java.lang.String name)
sets the name of the organisation. |
void |
setOrganisationType(OrganisationType organisationType)
Sets the organsation type. |
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 Organisation()
public Organisation(java.lang.String name,
java.lang.String description)
name - the name of the organisation.description - the description of the organisation.| Method Detail |
public Address getAddress()
public void setAddress(Address address)
address - The organisation address.public OrganisationType getOrganisationType()
public void setOrganisationType(OrganisationType organisationType)
organisationType - The organisation type.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description.public java.lang.String getName()
public void setName(java.lang.String name)
name - the name.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparablecompareTo in class AbstractPersistableObjectpublic boolean equals(java.lang.Object o)
equals in class AbstractPersistableObjectpublic int hashCode()
hashCode 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 | ||||||||||