org.opencrx.kernel.ras1.jdo2
Class ArtifactDependency.Identity

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

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

The object's application identity

See Also:
Serialized Form

Constructor Summary
ArtifactDependency.Identity(SolutionPart.Identity dependsOnArtifact, boolean idIsPersistent, String id)
           
ArtifactDependency.Identity(SolutionPart.Identity dependsOnArtifact, boolean idIsPersistent, String id, List<String> objectClass)
           
 
Method Summary
 String getId()
          The id value
 boolean isIdPersistent()
          Tells whether the id value is persistent.
 SolutionPart.Identity parent()
          Retrieve the Artifact'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

ArtifactDependency.Identity

public ArtifactDependency.Identity(SolutionPart.Identity dependsOnArtifact,
                                   boolean idIsPersistent,
                                   String id)

ArtifactDependency.Identity

public ArtifactDependency.Identity(SolutionPart.Identity dependsOnArtifact,
                                   boolean idIsPersistent,
                                   String id,
                                   List<String> objectClass)
Method Detail

referenceName

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

parent

public SolutionPart.Identity parent()
Retrieve the Artifact's identity

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

isIdPersistent

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

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

getId

public String getId()
The id value

Specified by:
getId in interface ArtifactDependency.Identity
Returns:
the id value


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