org.opencrx.kernel.code1.jdo2
Class AbstractEntry.Identity

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

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

The object's application identity

See Also:
Serialized Form

Constructor Summary
AbstractEntry.Identity(CodeValueContainer.Identity valueContainer, boolean codeIsPersistent, String code)
           
AbstractEntry.Identity(CodeValueContainer.Identity valueContainer, boolean codeIsPersistent, String code, List<String> objectClass)
           
 
Method Summary
 String getCode()
          The code value
 boolean isCodePersistent()
          Tells whether the code value is persistent.
 CodeValueContainer.Identity parent()
          Retrieve the CodeValueContainer'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

AbstractEntry.Identity

public AbstractEntry.Identity(CodeValueContainer.Identity valueContainer,
                              boolean codeIsPersistent,
                              String code)

AbstractEntry.Identity

public AbstractEntry.Identity(CodeValueContainer.Identity valueContainer,
                              boolean codeIsPersistent,
                              String code,
                              List<String> objectClass)
Method Detail

referenceName

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

parent

public CodeValueContainer.Identity parent()
Retrieve the CodeValueContainer's identity

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

isCodePersistent

public boolean isCodePersistent()
Tells whether the code value is persistent.

Specified by:
isCodePersistent in interface AbstractEntry.Identity
Returns:
true if the code value is persistent.

getCode

public String getCode()
The code value

Specified by:
getCode in interface AbstractEntry.Identity
Returns:
the code value


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