diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.utility/src/org/eclipse/jpt/utility/internal/model/value/ListValueModel.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.utility/src/org/eclipse/jpt/utility/internal/model/value/ListValueModel.java | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.utility/src/org/eclipse/jpt/utility/internal/model/value/ListValueModel.java b/jpa/plugins/org.eclipse.jpt.utility/src/org/eclipse/jpt/utility/internal/model/value/ListValueModel.java deleted file mode 100644 index 1bcd9d342c..0000000000 --- a/jpa/plugins/org.eclipse.jpt.utility/src/org/eclipse/jpt/utility/internal/model/value/ListValueModel.java +++ /dev/null @@ -1,68 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 Oracle. All rights reserved. - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0, which accompanies this distribution - * and is available at http://www.eclipse.org/legal/epl-v10.html. - * - * Contributors: - * Oracle - initial API and implementation - ******************************************************************************/ -package org.eclipse.jpt.utility.internal.model.value; - -import java.util.List; - -/** - * Extend ValueModel to allow the adding and - * removing of items in a list value. - * Typically the value returned from #value() - * will be a ListIterator. - */ -public interface ListValueModel - extends ValueModel -{ - - /** - * Add the item at the specified index in the list value. - */ - void addItem(int index, Object item); - - /** - * Add the items at the specified index in the list value. - */ - void addItems(int index, List items); - - /** - * Remove the item at the specified index from the list value - * and return it. - */ - Object removeItem(int index); - - /** - * Remove the items from the list value, starting at the specified index - * for the specified length. Return a list containing the removed items. - */ - List removeItems(int index, int length); - - /** - * Replace the item at the specified index of the list value - * and return the item that was there previously. - */ - Object replaceItem(int index, Object item); - - /** - * Replace the items at the specified index of the list value - * and return the items that were there previously. - */ - List replaceItems(int index, List items); - - /** - * Return the item at the specified index of the list value. - */ - Object getItem(int index); - - /** - * Return the size of the list value. - */ - int size(); - -} |