| /** |
| */ |
| package org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| import org.eclipse.uml2.uml.Enumeration; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Enum Style</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * Enumeration style can be choosen individually on an enumeration or on a package (applying to all elements within) |
| * The "nearest" Enum style hint has precedence |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.EnumStyle#getBase_Enumeration <em>Base Enumeration</em>}</li> |
| * <li>{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.EnumStyle#isClassEnum <em>Class Enum</em>}</li> |
| * <li>{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.EnumStyle#getBase_Package <em>Base Package</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getEnumStyle() |
| * @model |
| * @generated |
| */ |
| public interface EnumStyle extends EObject { |
| /** |
| * Returns the value of the '<em><b>Base Enumeration</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Base Enumeration</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Base Enumeration</em>' reference. |
| * @see #setBase_Enumeration(Enumeration) |
| * @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getEnumStyle_Base_Enumeration() |
| * @model ordered="false" |
| * @generated |
| */ |
| Enumeration getBase_Enumeration(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.EnumStyle#getBase_Enumeration <em>Base Enumeration</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Base Enumeration</em>' reference. |
| * @see #getBase_Enumeration() |
| * @generated |
| */ |
| void setBase_Enumeration(Enumeration value); |
| |
| /** |
| * Returns the value of the '<em><b>Class Enum</b></em>' attribute. |
| * The default value is <code>"true"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Class Enum</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Class Enum</em>' attribute. |
| * @see #setClassEnum(boolean) |
| * @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getEnumStyle_ClassEnum() |
| * @model default="true" unique="false" dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false" |
| * @generated |
| */ |
| boolean isClassEnum(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.EnumStyle#isClassEnum <em>Class Enum</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Class Enum</em>' attribute. |
| * @see #isClassEnum() |
| * @generated |
| */ |
| void setClassEnum(boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Base Package</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Base Package</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Base Package</em>' reference. |
| * @see #setBase_Package(org.eclipse.uml2.uml.Package) |
| * @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getEnumStyle_Base_Package() |
| * @model ordered="false" |
| * @generated |
| */ |
| org.eclipse.uml2.uml.Package getBase_Package(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.EnumStyle#getBase_Package <em>Base Package</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Base Package</em>' reference. |
| * @see #getBase_Package() |
| * @generated |
| */ |
| void setBase_Package(org.eclipse.uml2.uml.Package value); |
| |
| } // EnumStyle |