<commit_before>/*
 * Copyright (c) OSGi Alliance (2013, 2014). All Rights Reserved.
 *
 * 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.osgi.service.component.runtime.dto;

import org.osgi.dto.DTO;

/**
 * A representation of a declared reference to a service.
 * 
 * @since 1.3
 * @NotThreadSafe
 * @author $Id$
 */
public class ReferenceDTO extends DTO {

	/**
	 * Constant for the lookup strategy
	 * 
	 * @see #strategy
	 */
	String			STRATEGY_LOOKUP			= "LOOKUP";

	/**
	 * Constant for the method strategy
	 * 
	 * @see #strategy
	 */
	String			STRATEGY_METHOD			= "METHOD";

	/**
	 * Constant for the field replace strategy
	 * 
	 * @see #strategy
	 */
	String			STRATEGY_FIELD_REPLACE	= "FIELD_REPLACE";

	/**
	 * Constant for the field update strategy
	 * 
	 * @see #strategy
	 */
	String			STRATEGY_FIELD_UPDATE	= "FIELD_UPDATE";

	/**<commit_msg>[RFC 212] String constants in DTO must be public static final<commit_after>/*
 * Copyright (c) OSGi Alliance (2013, 2014). All Rights Reserved.
 *
 * 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.osgi.service.component.runtime.dto;

import org.osgi.dto.DTO;

/**
 * A representation of a declared reference to a service.
 * 
 * @since 1.3
 * @NotThreadSafe
 * @author $Id$
 */
public class ReferenceDTO extends DTO {

	/**
	 * Constant for the lookup strategy
	 * 
	 * @see #strategy
	 */
	public static final String	STRATEGY_LOOKUP			= "LOOKUP";

	/**
	 * Constant for the method strategy
	 * 
	 * @see #strategy
	 */
	public static final String	STRATEGY_METHOD			= "METHOD";

	/**
	 * Constant for the field replace strategy
	 * 
	 * @see #strategy
	 */
	public static final String	STRATEGY_FIELD_REPLACE	= "FIELD_REPLACE";

	/**
	 * Constant for the field update strategy
	 * 
	 * @see #strategy
	 */
	public static final String	STRATEGY_FIELD_UPDATE	= "FIELD_UPDATE";

	/**
{'fraction_non_alphanumeric': 0.09646079111727966, 'fraction_numerical': 0.010756419153365717, 'mean_word_length': 3.309417040358744, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3755362', 'n_tokens_mistral': 924, 'n_tokens_neox': 835, 'n_words': 328}