/** */ package org.eclipse.etrice.core.room; import org.eclipse.emf.common.util.EList; /** * * A representation of the model object 'Enumeration Type'. * * * *
A sub type of {@link DataType} for enumerations. * The EnumerationType can be associated with a {@link PrimitiveType} as value type for * the {@link EnumLiteral}s. It has to contain at least one literal. * * * *

* The following features are supported: *

* * * @see org.eclipse.etrice.core.room.RoomPackage#getEnumerationType() * @model * @generated */ public interface EnumerationType extends DataType { /** * Returns the value of the 'Primitive Type' reference. * * * *
The value type of the literals. * * * @return the value of the 'Primitive Type' reference. * @see #setPrimitiveType(PrimitiveType) * @see org.eclipse.etrice.core.room.RoomPackage#getEnumerationType_PrimitiveType() * @model * @generated */ PrimitiveType getPrimitiveType(); /** * Sets the value of the '{@link org.eclipse.etrice.core.room.EnumerationType#getPrimitiveType Primitive Type}' reference. * * * @param value the new value of the 'Primitive Type' reference. * @see #getPrimitiveType() * @generated */ void setPrimitiveType(PrimitiveType value); /** * Returns the value of the 'Literals' containment reference list. * The list contents are of type {@link org.eclipse.etrice.core.room.EnumLiteral}. * *

* If the meaning of the 'Literals' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Literals' containment reference list. * @see org.eclipse.etrice.core.room.RoomPackage#getEnumerationType_Literals() * @model containment="true" * @generated */ EList getLiterals(); } // EnumerationType