org.brickred.socialauth
Class Position

java.lang.Object
  extended by org.brickred.socialauth.Position
All Implemented Interfaces:
Serializable

public class Position
extends Object
implements Serializable

Data bean for position information.

Author:
tarun.nagpal
See Also:
Serialized Form

Constructor Summary
Position()
           
 
Method Summary
 String getCompanyId()
          Retrieves the company id
 String getCompanyName()
          Retrieves the company name
 String getCompanyType()
          Retrieves the company type
 DateComponents getEndDate()
          Retrieves the end date of this position.
 String getIndustry()
          Retrieves the industry
 String getPositionId()
          Retrieves the position id
 DateComponents getStartDate()
          Retrieves the start date of this position
 String getTitle()
          Retrieves the position title
 boolean isCurrentCompany()
          Returns true if this company is the current company otherwise returns false
 void setCompanyId(String companyId)
          Updates the company id
 void setCompanyName(String companyName)
          Updates the company name
 void setCompanyType(String companyType)
          Updates the company type
 void setCurrentCompany(boolean currentcompany)
          Updates the current company status
 void setEndDate(DateComponents endDate)
          Updates the end date of this position
 void setIndustry(String industry)
          Updates the industry
 void setPositionId(String positionId)
          Updates the position id
 void setStartDate(DateComponents startDate)
          Updates the start date of this position
 void setTitle(String title)
          Updates the position title
 String toString()
          Retrieves the position as a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Position

public Position()
Method Detail

getPositionId

public String getPositionId()
Retrieves the position id

Returns:
String the position id

setPositionId

public void setPositionId(String positionId)
Updates the position id

Parameters:
positionId - the position id

getTitle

public String getTitle()
Retrieves the position title

Returns:
String, the position title

setTitle

public void setTitle(String title)
Updates the position title

Parameters:
title - the position title

getStartDate

public DateComponents getStartDate()
Retrieves the start date of this position

Returns:
DateComponents the start date of this position

setStartDate

public void setStartDate(DateComponents startDate)
Updates the start date of this position

Parameters:
startDate - the start date of this position

getEndDate

public DateComponents getEndDate()
Retrieves the end date of this position. It may be null if this position is the current position

Returns:
DateComponents the end date of this position

setEndDate

public void setEndDate(DateComponents endDate)
Updates the end date of this position

Parameters:
endDate - the end date of this position

isCurrentCompany

public boolean isCurrentCompany()
Returns true if this company is the current company otherwise returns false

Returns:
boolean true|false

setCurrentCompany

public void setCurrentCompany(boolean currentcompany)
Updates the current company status

Parameters:
currentcompany - the current company status

getCompanyId

public String getCompanyId()
Retrieves the company id

Returns:
String the company id

setCompanyId

public void setCompanyId(String companyId)
Updates the company id

Parameters:
companyId - the company id

getCompanyName

public String getCompanyName()
Retrieves the company name

Returns:
String the company name

setCompanyName

public void setCompanyName(String companyName)
Updates the company name

Parameters:
companyName - the company name

getCompanyType

public String getCompanyType()
Retrieves the company type

Returns:
String the company type

setCompanyType

public void setCompanyType(String companyType)
Updates the company type

Parameters:
companyType - the company type

getIndustry

public String getIndustry()
Retrieves the industry

Returns:
String the industry

setIndustry

public void setIndustry(String industry)
Updates the industry

Parameters:
industry -

toString

public String toString()
Retrieves the position as a string

Overrides:
toString in class Object
Returns:
String


Copyright © 2014. All rights reserved.