Class ArchivedUser
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.IdentifiableImpl
-
- org.cilogon.oauth2.servlet.storage.archiveUser.ArchivedUser
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.DateComparable
,edu.uiuc.ncsa.security.core.Identifiable
,Serializable
,Cloneable
,Comparable
public class ArchivedUser extends edu.uiuc.ncsa.security.core.util.IdentifiableImpl implements Comparable, edu.uiuc.ncsa.security.core.Identifiable, edu.uiuc.ncsa.security.core.DateComparable
Archived users are only comparable if they have the same userid. This lets us sort sets of them (it doesn't really make sense to compare different versions of the same user's data with another any way.)Created by Jeff Gaynor
on Apr 9, 2010 at 11:24:18 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Date
archivedDate
static long
serialVersionUID
User
user
-
Constructor Summary
Constructors Constructor Description ArchivedUser(edu.uiuc.ncsa.security.core.Identifier identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object o)
Date
getArchivedDate()
edu.uiuc.ncsa.security.core.Identifier
getArchivedID()
Date
getCreationTS()
User
getUser()
void
setArchivedDate(Date archivedDate)
void
setArchivedID(edu.uiuc.ncsa.security.core.Identifier archivedID)
void
setUser(User user)
String
toString()
-
Methods inherited from class edu.uiuc.ncsa.security.core.util.IdentifiableImpl
clone, equals, getDescription, getIdentifier, getIdentifierString, isReadOnly, setDescription, setIdentifier, setReadOnly
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
archivedDate
public Date archivedDate
-
user
public User user
-
-
Method Detail
-
getArchivedID
public edu.uiuc.ncsa.security.core.Identifier getArchivedID()
-
setArchivedID
public void setArchivedID(edu.uiuc.ncsa.security.core.Identifier archivedID)
-
getUser
public User getUser()
-
setUser
public void setUser(User user)
-
getCreationTS
public Date getCreationTS()
- Specified by:
getCreationTS
in interfaceedu.uiuc.ncsa.security.core.DateComparable
-
getArchivedDate
public Date getArchivedDate()
-
setArchivedDate
public void setArchivedDate(Date archivedDate)
-
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interfaceComparable
-
-