org.rometools.feed.module.base
Interface Person

All Superinterfaces:
GlobalInterface, Serializable
All Known Subinterfaces:
GoogleBase
All Known Implementing Classes:
GoogleBaseImpl

public interface Person
extends GlobalInterface

This is an interface for the GoogleBase plug in that exposes methods used for Person (personal ad, resume, profile) entry types.

Version:
$Revision: 1.2 $
Author:
Robert "kebernet" Cooper

Method Summary
 Integer getAge()
          Age of the individual.
 String getEducation()
          Education of the individual.
 String getEmployer()
          Individuals employer.
 String[] getEthnicities()
          Ethnicity of the individual in the People profiles bulk upload entry.
 GenderEnumeration getGender()
          Gender of an individual in a People profiles bulk upload.
 String[] getInterestedIn()
          Interest of a person being profiled.
 String getLocation()
          Location of a person.
 String getMaritalStatus()
          Marital status of an individual.
 String getOccupation()
          Occupation of an individual.
 String getSexualOrientation()
          Individual's sexual orientation.
 void setAge(Integer age)
          Age of the individual.
 void setEducation(String education)
          Education of the individual.
 void setEmployer(String employer)
          Individuals employer.
 void setEthnicities(String[] ethnicities)
          Ethnicity of the individual in the People profiles bulk upload entry.
 void setGender(GenderEnumeration gender)
          Gender of an individual in a People profiles bulk upload.
 void setInterestedIn(String[] interestedIn)
          Interest of a person being profiled.
 void setLocation(String location)
          Location of a person.
 void setMaritalStatus(String maritalStatus)
          Marital status of an individual.
 void setOccupation(String occupation)
          Occupation of an individual.
 void setSexualOrientation(String sexualOrientation)
          Individual's sexual orientation.
 
Methods inherited from interface org.rometools.feed.module.base.GlobalInterface
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
 

Method Detail

setAge

void setAge(Integer age)
Age of the individual.
age
Details Minimum age requirement for the event or the age of the individual in a People profiles bulk upload entry.
Example Acceptable:
< g:age>18</g:age>
Not acceptable:
< g:age>18 and over</g:age>
Attribute of Events, People profiles
Content type integer

Parameters:
age - Age of the individual.

getAge

Integer getAge()
Age of the individual.
age
Details Minimum age requirement for the event or the age of the individual in a People profiles bulk upload entry.
Example Acceptable:
< g:age>18</g:age>
Not acceptable:
< g:age>18 and over</g:age>
Attribute of Events, People profiles
Content type integer

Returns:
Age of the individual.

setEducation

void setEducation(String education)
Education of the individual.
education
Details Level of education required for an employment position.
Example <g:education>PhD</g:education>
Attribute of Jobs
Content type string

Parameters:
education - Education of the individual.

getEducation

String getEducation()
Education of the individual.
education
Details Level of education required for an employment position.
Example <g:education>PhD</g:education>
Attribute of Jobs
Content type string

Returns:
Education of the individual.

setEmployer

void setEmployer(String employer)
Individuals employer.
employer
Details Company providing employment.
Example <g:employer>Google, Inc</g:employer>
Attribute of Jobs
Content type string

Parameters:
employer - Individuals employer.

getEmployer

String getEmployer()
Individuals employer.
employer
Details Company providing employment.
Example <g:employer>Google, Inc</g:employer>
Attribute of Jobs
Content type string

Returns:
Individuals employer.

setEthnicities

void setEthnicities(String[] ethnicities)
Ethnicity of the individual in the People profiles bulk upload entry.
ethnicity
Details Ethnicity of the individual in the People profiles bulk upload entry.
Example <g:ethnicity>Latino</g:ethnicity>
Attribute of People profiles
Content type string

Parameters:
ethnicities - Ethnicity of the individual in the People profiles bulk upload entry.

getEthnicities

String[] getEthnicities()
Ethnicity of the individual in the People profiles bulk upload entry.
ethnicity
Details Ethnicity of the individual in the People profiles bulk upload entry.
Example <g:ethnicity>Latino</g:ethnicity>
Attribute of People profiles
Content type string

Returns:
Ethnicity of the individual in the People profiles bulk upload entry.

setGender

void setGender(GenderEnumeration gender)
Gender of an individual in a People profiles bulk upload.
gender
Details Gender of an individual in a People profiles bulk upload item. Acceptable values are �Male�, �M�, �Female�, or �F�.
Example <gender>Female</gender>
Attribute of People profiles
Content type genderEnumeration

Parameters:
gender - Gender of an individual in a People profiles bulk upload.

getGender

GenderEnumeration getGender()
Gender of an individual in a People profiles bulk upload.
gender
Details Gender of an individual in a People profiles bulk upload item. Acceptable values are �Male�, �M�, �Female�, or �F�.
Example <gender>Female</gender>
Attribute of People profiles
Content type genderEnumeration

Returns:
Gender of an individual in a People profiles bulk upload.

setInterestedIn

void setInterestedIn(String[] interestedIn)
Interest of a person being profiled.
interested_in
Details Interest of a person being profiled.
Example <g:interested_in>Long walks on the beach.</g:interested_in>
Attribute of People profiles
Content type string

Parameters:
interestedIn - Interest of a person being profiled.

getInterestedIn

String[] getInterestedIn()
Interest of a person being profiled.
interested_in
Details Interest of a person being profiled.
Example <g:interested_in>Long walks on the beach.</g:interested_in>
Attribute of People profiles
Content type string

Returns:
Interest of a person being profiled.

setLocation

void setLocation(String location)
Location of a person.
location
Details Location of a property. Should include street, city, state, postal code, and country, in that order.
Example Acceptable:
<g:location>123 Main St, Anytown, CA, 12345, USA</g:location>
Not acceptable:
<g:location>123 Main St,, CA, 12345, USA</g:location>
<g:location> Anytown, CA, 12345, USA</g:location>
Attribute of Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted Ads.
Content type locationType

Parameters:
location - Location of a person.

getLocation

String getLocation()
Location of a person.
location
Details Location of a property. Should include street, city, state, postal code, and country, in that order.
Example Acceptable:
<g:location>123 Main St, Anytown, CA, 12345, USA</g:location>
Not acceptable:
<g:location>123 Main St,, CA, 12345, USA</g:location>
<g:location> Anytown, CA, 12345, USA</g:location>
Attribute of Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted Ads.
Content type locationType

Returns:
Location of a person.

setMaritalStatus

void setMaritalStatus(String maritalStatus)
Marital status of an individual.
marital_status
Details Marital status of an individual in a People profiles bulk upload entry. For example -single, divorced, separated, widowed, married, and �in relationship.�
Example <g:marital_status>single</g:marital_status>
Attribute of People profiles
Content type string

Parameters:
maritalStatus - Marital status of an individual.

getMaritalStatus

String getMaritalStatus()
Marital status of an individual.
marital_status
Details Marital status of an individual in a People profiles bulk upload entry. For example -single, divorced, separated, widowed, married, and �in relationship.�
Example <g:marital_status>single</g:marital_status>
Attribute of People profiles
Content type string

Returns:
Marital status of an individual.

setOccupation

void setOccupation(String occupation)
Occupation of an individual.
occupation
Details Industry the individual in a People profiles bulk upload is employed in.
Example <g:occupation>Sales</g:occupation>
Attribute of People profiles
Content type string

Parameters:
occupation - Occupation of an individual.

getOccupation

String getOccupation()
Occupation of an individual.
occupation
Details Industry the individual in a People profiles bulk upload is employed in.
Example <g:occupation>Sales</g:occupation>
Attribute of People profiles
Content type string

Returns:
Occupation of an individual.

setSexualOrientation

void setSexualOrientation(String sexualOrientation)
Individual's sexual orientation.
sexual_orientation
Details Sexual orientation of an individual in a People profiles information type..
Example <g:sexual_orientation>straight</g:sexual_orientation>
Attribute of Personal
Content type string

Parameters:
sexualOrientation - Individual's sexual orientation.

getSexualOrientation

String getSexualOrientation()
Individual's sexual orientation.
sexual_orientation
Details Sexual orientation of an individual in a People profiles information type..
Example <g:sexual_orientation>straight</g:sexual_orientation>
Attribute of Personal
Content type string

Returns:
Individual's sexual orientation.


Copyright © 2013 ROME Project. All Rights Reserved.