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, Identity, 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(Segment.Identity segment, QualifierType principalIdType, String principalId)
           
UserHome.Identity(Segment.Identity segment, QualifierType principalIdType, String principalId, List<String> objectClass)
           
 
Method Summary
 String getPrincipalId()
          The principalId value
 QualifierType getPrincipalIdType()
          Tells whether the principalId value is persistent.
 Segment.Identity getSegment()
          Retrieve the Segment's identity
protected  Identity parent()
           
protected  String referenceName()
           
 
Methods inherited from class org.oasisopen.jdo2.AbstractIdentity
equals, hashCode, identifierType, qualifier, toString, toXRI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserHome.Identity

public UserHome.Identity(Segment.Identity segment,
                         QualifierType principalIdType,
                         String principalId)

UserHome.Identity

public UserHome.Identity(Segment.Identity segment,
                         QualifierType principalIdType,
                         String principalId,
                         List<String> objectClass)
Method Detail

referenceName

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

getSegment

public Segment.Identity getSegment()
Retrieve the Segment's identity

Specified by:
getSegment in interface UserHome.Identity
Returns:
the parent object's identity

parent

protected Identity parent()
Specified by:
parent in class org.oasisopen.jdo2.AbstractIdentity

getPrincipalIdType

public QualifierType getPrincipalIdType()
Tells whether the principalId value is persistent.

Specified by:
getPrincipalIdType 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-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.