org.appfuse.model
Class Education

java.lang.Object
  extended byorg.appfuse.model.BaseObject
      extended byorg.appfuse.model.Education
All Implemented Interfaces:
Serializable

public class Education
extends BaseObject

Education class This class is used to represent a User's Education on their resume

View Source

Version:
$Revision: 1.1 $ $Date: 2004/03/31 13:04:16 $
Author:
Matt Raible
See Also:
Serialized Form
Class:
table="education"
Form Name:
include-all="true" extends="BaseForm"

Constructor Summary
Education()
           
 
Method Summary
 String getComments()
           
 Date getCompletionDate()
           
 String getCountry()
           
 Degree getDegree()
           
 Long getDegreeId()
          Returns the degreeId.
 Long getId()
          Returns the id.
 String getLocation()
          Returns the location.
 String getName()
          Returns the name.
 Long getResumeId()
          Returns the parent resume.
 String getState()
          Returns the state.
 void setComments(String comments)
           
 void setCompletionDate(Date completionDate)
           
 void setCountry(String country)
           
 void setDegree(Degree degree)
           
 void setDegreeId(Long degreeId)
          Sets the degreeId.
 void setId(Long id)
          Sets the id.
 void setLocation(String location)
          Sets the location.
 void setName(String name)
          Sets the name.
 void setResumeId(Long resumeId)
          Sets the resumeId.
 void setState(String state)
          Sets the state.
 
Methods inherited from class org.appfuse.model.BaseObject
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Education

public Education()
Method Detail

getId

public Long getId()
Returns the id.

Returns:
Long
Id:
column="id" generator-class="increment" unsaved-value="null"

getName

public String getName()
Returns the name.

Returns:
String
Property:
column="name" not-null="true"

getLocation

public String getLocation()
Returns the location.

Returns:
String
Property:
column="location" not-null="true"

getResumeId

public Long getResumeId()
Returns the parent resume.

Returns:
String resumeId
Property:
column="resume_id" not-null="true"

getState

public String getState()
Returns the state.

Returns:
String
Property:
column="state" not-null="true"

getCountry

public String getCountry()
Returns:
Returns the country.
Property:
column="country" not-null="true"

getCompletionDate

public Date getCompletionDate()
Returns:
Returns the completionDate.
Property:
column="completion_date"

getComments

public String getComments()
Returns:
Returns the comments.
Property:
column="comments" length="2000"

setLocation

public void setLocation(String location)
Sets the location.

Parameters:
location - The location to set

setId

public void setId(Long id)
Sets the id.

Parameters:
id - The id to set

setName

public void setName(String name)
Sets the name.

Parameters:
name - The name to set

setResumeId

public void setResumeId(Long resumeId)
Sets the resumeId.

Parameters:
resumeId - The resumeId to set

getDegreeId

public Long getDegreeId()
Returns the degreeId.

Returns:
Long
Property:
column="degree_id"

setDegreeId

public void setDegreeId(Long degreeId)
Sets the degreeId.

Parameters:
degreeId - The degreeId to set

setState

public void setState(String state)
Sets the state.

Parameters:
state - The state to set

setComments

public void setComments(String comments)
Parameters:
comments - The comments to set.

setCompletionDate

public void setCompletionDate(Date completionDate)
Parameters:
completionDate - The completionDate to set.

setCountry

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

getDegree

public Degree getDegree()
Returns:
Returns the degree. Returns the degree for this object

setDegree

public void setDegree(Degree degree)
Parameters:
degree - The degree to set.


Copyright © 2002-2004