<commit_before><commit_msg>Mistakenly not added last time.... ATParticipantInformation.java will store details about the participants in the coordinator<commit_after>/*
 * Copyright  2004 The Apache Software Foundation.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 */
package org.apache.kandula.coordinator.at;

import org.apache.axis2.addressing.EndpointReference;

/**
 * @author <a href="mailto:<EMAIL>"> <NAME> </a> <p/>
 *         Used to store the details about the participant & to store the
 *         runtime status of Participants in the coordinator.
 */
//TODO see whether we can avoid this class
public class ATParticipantInformation {

	private EndpointReference epr;

	private String protocol;

	private int status;

	private String enlistmentId;

	/**
	 * @param epr
	 * @param protocol
	 * @param enlistmentId
	 */
	public ATParticipantInformation(EndpointReference epr, String protocol,
			String enlistmentId) {
		super();
		this.epr = epr;
		this.protocol = protocol;
		this.enlistmentId = enlistmentId;
	}

	/**
	 * @return Returns the enlistmentId.
	 */
	public String getEnlistmentId() {
		return enlistmentId;
	}

	/**
	 * @return Returns the epr.
	 */
	public EndpointReference getEpr() {
		return epr;
	}

	/**
	 * @param epr -
	 *            The epr to set.
	 */
	public void setEpr(EndpointReference epr) {
		this.epr = epr;
	}

	/**
	 * @return Returns the status.
	 */
	public int getStatus() {
		return status;
	}

	/**
	 * @param status -
	 *            The status to set.
	 */
	public void setStatus(int status) {
		this.status = status;
	}

	/**
	 * @return Returns the protocol.
	 */
	public String getProtocol() {
		return protocol;
	}
}
{'fraction_non_alphanumeric': 0.09736123748862602, 'fraction_numerical': 0.004094631483166515, 'mean_word_length': 3.156899810964083, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3140736', 'n_tokens_mistral': 692, 'n_tokens_neox': 640, 'n_words': 230}