Class ParticipantImpl

    • Constructor Detail

      • ParticipantImpl

        public ParticipantImpl()
        Constructor
    • Method Detail

      • getDescription

        public String getDescription​(String role,
                                     String language)
        Get description in specific language for the given role
        Specified by:
        getDescription in interface Participant
        Parameters:
        language - description's language
        role - role for which the description is
        Returns:
        wanted description as a String object. If description is not found, search description with given role and default language, if not found again, return the default description in given language, if not found again, return the default description in default language, if not found again, return empty string.
      • getLabel

        public String getLabel​(String role,
                               String language)
        Get label in specific language for the given role
        Specified by:
        getLabel in interface Participant
        Parameters:
        language - label's language
        role - role for which the label is
        Returns:
        wanted label as a String object. If label is not found, search label with given role and default language, if not found again, return the default label in given language, if not found again, return the default label in default language, if not found again, return empty string.
      • getName

        public String getName()
        Get the name of this participant
        Specified by:
        getName in interface Participant
        Returns:
        participant's name
      • getResolvedState

        public String getResolvedState()
        Get the state that defined participant has resolved
        Specified by:
        getResolvedState in interface Participant
        Returns:
        state that defined participant has resolved
      • setName

        public void setName​(String name)
        Description copied from interface: Participant
        Set the name of this participant
        Specified by:
        setName in interface Participant
        Parameters:
        name - participant's name
      • setResolvedState

        public void setResolvedState​(String resolvedState)
        Description copied from interface: Participant
        Set state that defined participant has resolved resolvedState state that defined participant has resolved
        Specified by:
        setResolvedState in interface Participant