Class SocialProfile
- java.lang.Object
-
- lumis.service.socialnetworkservices.socialprofile.SocialProfile
-
public class SocialProfile extends Object
Entity for Social Profile.- Since:
- 6.1.0
- Version:
- $Revision: 13752 $ $Date: 2011-10-13 14:10:51 -0300 (Thu, 13 Oct 2011) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SocialProfile.Sex
Enum with the possible values for sex.
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
This entity's name.static String
NAMED_QUERY_FIND_BY_SERVICE_INSTANCE_AND_USER_ID
Named query for finding instances with the given service instance and user id.
-
Constructor Summary
Constructors Constructor Description SocialProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddress()
Gets address.String
getAreaCode()
Gets area code.Calendar
getBirthday()
Gets birthday.String
getDepartament()
Gets departmentString
getDescription()
Gets descriptionString
getEmail()
Gets emailString
getId()
Gets identifierString
getLocale()
Gets localeString
getName()
Gets nameString
getOtherContacts()
Gets others contactsString
getPhone()
Gets phoneString
getPhoto()
Gets photoString
getResume()
Returns the resume.SocialProfile.Sex
getSex()
Gets sex.String
getTitle()
Gets titleString
getUserId()
Sets lumis user identifiervoid
setAddress(String address)
Sets address.void
setAreaCode(String areaCode)
Sets areaCode.void
setBirthday(Calendar birthday)
Sets birthday instance.void
setDepartament(String departament)
Sets department.void
setDescription(String description)
Sets descriptionvoid
setEmail(String email)
Sets email.void
setLocale(String locale)
Sets locale.void
setName(String name)
Sets namevoid
setOtherContacts(String otherContacts)
Sets other contacts.void
setPhone(String phone)
Sets phone.void
setPhoto(String photo)
Sets photovoid
setResume(String resume)
Sets the resume.void
setSex(SocialProfile.Sex sex)
Sets sex.void
setTitle(String title)
Sets titlevoid
setUserId(String userId)
Sets lumis user identifier
-
-
-
Field Detail
-
NAMED_QUERY_FIND_BY_SERVICE_INSTANCE_AND_USER_ID
public static final String NAMED_QUERY_FIND_BY_SERVICE_INSTANCE_AND_USER_ID
Named query for finding instances with the given service instance and user id. Returns a list of Content.Expects the following parameters:
si
: the service instance identifier.userId
: the user identifier.
- Since:
- 6.1.0
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
This entity's name.- Since:
- 6.1.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
Gets identifier- Returns:
- identifier
- Since:
- 6.1.0
-
getUserId
public String getUserId()
Sets lumis user identifier- Returns:
- lumis user identifier
- Since:
- 6.1.0
-
setUserId
public void setUserId(String userId)
Sets lumis user identifier- Parameters:
userId
- lumis user identifier- Since:
- 6.1.0
-
getName
public String getName()
Gets name- Returns:
- name
- Since:
- 6.1.0
-
setName
public void setName(String name)
Sets name- Parameters:
name
-- Since:
- 6.1.0
-
getDescription
public String getDescription()
Gets description- Returns:
- description
- Since:
- 6.1.0
-
setDescription
public void setDescription(String description)
Sets description- Parameters:
description
-- Since:
- 6.1.0
-
getPhoto
public String getPhoto()
Gets photo- Returns:
- photo
- Since:
- 6.1.0
-
setPhoto
public void setPhoto(String photo)
Sets photo- Parameters:
photo
-- Since:
- 6.1.0
-
getTitle
public String getTitle()
Gets title- Returns:
- Since:
- 6.1.0
-
setTitle
public void setTitle(String title)
Sets title- Parameters:
title
-- Since:
- 6.1.0
-
getDepartament
public String getDepartament()
Gets department- Returns:
- Since:
- 6.1.0
-
setDepartament
public void setDepartament(String departament)
Sets department.- Parameters:
departament
- .- Since:
- 6.1.0
-
getLocale
public String getLocale()
Gets locale- Returns:
- locale
- Since:
- 6.1.0
-
setLocale
public void setLocale(String locale)
Sets locale.- Parameters:
areaCode
- locale.- Since:
- 6.1.0
-
getAreaCode
public String getAreaCode()
Gets area code.- Returns:
- area code.
- Since:
- 6.1.0
-
setAreaCode
public void setAreaCode(String areaCode)
Sets areaCode.- Parameters:
areaCode
- areaCode.- Since:
- 6.1.0
-
getPhone
public String getPhone()
Gets phone- Returns:
- phone
- Since:
- 6.1.0
-
setPhone
public void setPhone(String phone)
Sets phone.- Parameters:
phone
- phone.- Since:
- 6.1.0
-
getEmail
public String getEmail()
Gets email- Returns:
- Since:
- 6.1.0
-
setEmail
public void setEmail(String email)
Sets email.- Parameters:
email
- .- Since:
- 6.1.0
-
getAddress
public String getAddress()
Gets address.- Returns:
- address.
- Since:
- 6.1.0
-
setAddress
public void setAddress(String address)
Sets address.- Parameters:
address
- address.- Since:
- 6.1.0
-
getOtherContacts
public String getOtherContacts()
Gets others contacts- Returns:
- others contacts
- Since:
- 6.1.0
-
setOtherContacts
public void setOtherContacts(String otherContacts)
Sets other contacts.- Parameters:
otherContacts
- other contacts.- Since:
- 6.1.0
-
getBirthday
public Calendar getBirthday()
Gets birthday.- Returns:
- birthday.
- Since:
- 6.1.0
-
setBirthday
public void setBirthday(Calendar birthday)
Sets birthday instance.- Parameters:
birhday
- birthday.- Since:
- 6.1.0
-
getSex
public SocialProfile.Sex getSex()
Gets sex.- Returns:
- sex.
- Since:
- 6.1.0
-
setSex
public void setSex(SocialProfile.Sex sex)
Sets sex.- Parameters:
sex
- .- Since:
- 6.1.0
-
getResume
public String getResume()
Returns the resume.- Returns:
- the resume
- Since:
- 6.1.0
-
setResume
public void setResume(String resume)
Sets the resume.- Parameters:
resume
- the resume value to set.- Since:
- 6.1.0
-
-