org.jboss.dna.connector.store.jpa.model.basic
Class ChildId

java.lang.Object
  extended by org.jboss.dna.connector.store.jpa.model.basic.ChildId
All Implemented Interfaces:
Serializable

@Immutable
public class ChildId
extends Object
implements Serializable

A unique identifier for a parent-child relationship.

See Also:
Serialized Form

Constructor Summary
ChildId()
           
ChildId(Long workspaceId, NodeId childId)
           
ChildId(Long workspaceId, String childUuid)
           
 
Method Summary
 boolean equals(Object obj)
          
 String getChildUuidString()
           
 Long getWorkspaceId()
           
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChildId

public ChildId()

ChildId

public ChildId(Long workspaceId,
               NodeId childId)

ChildId

public ChildId(Long workspaceId,
               String childUuid)
Method Detail

getChildUuidString

public String getChildUuidString()
Returns:
childUuidString

getWorkspaceId

public Long getWorkspaceId()
Returns:
workspaceId

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008-2009 JBoss, a division of Red Hat. All Rights Reserved.