com.atlassian.bamboo.author
Class AuthorDataImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.author.AuthorDataImpl
All Implemented Interfaces:
AuthorData, BambooIdProvider, BambooObject, NameProvider, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<AuthorData>
Direct Known Subclasses:
AuthorImpl

public class AuthorDataImpl
extends BambooEntityObject
implements java.io.Serializable, AuthorData

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
protected AuthorDataImpl()
           
  AuthorDataImpl(AuthorData authorData)
           
  AuthorDataImpl(java.lang.String name)
           
  AuthorDataImpl(java.lang.String name, java.lang.String linkedUserName)
           
 
Method Summary
 int compareTo(AuthorData otherAuthor)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getLinkedUserName()
           
 java.lang.String getName()
          Unique name identifying an author.
 int hashCode()
           
 void setLinkedUserName(java.lang.String linkedUserName)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorDataImpl

protected AuthorDataImpl()

AuthorDataImpl

public AuthorDataImpl(@Nullable
                      java.lang.String name)

AuthorDataImpl

public AuthorDataImpl(@Nullable
                      java.lang.String name,
                      @Nullable
                      java.lang.String linkedUserName)

AuthorDataImpl

public AuthorDataImpl(@NotNull
                      AuthorData authorData)
Method Detail

getName

@Nullable
public java.lang.String getName()
Description copied from interface: AuthorData
Unique name identifying an author.

Specified by:
getName in interface AuthorData
Specified by:
getName in interface NameProvider
Returns:
identifying alias

setName

public void setName(java.lang.String name)

getLinkedUserName

@Nullable
public java.lang.String getLinkedUserName()
Specified by:
getLinkedUserName in interface AuthorData

setLinkedUserName

public void setLinkedUserName(@Nullable
                              java.lang.String linkedUserName)
Specified by:
setLinkedUserName in interface AuthorData

hashCode

public int hashCode()
Overrides:
hashCode in class com.atlassian.core.bean.EntityObject

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class com.atlassian.core.bean.EntityObject

compareTo

public int compareTo(AuthorData otherAuthor)
Specified by:
compareTo in interface java.lang.Comparable<AuthorData>


Copyright © 2012 Atlassian. All Rights Reserved.