org.opencrx.kernel.document1.jdo2
Class DocumentLock.Identity
java.lang.Object
org.oasisopen.jdo2.AbstractIdentity
org.opencrx.kernel.document1.jdo2.DocumentLock.Identity
- All Implemented Interfaces:
- Serializable, Identity, DocumentLock.Identity
- Enclosing class:
- DocumentLock
public static class DocumentLock.Identity
- extends org.oasisopen.jdo2.AbstractIdentity
- implements DocumentLock.Identity
The object's application identity
- See Also:
- Serialized Form
| Methods inherited from class org.oasisopen.jdo2.AbstractIdentity |
equals, hashCode, identifierType, qualifier, toString, toXRI |
DocumentLock.Identity
public DocumentLock.Identity(Document.Identity document,
QualifierType idType,
String id)
DocumentLock.Identity
public DocumentLock.Identity(Document.Identity document,
QualifierType idType,
String id,
List<String> objectClass)
referenceName
protected String referenceName()
- Specified by:
referenceName in class org.oasisopen.jdo2.AbstractIdentity
getDocument
public Document.Identity getDocument()
- Retrieve the
Document's identity
- Specified by:
getDocument in interface DocumentLock.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 DocumentLock.Identity
- Returns:
true if the id value is persistent.
getId
public String getId()
- The
id value
- Specified by:
getId in interface DocumentLock.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.