org.eclipse.xsd.XSDAttributeDeclaration Maven / Gradle / Ivy
/**
* Copyright (c) 2002-2004 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;
/**
*
* A representation of the model object
* 'Attribute Declaration'.
*
*
*
* The following features are supported:
*
*
* - {@link org.eclipse.xsd.XSDAttributeDeclaration#isAttributeDeclarationReference Attribute Declaration Reference}
* - {@link org.eclipse.xsd.XSDAttributeDeclaration#getAnnotation Annotation}
* - {@link org.eclipse.xsd.XSDAttributeDeclaration#getAnonymousTypeDefinition Anonymous Type Definition}
* - {@link org.eclipse.xsd.XSDAttributeDeclaration#getTypeDefinition Type Definition}
* - {@link org.eclipse.xsd.XSDAttributeDeclaration#getResolvedAttributeDeclaration Resolved Attribute Declaration}
*
*
* @see org.eclipse.xsd.XSDPackage#getXSDAttributeDeclaration()
* @model
* @generated
*/
public interface XSDAttributeDeclaration extends XSDFeature, XSDSchemaContent
{
/**
* Returns the value of the 'Attribute Declaration Reference' attribute.
*
*
* This concrete attribute is equivalent to
*
* xsdAttributeDeclaration != xsdAttributeDeclaration.{@link #getResolvedAttributeDeclaration getResolvedAttributeDeclaration}()
*
* An infoset feature will never return an instance for which this is the true
* since this is a concrete attribute that is used to represent an attribute declaration
* with a ref attribute.
*
*
* @return the value of the 'Attribute Declaration Reference' attribute.
* @see org.eclipse.xsd.XSDPackage#getXSDAttributeDeclaration_AttributeDeclarationReference()
* @model changeable="false" volatile="true"
* @generated
*/
boolean isAttributeDeclarationReference();
/**
* Returns the value of the 'Annotation' containment reference.
*
*
* This represents the
* annotation
* infoset property.
*
*
* @return the value of the 'Annotation' containment reference.
* @see #setAnnotation(XSDAnnotation)
* @see org.eclipse.xsd.XSDPackage#getXSDAttributeDeclaration_Annotation()
* @model containment="true"
* @generated
*/
XSDAnnotation getAnnotation();
/**
* Sets the value of the '{@link org.eclipse.xsd.XSDAttributeDeclaration#getAnnotation Annotation}' containment reference.
*
*
* @param value the new value of the 'Annotation' containment reference.
* @see #getAnnotation()
* @generated
*/
void setAnnotation(XSDAnnotation value);
/**
* Returns the value of the 'Anonymous Type Definition' containment reference.
*
*
* This concrete reference represents a simple type definition defined within the body of an
* attribute element.
*
*
* @return the value of the 'Anonymous Type Definition' containment reference.
* @see #setAnonymousTypeDefinition(XSDSimpleTypeDefinition)
* @see org.eclipse.xsd.XSDPackage#getXSDAttributeDeclaration_AnonymousTypeDefinition()
* @model containment="true"
* @generated
*/
XSDSimpleTypeDefinition getAnonymousTypeDefinition();
/**
* Sets the value of the '{@link org.eclipse.xsd.XSDAttributeDeclaration#getAnonymousTypeDefinition Anonymous Type Definition}' containment reference.
*
*
* @param value the new value of the 'Anonymous Type Definition' containment reference.
* @see #getAnonymousTypeDefinition()
* @generated
*/
void setAnonymousTypeDefinition(XSDSimpleTypeDefinition value);
/**
* Returns the value of the 'Type Definition' reference.
*
*
* This represents the
* type definition
* infoset property.
*
*
* @return the value of the 'Type Definition' reference.
* @see #setTypeDefinition(XSDSimpleTypeDefinition)
* @see org.eclipse.xsd.XSDPackage#getXSDAttributeDeclaration_TypeDefinition()
* @model resolveProxies="false" required="true"
* @generated
*/
XSDSimpleTypeDefinition getTypeDefinition();
/**
* Sets the value of the '{@link org.eclipse.xsd.XSDAttributeDeclaration#getTypeDefinition Type Definition}' reference.
*
*
* @param value the new value of the 'Type Definition' reference.
* @see #getTypeDefinition()
* @generated
*/
void setTypeDefinition(XSDSimpleTypeDefinition value);
/**
* Returns the value of the 'Resolved Attribute Declaration' reference.
*
*
* This concrete reference represents the attribute declaration
* resolved by the ref attribute.
*
*
* @return the value of the 'Resolved Attribute Declaration' reference.
* @see #setResolvedAttributeDeclaration(XSDAttributeDeclaration)
* @see org.eclipse.xsd.XSDPackage#getXSDAttributeDeclaration_ResolvedAttributeDeclaration()
* @model resolveProxies="false" required="true"
* @generated
*/
XSDAttributeDeclaration getResolvedAttributeDeclaration();
/**
* Sets the value of the '{@link org.eclipse.xsd.XSDAttributeDeclaration#getResolvedAttributeDeclaration Resolved Attribute Declaration}' reference.
*
*
* @param value the new value of the 'Resolved Attribute Declaration' reference.
* @see #getResolvedAttributeDeclaration()
* @generated
*/
void setResolvedAttributeDeclaration(XSDAttributeDeclaration value);
}