org.opencrx.kernel.contract1.jdo2
Class AbstractOpportunityPosition.Identity

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

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

The object's application identity

See Also:
Serialized Form

Constructor Summary
AbstractOpportunityPosition.Identity(Opportunity.Identity opportunity, boolean idIsPersistent, String id)
           
AbstractOpportunityPosition.Identity(Opportunity.Identity opportunity, boolean idIsPersistent, String id, List<String> objectClass)
           
 
Method Summary
 String getId()
          The id value
 Opportunity.Identity getOpportunity()
          Retrieve the Opportunity's identity
 boolean isIdPersistent()
          Tells whether the id 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

AbstractOpportunityPosition.Identity

public AbstractOpportunityPosition.Identity(Opportunity.Identity opportunity,
                                            boolean idIsPersistent,
                                            String id)

AbstractOpportunityPosition.Identity

public AbstractOpportunityPosition.Identity(Opportunity.Identity opportunity,
                                            boolean idIsPersistent,
                                            String id,
                                            List<String> objectClass)
Method Detail

referenceName

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

getOpportunity

public Opportunity.Identity getOpportunity()
Retrieve the Opportunity's identity

Specified by:
getOpportunity in interface AbstractOpportunityPosition.Identity
Returns:
the parent object's identity

parent

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

isIdPersistent

public boolean isIdPersistent()
Tells whether the id value is persistent.

Specified by:
isIdPersistent in interface AbstractOpportunityPosition.Identity
Returns:
true if the id value is persistent.

getId

public String getId()
The id value

Specified by:
getId in interface AbstractOpportunityPosition.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.