Class ParticipantImpl

    • Constructor Detail

      • ParticipantImpl

        public ParticipantImpl​(User user,
                               String userRoleName,
                               State state,
                               String action)
        Constructor Definitivly set the user, userRoleName, state and the action
        Parameters:
        user - user aka the actor
        userRoleName - name of the role under which the user was/may be an actor
        state - state for which the user was/may be an actor
        action - name of the action in which has acted the participant
    • Method Detail

      • getAction

        public String getAction()
        Get the action in which has acted the participant
        Specified by:
        getAction in interface Participant
        Returns:
        Action name