|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mudcraft.bukkit.socials.user.SocialUser
public class SocialUser
Social information for a Minecraft player.
Constructor Summary | |
---|---|
SocialUser()
Constructs a new SocialUser instance. |
|
SocialUser(SocialUser other)
Constructs a new SocialUser instance. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a copy of this object. |
boolean |
equals(java.lang.Object o)
Gets whether this object is equal to another object. |
java.util.Date |
getBirthDate()
Gets the user's birth date. |
java.lang.String |
getEmailAddress()
Gets the user's email address. |
Gender |
getGender()
Gets the user's gender. |
java.lang.Integer |
getId()
Gets the record identity. |
java.lang.String |
getPlayerName()
Gets the user's player name. |
Gender |
getRealGender()
Gets the user's real gender. |
java.lang.String |
getRealName()
Gets the user's real name. |
java.lang.Boolean |
getShowAge()
Gets whether the user's age should be shown |
java.lang.Boolean |
getShowBirthday()
Gets whether the user's birthday should be shown |
java.lang.Boolean |
getShowBirthYear()
Gets whether the user's birth year should be shown |
java.lang.Boolean |
getShowEmailAddress()
Gets whether the user's email address should be shown |
java.lang.Boolean |
getShowRealGender()
Gets whether the user's real gender should be shown |
java.lang.Boolean |
getShowRealName()
Gets whether the user's real name should be shown |
int |
hashCode()
Calculates a hashcode for this object. |
void |
setBirthDate(java.util.Date birthDate)
Sets the user's birth date. |
void |
setEmailAddress(java.lang.String emailAddress)
Sets the user's email address. |
void |
setGender(Gender gender)
Sets the user's gender. |
void |
setId(java.lang.Integer id)
Sets the record identity. |
void |
setPlayerName(java.lang.String playerName)
Sets the user's player name. |
void |
setRealGender(Gender realGender)
Sets the user's real gender. |
void |
setRealName(java.lang.String realName)
Sets the user's real name. |
void |
setShowAge(java.lang.Boolean showAge)
Sets whether the user's age should be shown. |
void |
setShowBirthday(java.lang.Boolean showBirthday)
Sets whether the user's birthday should be shown. |
void |
setShowBirthYear(java.lang.Boolean showBirthYear)
Sets whether the user's birth year should be shown. |
void |
setShowEmailAddress(java.lang.Boolean showEmailAddress)
Sets whether the user's email address should be shown. |
void |
setShowRealGender(java.lang.Boolean showRealGender)
Sets whether the user's real gender should be shown. |
void |
setShowRealName(java.lang.Boolean showRealName)
Sets whether the user's real name should be shown. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SocialUser()
SocialUser
instance.
public SocialUser(SocialUser other)
SocialUser
instance.
other
- the SocialUser
whose state is to be copiedMethod Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
Cloneable
,
Object.clone()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to which this object is to be compared
true
if the specified object is equivalentObject.equals(Object)
public java.util.Date getBirthDate()
setBirthDate(Date)
public java.lang.String getEmailAddress()
setEmailAddress(String)
public Gender getGender()
setGender(Gender)
public java.lang.Integer getId()
setId(Integer)
public java.lang.String getPlayerName()
setPlayerName(String)
public Gender getRealGender()
setRealGender(Gender)
public java.lang.String getRealName()
setRealName(String)
public java.lang.Boolean getShowAge()
true
if the user's age should be shownsetShowAge(Boolean)
public java.lang.Boolean getShowBirthday()
true
if the user's birthday should be shownsetShowBirthday(Boolean)
public java.lang.Boolean getShowBirthYear()
true
if the user's birth year should be shownsetShowBirthYear(Boolean)
public java.lang.Boolean getShowEmailAddress()
true
if the user's email address should be shownsetShowEmailAddress(Boolean)
public java.lang.Boolean getShowRealGender()
true
if the user's real gender should be shownsetShowRealGender(Boolean)
public java.lang.Boolean getShowRealName()
true
if the user's real name should be shownsetShowAge(Boolean)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public void setBirthDate(java.util.Date birthDate)
birthDate
- the user's birth dategetBirthDate()
public void setEmailAddress(java.lang.String emailAddress)
emailAddress
- the user's email addressgetEmailAddress()
public void setGender(Gender gender)
gender
- the user's gendergetGender()
public void setId(java.lang.Integer id)
id
- the record identitygetId()
public void setPlayerName(java.lang.String playerName)
playerName
- the user's player namegetPlayerName()
public void setRealGender(Gender realGender)
realGender
- the user's real gendergetRealGender()
public void setRealName(java.lang.String realName)
realName
- the user's real namegetRealName()
public void setShowAge(java.lang.Boolean showAge)
showAge
- indicates whether the user's age should be showngetShowAge()
public void setShowBirthday(java.lang.Boolean showBirthday)
showBirthday
- indicates whether the user's birthday should
be showngetShowBirthday()
public void setShowBirthYear(java.lang.Boolean showBirthYear)
showBirthYear
- indicates whether the user's birth year
should be showngetShowBirthYear()
public void setShowEmailAddress(java.lang.Boolean showEmailAddress)
showEmailAddress
- indicates whether the user's email
address should be showngetShowEmailAddress()
public void setShowRealGender(java.lang.Boolean showRealGender)
showRealGender
- indicates whether the user's real gender
should be showngetShowRealGender()
public void setShowRealName(java.lang.Boolean showRealName)
showRealName
- indicates whether the user's real name should
be showngetShowRealName()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |