KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ecore > sdo > util > ESequence


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2003-2004 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: ESequence.java,v 1.3 2005/06/08 06:24:25 nickb Exp $
16  */

17 package org.eclipse.emf.ecore.sdo.util;
18
19 import org.eclipse.emf.ecore.util.FeatureMap;
20
21 import commonj.sdo.Sequence;
22
23 public interface ESequence extends Sequence
24 {
25   FeatureMap featureMap();
26
27   /**
28    * Adds a new entry with the specified text value to the end of the entries.
29    * @param text the value for the entry.
30    */

31   void add(String JavaDoc text);
32
33   /**
34    * Adds a new entry with the specified text value at the specified entry index.
35    * @param index the index at which to add the entry.
36    * @param text the value of the entry.
37    */

38   void add(int index, String JavaDoc text);
39 }
40
Popular Tags