public class RelationshipImpl extends Object implements Relationship, Serializable
| Constructor and Description |
|---|
RelationshipImpl(String uniqueName,
org.alfresco.service.cmr.repository.NodeRef source,
org.alfresco.service.cmr.repository.NodeRef target)
Constructor for creating a relationship
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.alfresco.service.cmr.repository.NodeRef |
getSource()
Gets the source of the relationship
|
org.alfresco.service.cmr.repository.NodeRef |
getTarget()
Gets the target of the relationship
|
String |
getUniqueName()
Gets the unique name of the relationship
|
int |
hashCode() |
public RelationshipImpl(String uniqueName, org.alfresco.service.cmr.repository.NodeRef source, org.alfresco.service.cmr.repository.NodeRef target)
uniqueName - The unique name of the relationshipsource - The source of the relationshiptarget - The target of the relationshippublic String getUniqueName()
RelationshipgetUniqueName in interface RelationshipRelationship.getUniqueName()public org.alfresco.service.cmr.repository.NodeRef getSource()
RelationshipgetSource in interface RelationshipRelationship.getSource()public org.alfresco.service.cmr.repository.NodeRef getTarget()
RelationshipgetTarget in interface RelationshipRelationship.getTarget()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2005–2016 Alfresco Software. All rights reserved.