org.opencrx.kernel.depot1.jdo2
Class CompoundBooking.Identity

java.lang.Object
  extended by org.oasisopen.jdo2.AbstractIdentity
      extended by org.opencrx.kernel.depot1.jdo2.CompoundBooking.Identity
All Implemented Interfaces:
Serializable, Identity, CompoundBooking.Identity
Enclosing class:
CompoundBooking

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

The object's application identity

See Also:
Serialized Form

Constructor Summary
CompoundBooking.Identity(Segment.Identity segment, QualifierType idType, String id)
           
CompoundBooking.Identity(Segment.Identity segment, QualifierType idType, String id, List<String> objectClass)
           
 
Method Summary
 String getId()
          The id value
 QualifierType getIdType()
          Tells whether the id 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

CompoundBooking.Identity

public CompoundBooking.Identity(Segment.Identity segment,
                                QualifierType idType,
                                String id)

CompoundBooking.Identity

public CompoundBooking.Identity(Segment.Identity segment,
                                QualifierType idType,
                                String id,
                                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 CompoundBooking.Identity
Returns:
the parent object's identity

parent

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

getIdType

public QualifierType getIdType()
Tells whether the id value is persistent.

Specified by:
getIdType in interface CompoundBooking.Identity
Returns:
true if the id value is persistent.

getId

public String getId()
The id value

Specified by:
getId in interface CompoundBooking.Identity
Returns:
the id value


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