Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3793cdc81126861648f655d0b7ccdd09431d0daf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/****************************************************************************
 * Copyright (c) 2004 Composent, Inc.
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * Contributors: Composent, Inc. - initial API and implementation
 *
 * SPDX-License-Identifier: EPL-2.0
 *****************************************************************************/
package org.eclipse.ecf.datashare.mergeable;

/**
 * Factory for creating items
 * 
 */
public interface IItemFactory {
	/**
	 * Create item with given description
	 * 
	 * @param description
	 *            the description to add to the item. The description represents
	 *            the actual data associated with an item. Should not be
	 *            <code>null</code>.
	 * @return IItem result. Will not be <code>null</code>.
	 */
	public IItem createItem(String description);
}

Back to the top