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, 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
 CodeValueContainer.Identity getValueContainer()
          Retrieve the CodeValueContainer's identity
 boolean isCodePersistent()
          Tells whether the code value is persistent.
protected  org.oasisopen.cci2.Identity parent()
           
protected  String referenceName()
           
 
Methods inherited from class org.oasisopen.jdo2.AbstractIdentity
equals, hashCode, persistentQualifier, qualifier, toString, toXRI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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

getValueContainer

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

Specified by:
getValueContainer in interface AbstractEntry.Identity
Returns:
the parent object's identity

parent

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

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