nitind | d6e591d | 2005-03-14 22:21:57 +0000 | [diff] [blame] | 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2001, 2004 IBM Corporation and others. |
| 3 | * All rights reserved. This program and the accompanying materials |
| 4 | * are made available under the terms of the Eclipse Public License v1.0 |
| 5 | * which accompanies this distribution, and is available at |
| 6 | * http://www.eclipse.org/legal/epl-v10.html |
| 7 | * |
| 8 | * Contributors: |
| 9 | * IBM Corporation - initial API and implementation |
| 10 | *******************************************************************************/ |
| 11 | |
| 12 | package org.eclipse.wst.dtd.core.internal.emf; |
| 13 | |
| 14 | import org.eclipse.emf.common.util.EList; |
| 15 | import org.eclipse.emf.ecore.ENamedElement; |
| 16 | |
| 17 | /** |
| 18 | * <!-- begin-user-doc --> A representation of the model object '<em><b>Entity</b></em>'. |
| 19 | * <!-- end-user-doc --> |
| 20 | * |
| 21 | * <p> |
| 22 | * The following features are supported: |
| 23 | * <ul> |
| 24 | * <li>{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#getComment <em>Comment</em>}</li> |
| 25 | * <li>{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#isParameterEntity <em>Parameter Entity</em>}</li> |
| 26 | * <li>{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#getContent <em>Content</em>}</li> |
| 27 | * <li>{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#getParmEntityRef <em>Parm Entity Ref</em>}</li> |
| 28 | * <li>{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#getEntityReference <em>Entity Reference</em>}</li> |
| 29 | * <li>{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#getAttributeNameReference <em>Attribute Name Reference</em>}</li> |
| 30 | * <li>{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#getAttributeTypeReference <em>Attribute Type Reference</em>}</li> |
| 31 | * </ul> |
| 32 | * </p> |
| 33 | * |
| 34 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDPackage#getDTDEntity() |
| 35 | * @model |
| 36 | * @generated |
| 37 | */ |
| 38 | public interface DTDEntity extends ENamedElement, DTDContent, DTDObject, DTDSourceOffset { |
| 39 | /** |
| 40 | * Returns the value of the '<em><b>Comment</b></em>' attribute. <!-- |
| 41 | * begin-user-doc --> |
| 42 | * <p> |
| 43 | * If the meaning of the '<em>Comment</em>' attribute isn't clear, |
| 44 | * there really should be more of a description here... |
| 45 | * </p> |
| 46 | * <!-- end-user-doc --> |
| 47 | * |
| 48 | * @return the value of the '<em>Comment</em>' attribute. |
| 49 | * @see #setComment(String) |
| 50 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDPackage#getDTDEntity_Comment() |
| 51 | * @model |
| 52 | * @generated |
| 53 | */ |
| 54 | String getComment(); |
| 55 | |
| 56 | /** |
| 57 | * Sets the value of the '{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#getComment <em>Comment</em>}' |
| 58 | * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> |
| 59 | * |
| 60 | * @param value |
| 61 | * the new value of the '<em>Comment</em>' attribute. |
| 62 | * @see #getComment() |
| 63 | * @generated |
| 64 | */ |
| 65 | void setComment(String value); |
| 66 | |
| 67 | /** |
| 68 | * Returns the value of the '<em><b>Parameter Entity</b></em>' |
| 69 | * attribute. <!-- begin-user-doc --> |
| 70 | * <p> |
| 71 | * If the meaning of the '<em>Parameter Entity</em>' attribute isn't |
| 72 | * clear, there really should be more of a description here... |
| 73 | * </p> |
| 74 | * <!-- end-user-doc --> |
| 75 | * |
| 76 | * @return the value of the '<em>Parameter Entity</em>' attribute. |
| 77 | * @see #setParameterEntity(boolean) |
| 78 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDPackage#getDTDEntity_ParameterEntity() |
| 79 | * @model |
| 80 | * @generated |
| 81 | */ |
| 82 | boolean isParameterEntity(); |
| 83 | |
| 84 | /** |
| 85 | * Sets the value of the '{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#isParameterEntity <em>Parameter Entity</em>}' |
| 86 | * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> |
| 87 | * |
| 88 | * @param value |
| 89 | * the new value of the '<em>Parameter Entity</em>' |
| 90 | * attribute. |
| 91 | * @see #isParameterEntity() |
| 92 | * @generated |
| 93 | */ |
| 94 | void setParameterEntity(boolean value); |
| 95 | |
| 96 | /** |
| 97 | * Returns the value of the '<em><b>Content</b></em>' containment |
| 98 | * reference. It is bidirectional and its opposite is '{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntityContent#getDTDEntity <em>DTD Entity</em>}'. |
| 99 | * <!-- begin-user-doc --> |
| 100 | * <p> |
| 101 | * If the meaning of the '<em>Content</em>' containment reference |
| 102 | * isn't clear, there really should be more of a description here... |
| 103 | * </p> |
| 104 | * <!-- end-user-doc --> |
| 105 | * |
| 106 | * @return the value of the '<em>Content</em>' containment reference. |
| 107 | * @see #setContent(DTDEntityContent) |
| 108 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDPackage#getDTDEntity_Content() |
| 109 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDEntityContent#getDTDEntity |
| 110 | * @model opposite="DTDEntity" containment="true" required="true" |
| 111 | * @generated |
| 112 | */ |
| 113 | DTDEntityContent getContent(); |
| 114 | |
| 115 | /** |
| 116 | * Sets the value of the '{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#getContent <em>Content</em>}' |
| 117 | * containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> |
| 118 | * |
| 119 | * @param value |
| 120 | * the new value of the '<em>Content</em>' containment |
| 121 | * reference. |
| 122 | * @see #getContent() |
| 123 | * @generated |
| 124 | */ |
| 125 | void setContent(DTDEntityContent value); |
| 126 | |
| 127 | /** |
| 128 | * Returns the value of the '<em><b>Parm Entity Ref</b></em>' |
| 129 | * reference. It is bidirectional and its opposite is '{@link org.eclipse.wst.dtd.core.internal.emf.DTDParameterEntityReference#getEntity <em>Entity</em>}'. |
| 130 | * <!-- begin-user-doc --> |
| 131 | * <p> |
| 132 | * If the meaning of the '<em>Parm Entity Ref</em>' reference isn't |
| 133 | * clear, there really should be more of a description here... |
| 134 | * </p> |
| 135 | * <!-- end-user-doc --> |
| 136 | * |
| 137 | * @return the value of the '<em>Parm Entity Ref</em>' reference. |
| 138 | * @see #setParmEntityRef(DTDParameterEntityReference) |
| 139 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDPackage#getDTDEntity_ParmEntityRef() |
| 140 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDParameterEntityReference#getEntity |
| 141 | * @model opposite="entity" required="true" |
| 142 | * @generated |
| 143 | */ |
| 144 | DTDParameterEntityReference getParmEntityRef(); |
| 145 | |
| 146 | /** |
| 147 | * Sets the value of the '{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntity#getParmEntityRef <em>Parm Entity Ref</em>}' |
| 148 | * reference. <!-- begin-user-doc --> <!-- end-user-doc --> |
| 149 | * |
| 150 | * @param value |
| 151 | * the new value of the '<em>Parm Entity Ref</em>' |
| 152 | * reference. |
| 153 | * @see #getParmEntityRef() |
| 154 | * @generated |
| 155 | */ |
| 156 | void setParmEntityRef(DTDParameterEntityReference value); |
| 157 | |
| 158 | /** |
| 159 | * Returns the value of the '<em><b>Entity Reference</b></em>' |
| 160 | * reference list. The list contents are of type |
| 161 | * {@link DTDEntityReferenceContent}. It is bidirectional and its |
| 162 | * opposite is '{@link org.eclipse.wst.dtd.core.internal.emf.DTDEntityReferenceContent#getElementReferencedEntity <em>Element Referenced Entity</em>}'. |
| 163 | * <!-- begin-user-doc --> |
| 164 | * <p> |
| 165 | * If the meaning of the '<em>Entity Reference</em>' reference list |
| 166 | * isn't clear, there really should be more of a description here... |
| 167 | * </p> |
| 168 | * <!-- end-user-doc --> |
| 169 | * |
| 170 | * @return the value of the '<em>Entity Reference</em>' reference |
| 171 | * list. |
| 172 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDPackage#getDTDEntity_EntityReference() |
| 173 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDEntityReferenceContent#getElementReferencedEntity |
| 174 | * @model type="DTDEntityReferenceContent" |
| 175 | * opposite="elementReferencedEntity" |
| 176 | * @generated |
| 177 | */ |
| 178 | EList getEntityReference(); |
| 179 | |
| 180 | /** |
| 181 | * Returns the value of the '<em><b>Attribute Name Reference</b></em>' |
| 182 | * reference list. The list contents are of type {@link DTDAttribute}. It |
| 183 | * is bidirectional and its opposite is '{@link org.eclipse.wst.dtd.core.internal.emf.DTDAttribute#getAttributeNameReferencedEntity <em>Attribute Name Referenced Entity</em>}'. |
| 184 | * <!-- begin-user-doc --> |
| 185 | * <p> |
| 186 | * If the meaning of the '<em>Attribute Name Reference</em>' reference |
| 187 | * list isn't clear, there really should be more of a description here... |
| 188 | * </p> |
| 189 | * <!-- end-user-doc --> |
| 190 | * |
| 191 | * @return the value of the '<em>Attribute Name Reference</em>' |
| 192 | * reference list. |
| 193 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDPackage#getDTDEntity_AttributeNameReference() |
| 194 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDAttribute#getAttributeNameReferencedEntity |
| 195 | * @model type="DTDAttribute" opposite="attributeNameReferencedEntity" |
| 196 | * @generated |
| 197 | */ |
| 198 | EList getAttributeNameReference(); |
| 199 | |
| 200 | /** |
| 201 | * Returns the value of the '<em><b>Attribute Type Reference</b></em>' |
| 202 | * reference list. The list contents are of type {@link DTDAttribute}. It |
| 203 | * is bidirectional and its opposite is '{@link org.eclipse.wst.dtd.core.internal.emf.DTDAttribute#getAttributeTypeReferencedEntity <em>Attribute Type Referenced Entity</em>}'. |
| 204 | * <!-- begin-user-doc --> |
| 205 | * <p> |
| 206 | * If the meaning of the '<em>Attribute Type Reference</em>' reference |
| 207 | * list isn't clear, there really should be more of a description here... |
| 208 | * </p> |
| 209 | * <!-- end-user-doc --> |
| 210 | * |
| 211 | * @return the value of the '<em>Attribute Type Reference</em>' |
| 212 | * reference list. |
| 213 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDPackage#getDTDEntity_AttributeTypeReference() |
| 214 | * @see org.eclipse.wst.dtd.core.internal.emf.DTDAttribute#getAttributeTypeReferencedEntity |
| 215 | * @model type="DTDAttribute" opposite="attributeTypeReferencedEntity" |
| 216 | * @generated |
| 217 | */ |
| 218 | EList getAttributeTypeReference(); |
| 219 | |
| 220 | } // DTDEntity |