Class RelationshipDisplayName
- java.lang.Object
-
- org.alfresco.module.org_alfresco_module_rm.relationship.RelationshipDisplayName
-
@AlfrescoPublicApi public class RelationshipDisplayName extends Object
POJO representing the relationship display name- Since:
- 2.3
- Author:
- Tuna Aksoy
-
-
Constructor Summary
Constructors Constructor Description RelationshipDisplayName(String sourceText, String targetText)
Constructor for creating the relationship display name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSourceText()
Gets the source text of the relationshipString
getTargetText()
Gets the target text of the relationshipString
toString()
-
-
-
Constructor Detail
-
RelationshipDisplayName
public RelationshipDisplayName(String sourceText, String targetText)
Constructor for creating the relationship display name. In case of a bidirectional relationship the source text and target text will be the same.- Parameters:
sourceText
- The source text of the relationshiptargetText
- The target text of the relationship
-
-
Method Detail
-
getSourceText
public String getSourceText()
Gets the source text of the relationship- Returns:
- The source text of the relationship
-
getTargetText
public String getTargetText()
Gets the target text of the relationship- Returns:
- The target text of the relationship
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-