blob: 01d8fdba14f0890c97adef4346a16c4715dd9f88 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 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.jaxb.core.context;
import org.eclipse.jpt.common.utility.internal.iterables.ListIterable;
import org.eclipse.jpt.jaxb.core.context.java.JavaContextNode;
public interface XmlElementRefs
extends JavaContextNode {
// ***** XmlElementRefs *****
String XML_ELEMENT_REFS_LIST = "xmlElementRefs"; //$NON-NLS-1$
ListIterable<XmlElementRef> getXmlElementRefs();
int getXmlElementRefsSize();
XmlElementRef addXmlElementRef(int index);
void removeXmlElementRef(int index);
void removeXmlElementRef(XmlElementRef xmlElementRef);
void moveXmlElementRef(int targetIndex, int sourceIndex);
// ***** misc *****
/**
* Return all directly referenced xml types, fully qualified.
* (Used for constructing Jaxb context)
*/
Iterable<String> getReferencedXmlTypeNames();
}