public class AuthorDataImpl extends BambooEntityObject implements Serializable, AuthorData
id
Modifier | Constructor and Description |
---|---|
protected |
AuthorDataImpl() |
|
AuthorDataImpl(AuthorData authorData) |
|
AuthorDataImpl(String name) |
|
AuthorDataImpl(String name,
String linkedUserName) |
|
AuthorDataImpl(String name,
String linkedUserName,
String email) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AuthorContext otherAuthor) |
boolean |
equals(Object o)
This method needs to be here in order to use proper id
|
String |
getEmail() |
String |
getLinkedUserName() |
String |
getName()
Unique name identifying an author.
|
int |
hashCode()
This method needs to be here in order to use proper id
|
void |
setEmail(String email) |
void |
setLinkedUserName(String linkedUserName) |
void |
setName(String name) |
getId, setId
protected AuthorDataImpl()
public AuthorDataImpl(@Nullable String name)
public AuthorDataImpl(@Nullable String name, @Nullable String linkedUserName, @Nullable String email)
public AuthorDataImpl(@NotNull AuthorData authorData)
@Nullable public String getName()
AuthorContext
getName
in interface AuthorContext
getName
in interface NameProvider
public void setName(String name)
@Nullable public String getLinkedUserName()
getLinkedUserName
in interface AuthorContext
public void setLinkedUserName(@Nullable String linkedUserName)
setLinkedUserName
in interface AuthorData
@Nullable public String getEmail()
getEmail
in interface AuthorContext
public void setEmail(String email)
setEmail
in interface AuthorData
public int hashCode()
BambooEntityObject
hashCode
in class BambooEntityObject
public boolean equals(Object o)
BambooEntityObject
equals
in class BambooEntityObject
public int compareTo(AuthorContext otherAuthor)
compareTo
in interface Comparable<AuthorContext>
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.