org.jboss.dna.connector.store.jpa.model.basic
Class ReferenceId
java.lang.Object
org.jboss.dna.connector.store.jpa.model.basic.ReferenceId
- All Implemented Interfaces:
- Serializable
@Immutable
public class ReferenceId
- extends Object
- implements Serializable
An identifier for a reference, comprised of a single NodeId
of the node containing the reference and a single
NodeId
of the node being referenced.
- See Also:
- Serialized Form
ReferenceId
public ReferenceId()
ReferenceId
public ReferenceId(Long workspaceId,
String fromUuid,
String toUuid)
getFromUuidString
public String getFromUuidString()
- Returns:
- fromUuidString
getToUuidString
public String getToUuidString()
- Returns:
- toUuidString
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-2010 JBoss, a division of Red Hat. All Rights Reserved.