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

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

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

The object's application identity

See Also:
Serialized Form

Constructor Summary
CodeValueContainer.Identity(Segment.Identity segment, QualifierType nameType, String name)
           
CodeValueContainer.Identity(Segment.Identity segment, QualifierType nameType, String name, List<String> objectClass)
           
 
Method Summary
 String getName()
          The name value
 QualifierType getNameType()
          Tells whether the name 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

CodeValueContainer.Identity

public CodeValueContainer.Identity(Segment.Identity segment,
                                   QualifierType nameType,
                                   String name)

CodeValueContainer.Identity

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

parent

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

getNameType

public QualifierType getNameType()
Tells whether the name value is persistent.

Specified by:
getNameType in interface CodeValueContainer.Identity
Returns:
true if the name value is persistent.

getName

public String getName()
The name value

Specified by:
getName in interface CodeValueContainer.Identity
Returns:
the name value


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