Package org.sakaiproject.profile2.model
Class BasicPerson
- java.lang.Object
-
- 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
Constructors Constructor Description BasicPerson()
-
-
-
Method Detail
-
compareTo
public int compareTo(Object o)
- Specified by:
compareToin interfaceComparable<Object>
-
-