org.opencrx.kernel.home1.jdo2
Class UserHome.Identity

java.lang.Object
  extended by org.oasisopen.jdo2.AbstractIdentity
      extended by org.opencrx.kernel.home1.jdo2.UserHome.Identity
All Implemented Interfaces:
Serializable, org.oasisopen.cci2.Identity, org.oasisopen.cci2.PersistentIdentity, UserHome.Identity
Enclosing class:
UserHome

public static class UserHome.Identity
extends org.oasisopen.jdo2.AbstractIdentity
implements UserHome.Identity

The object's application identity

See Also:
Serialized Form

Constructor Summary
UserHome.Identity(org.openmdx.base.cci2.Segment.Identity segment, boolean principalIdIsPersistent, String principalId)
           
UserHome.Identity(org.openmdx.base.cci2.Segment.Identity segment, boolean principalIdIsPersistent, String principalId, List<String> objectClass)
           
 
Method Summary
 String getPrincipalId()
          The principalId value
 boolean isPrincipalIdPersistent()
          Tells whether the principalId value is persistent.
 org.openmdx.base.cci2.Segment.Identity parent()
          Retrieve the Segment's identity
protected  String referenceName()
           
 
Methods inherited from class org.oasisopen.jdo2.AbstractIdentity
equals, hashCode, persistentQualifier, qualifier, toString, toXRI, toXRI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.oasisopen.cci2.Identity
toXRI
 

Constructor Detail

UserHome.Identity

public UserHome.Identity(org.openmdx.base.cci2.Segment.Identity segment,
                         boolean principalIdIsPersistent,
                         String principalId)

UserHome.Identity

public UserHome.Identity(org.openmdx.base.cci2.Segment.Identity segment,
                         boolean principalIdIsPersistent,
                         String principalId,
                         List<String> objectClass)
Method Detail

referenceName

protected String referenceName()
Specified by:
referenceName in class org.oasisopen.jdo2.AbstractIdentity

parent

public org.openmdx.base.cci2.Segment.Identity parent()
Retrieve the Segment's identity

Specified by:
parent in interface org.oasisopen.cci2.PersistentIdentity
Specified by:
parent in interface UserHome.Identity
Returns:
the parent object's identity

isPrincipalIdPersistent

public boolean isPrincipalIdPersistent()
Tells whether the principalId value is persistent.

Specified by:
isPrincipalIdPersistent in interface UserHome.Identity
Returns:
true if the principalId value is persistent.

getPrincipalId

public String getPrincipalId()
The principalId value

Specified by:
getPrincipalId in interface UserHome.Identity
Returns:
the principalId value


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