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 Details

    • 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 relationship
      targetText - The target text of the relationship
  • Method Details

    • 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 class Object
      See Also: