org.sakaiproject.profile2.model
Class BasicPerson

java.lang.Object
  extended by org.sakaiproject.profile2.model.BasicPerson
All Implemented Interfaces:
Serializable, Comparable<Object>
Direct Known Subclasses:
BasicConnection, Person

public class BasicPerson
extends Object
implements Serializable, Comparable<Object>

This is the base model for a Person, containing a limited set of fields. It is extended by Person.

Note about serialisation. The User object is not serialisable and does not contain a no-arg constructor so cannot be manually serialised via the serializable methods (readObject, writeObject).

Hence why it is not used instead. So the most useful values it provides are extracted and set into this object.

Author:
Steve Swinsburg (steve.swinsburg@gmail.com)
See Also:
Serialized Form

Constructor Summary
BasicPerson()
           
 
Method Summary
 int compareTo(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPerson

public BasicPerson()
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable<Object>


Copyright © 2008-2012 The Sakai Foundation. All Rights Reserved.