org.eclipse.xsd.XSDRepeatableFacet Maven / Gradle / Ivy
/**
* Copyright (c) 2002-2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* IBM - Initial API and implementation
*/
package org.eclipse.xsd;
import org.eclipse.emf.common.util.EList;
/**
*
* A representation of the model object 'Repeatable Facet'.
*
*
* Both {@link org.eclipse.xsd.XSDPatternFacet pattern} and {@link org.eclipse.xsd.XSDEnumerationFacet enumeration} facets
* may be repeated in the concrete syntax and yet they are merged into a single component in the infoset model.
* As a result, instances of these two facets are synthesized by
* {@link org.eclipse.xsd.XSDSimpleTypeDefinition#getEffectivePatternFacet()} and
* {@link org.eclipse.xsd.XSDSimpleTypeDefinition#getEffectiveEnumerationFacet()}.
*
*
*
*
* The following features are supported:
*
*
* - {@link org.eclipse.xsd.XSDRepeatableFacet#getAnnotations Annotations}
*
*
* @see org.eclipse.xsd.XSDPackage#getXSDRepeatableFacet()
* @model abstract="true"
* @generated
*/
public interface XSDRepeatableFacet extends XSDConstrainingFacet
{
/**
* Returns the value of the 'Annotations' reference list.
* The list contents are of type {@link org.eclipse.xsd.XSDAnnotation}.
*
*
* This represents the
* enumeration annotation, or
* pattern annotation
* infoset property.
* It is computed from the concrete {@link #getAnnotation() annotation content} and should typically not be modified directly.
*
*
* @return the value of the 'Annotations' reference list.
* @see org.eclipse.xsd.XSDPackage#getXSDRepeatableFacet_Annotations()
* @model resolveProxies="false"
* @generated
*/
EList getAnnotations();
}