org.opencrx.security.realm1.jdo2
Class Principal

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.openmdx.security.realm1.jdo2.Principal
              extended by org.opencrx.security.realm1.jdo2.Principal
All Implemented Interfaces:
Serializable, javax.jdo.spi.Detachable, javax.jdo.spi.PersistenceCapable, BasicObject, ContextCapable, ExtentCapable, ViewCapable, org.openmdx.security.realm1.cci2.Principal

public class Principal
extends org.openmdx.security.realm1.jdo2.Principal
implements Principal

Class Principal

See Also:
Serialized Form

Nested Class Summary
static class Principal.Slice
          Slice object hold the Principal's multivalued attributes
 
Nested classes/interfaces inherited from class org.openmdx.security.realm1.jdo2.Principal
org.openmdx.security.realm1.jdo2.Principal.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.openmdx.security.realm1.cci2.Principal
org.openmdx.security.realm1.cci2.Principal.Identity
 
Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable
javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer, javax.jdo.spi.PersistenceCapable.ObjectIdFieldManager, javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::security::realm1::Principal
 
Fields inherited from class org.openmdx.security.realm1.jdo2.Principal
BASE_CLASS
 
Fields inherited from interface javax.jdo.spi.PersistenceCapable
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
Constructor Summary
Principal()
           
 
Method Summary
 Date getLastLoginAt()
          Retrieves the possibly null value for the optional attribute lastLoginAt.
static org.openmdx.security.realm1.jdo2.Principal.Identity newIdentity(org.openmdx.security.realm1.cci2.Realm.Identity realm, QualifierType idType, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
static org.openmdx.security.realm1.jdo2.Principal.Identity openmdxjdoToIdentity(ObjectId objectId)
           
 void setLastLoginAt(Date lastLoginAt)
          Sets a new value for the attribute lastLoginAt.
 
Methods inherited from class org.openmdx.security.realm1.jdo2.Principal
addToRealm, addToRealm, getAuthCredential, getContext, getCreatedAt, getCreatedBy, getCredential, getDescription, getIdentity, getIsMemberOf, getModifiedAt, getModifiedBy, getName, getRealm, getSubject, getView, isDisabled, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDetachedInternal, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoPreSerialize, jdoProvideField, jdoProvideFields, jdoReplaceDetachedState, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, openmdxjdoGetObjectId, openmdxjdoGetSlices, setCredential, setDescription, setDisabled, setSubject
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openmdx.security.realm1.cci2.Principal
getAuthCredential, getCredential, getDescription, getIsMemberOf, getName, getRealm, getSubject, isDisabled, setCredential, setDescription, setDisabled, setSubject
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::security::realm1::Principal

Constructor Detail

Principal

public Principal()
Method Detail

getLastLoginAt

public final Date getLastLoginAt()
Retrieves the possibly null value for the optional attribute lastLoginAt.

Returns:
The possibly null value for attribute lastLoginAt.

setLastLoginAt

public void setLastLoginAt(Date lastLoginAt)
Sets a new value for the attribute lastLoginAt.

Parameters:
lastLoginAt - The possibly null new value for attribute lastLoginAt.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class org.openmdx.security.realm1.jdo2.Principal

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class org.openmdx.security.realm1.jdo2.Principal

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class org.openmdx.security.realm1.jdo2.Principal

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class org.openmdx.security.realm1.jdo2.Principal
Returns:
the model class
See Also:
Principal.CLASS

newIdentity

public static org.openmdx.security.realm1.jdo2.Principal.Identity newIdentity(org.openmdx.security.realm1.cci2.Realm.Identity realm,
                                                                              QualifierType idType,
                                                                              String id)

openmdxjdoToIdentity

public static org.openmdx.security.realm1.jdo2.Principal.Identity openmdxjdoToIdentity(ObjectId objectId)


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.