Class RelationshipDisplayName


  • @AlfrescoPublicApi
    public class RelationshipDisplayName
    extends Object
    POJO representing the relationship display name
    Since:
    2.3
    Author:
    Tuna Aksoy
    • 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 relationship
        targetText - 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