com.atlassian.crowd.model.user
Class DelegatingUserWithAttributes

java.lang.Object
  extended by com.atlassian.crowd.embedded.impl.AbstractDelegatingEntityWithAttributes
      extended by com.atlassian.crowd.embedded.impl.DelegatingUserWithAttributes
          extended by com.atlassian.crowd.model.user.DelegatingUserWithAttributes
All Implemented Interfaces:
Attributes, User, UserWithAttributes, DirectoryEntity, java.lang.Comparable<User>, java.security.Principal

public class DelegatingUserWithAttributes
extends DelegatingUserWithAttributes
implements UserWithAttributes

Implementation of UserWithAttributes that simply delegates to an underlying User and Attributes object.

Instances of this class will be effectively immutable so long as either:


Constructor Summary
DelegatingUserWithAttributes(User user, Attributes attributes)
           
 
Method Summary
 java.lang.String getFirstName()
           
 java.lang.String getLastName()
           
 
Methods inherited from class com.atlassian.crowd.embedded.impl.DelegatingUserWithAttributes
compareTo, equals, getDirectoryId, getDisplayName, getEmailAddress, getName, hashCode, isActive
 
Methods inherited from class com.atlassian.crowd.embedded.impl.AbstractDelegatingEntityWithAttributes
getKeys, getValue, getValues, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.crowd.embedded.api.Attributes
getKeys, getValue, getValues, isEmpty
 
Methods inherited from interface com.atlassian.crowd.model.DirectoryEntity
equals, getDirectoryId, getName, hashCode
 
Methods inherited from interface com.atlassian.crowd.embedded.api.User
compareTo, equals, getDirectoryId, getDisplayName, getEmailAddress, hashCode, isActive
 

Constructor Detail

DelegatingUserWithAttributes

public DelegatingUserWithAttributes(User user,
                                    Attributes attributes)
Method Detail

getFirstName

public java.lang.String getFirstName()

getLastName

public java.lang.String getLastName()


Copyright © 2010 Atlassian. All Rights Reserved.