Class RelationshipImpl
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.relationship.RelationshipImpl
- All Implemented Interfaces:
Serializable
,Relationship
Relationship implementation
- Since:
- 2.3
- Author:
- Tuna Aksoy
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRelationshipImpl
(String uniqueName, NodeRef source, NodeRef target) Constructor for creating a relationship -
Method Summary
-
Constructor Details
-
RelationshipImpl
Constructor for creating a relationship- Parameters:
uniqueName
- The unique name of the relationshipsource
- The source of the relationshiptarget
- The target of the relationship
-
-
Method Details
-
getUniqueName
Description copied from interface:Relationship
Gets the unique name of the relationship- Specified by:
getUniqueName
in interfaceRelationship
- Returns:
- The unique name of the relationship
- See Also:
-
getSource
Description copied from interface:Relationship
Gets the source of the relationship- Specified by:
getSource
in interfaceRelationship
- Returns:
- The source of the relationship
- See Also:
-
getTarget
Description copied from interface:Relationship
Gets the target of the relationship- Specified by:
getTarget
in interfaceRelationship
- Returns:
- The target of the relationship
- See Also:
-
equals
-
hashCode
public int hashCode()
-