Class SocialProfile
- java.lang.Object
-
- lumis.service.socialnetworkservices.socialprofile.SocialProfile
-
public class SocialProfile extends java.lang.Object
Entity for Social Profile.- Since:
- 6.1.0
- Version:
- $Revision$ $Date$
-
-
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 java.lang.String
ENTITY_NAME
This entity's name.static java.lang.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 java.lang.String
getAddress()
Gets address.java.lang.String
getAreaCode()
Gets area code.java.util.Calendar
getBirthday()
Gets birthday.java.lang.String
getDepartament()
Gets departmentjava.lang.String
getDescription()
Gets descriptionjava.lang.String
getEmail()
Gets emailjava.lang.String
getId()
Gets identifierjava.lang.String
getLocale()
Gets localejava.lang.String
getName()
Gets namejava.lang.String
getOtherContacts()
Gets others contactsjava.lang.String
getPhone()
Gets phonejava.lang.String
getPhoto()
Gets photojava.lang.String
getResume()
Returns the resume.SocialProfile.Sex
getSex()
Gets sex.java.lang.String
getTitle()
Gets titlejava.lang.String
getUserId()
Sets lumis user identifiervoid
setAddress(java.lang.String address)
Sets address.void
setAreaCode(java.lang.String areaCode)
Sets areaCode.void
setBirthday(java.util.Calendar birthday)
Sets birthday instance.void
setDepartament(java.lang.String departament)
Sets department.void
setDescription(java.lang.String description)
Sets descriptionvoid
setEmail(java.lang.String email)
Sets email.void
setLocale(java.lang.String locale)
Sets locale.void
setName(java.lang.String name)
Sets namevoid
setOtherContacts(java.lang.String otherContacts)
Sets other contacts.void
setPhone(java.lang.String phone)
Sets phone.void
setPhoto(java.lang.String photo)
Sets photovoid
setResume(java.lang.String resume)
Sets the resume.void
setSex(SocialProfile.Sex sex)
Sets sex.void
setTitle(java.lang.String title)
Sets titlevoid
setUserId(java.lang.String userId)
Sets lumis user identifier
-
-
-
Field Detail
-
NAMED_QUERY_FIND_BY_SERVICE_INSTANCE_AND_USER_ID
public static final java.lang.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 java.lang.String ENTITY_NAME
This entity's name.- Since:
- 6.1.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets identifier- Returns:
- identifier
- Since:
- 6.1.0
-
getUserId
public java.lang.String getUserId()
Sets lumis user identifier- Returns:
- lumis user identifier
- Since:
- 6.1.0
-
setUserId
public void setUserId(java.lang.String userId)
Sets lumis user identifier- Parameters:
userId
- lumis user identifier- Since:
- 6.1.0
-
getName
public java.lang.String getName()
Gets name- Returns:
- name
- Since:
- 6.1.0
-
setName
public void setName(java.lang.String name)
Sets name- Parameters:
name
-- Since:
- 6.1.0
-
getDescription
public java.lang.String getDescription()
Gets description- Returns:
- description
- Since:
- 6.1.0
-
setDescription
public void setDescription(java.lang.String description)
Sets description- Parameters:
description
-- Since:
- 6.1.0
-
getPhoto
public java.lang.String getPhoto()
Gets photo- Returns:
- photo
- Since:
- 6.1.0
-
setPhoto
public void setPhoto(java.lang.String photo)
Sets photo- Parameters:
photo
-- Since:
- 6.1.0
-
getTitle
public java.lang.String getTitle()
Gets title- Returns:
- Since:
- 6.1.0
-
setTitle
public void setTitle(java.lang.String title)
Sets title- Parameters:
title
-- Since:
- 6.1.0
-
getDepartament
public java.lang.String getDepartament()
Gets department- Returns:
- Since:
- 6.1.0
-
setDepartament
public void setDepartament(java.lang.String departament)
Sets department.- Parameters:
departament
- .- Since:
- 6.1.0
-
getLocale
public java.lang.String getLocale()
Gets locale- Returns:
- locale
- Since:
- 6.1.0
-
setLocale
public void setLocale(java.lang.String locale)
Sets locale.- Parameters:
areaCode
- locale.- Since:
- 6.1.0
-
getAreaCode
public java.lang.String getAreaCode()
Gets area code.- Returns:
- area code.
- Since:
- 6.1.0
-
setAreaCode
public void setAreaCode(java.lang.String areaCode)
Sets areaCode.- Parameters:
areaCode
- areaCode.- Since:
- 6.1.0
-
getPhone
public java.lang.String getPhone()
Gets phone- Returns:
- phone
- Since:
- 6.1.0
-
setPhone
public void setPhone(java.lang.String phone)
Sets phone.- Parameters:
phone
- phone.- Since:
- 6.1.0
-
getEmail
public java.lang.String getEmail()
Gets email- Returns:
- Since:
- 6.1.0
-
setEmail
public void setEmail(java.lang.String email)
Sets email.- Parameters:
email
- .- Since:
- 6.1.0
-
getAddress
public java.lang.String getAddress()
Gets address.- Returns:
- address.
- Since:
- 6.1.0
-
setAddress
public void setAddress(java.lang.String address)
Sets address.- Parameters:
address
- address.- Since:
- 6.1.0
-
getOtherContacts
public java.lang.String getOtherContacts()
Gets others contacts- Returns:
- others contacts
- Since:
- 6.1.0
-
setOtherContacts
public void setOtherContacts(java.lang.String otherContacts)
Sets other contacts.- Parameters:
otherContacts
- other contacts.- Since:
- 6.1.0
-
getBirthday
public java.util.Calendar getBirthday()
Gets birthday.- Returns:
- birthday.
- Since:
- 6.1.0
-
setBirthday
public void setBirthday(java.util.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 java.lang.String getResume()
Returns the resume.- Returns:
- the resume
- Since:
- 6.1.0
-
setResume
public void setResume(java.lang.String resume)
Sets the resume.- Parameters:
resume
- the resume value to set.- Since:
- 6.1.0
-
-