com.opensymphony.user
Class Entity.Accessor

java.lang.Object
  extended by com.opensymphony.user.Entity.Accessor
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Group.Accessor, User.Accessor
Enclosing class:
Entity

public abstract class Entity.Accessor
extends Object
implements Serializable

This inner class can be passed by Entity to a Accessor to allow private fields to be accessed from an external object. Passed specifically to UserProvider implementations, while still encapsulating data from client code.

See Also:
Serialized Form

Constructor Summary
Entity.Accessor()
           
 
Method Summary
 Entity getEntity()
          Return underlying Entity that this Accessor represents.
 void setMutable(boolean mutable)
          Set whether Entity is mutable.
 void setName(String name)
          Set name of Entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entity.Accessor

public Entity.Accessor()
Method Detail

getEntity

public Entity getEntity()
Return underlying Entity that this Accessor represents.


setMutable

public void setMutable(boolean mutable)
Set whether Entity is mutable.


setName

public void setName(String name)
Set name of Entity.



Copyright © 2002-2011 Atlassian. All Rights Reserved.