blob: 7ae8497b03112984fa6c92cff017c41dc86452c4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2018 Willink Transformations 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:
* E.D.Willink - initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.xtext.basecs;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Enum Literal CS</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.xtext.basecs.EnumerationLiteralCS#getLiteral <em>Literal</em>}</li>
* <li>{@link org.eclipse.ocl.xtext.basecs.EnumerationLiteralCS#getValue <em>Value</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getEnumerationLiteralCS()
* @model
* @generated
*/
public interface EnumerationLiteralCS extends NamedElementCS {
/**
* Returns the value of the '<em><b>Literal</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Literal</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Literal</em>' attribute.
* @see #setLiteral(String)
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getEnumerationLiteralCS_Literal()
* @model
* @generated
*/
String getLiteral();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.EnumerationLiteralCS#getLiteral <em>Literal</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Literal</em>' attribute.
* @see #getLiteral()
* @generated
*/
void setLiteral(String value);
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(int)
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getEnumerationLiteralCS_Value()
* @model
* @generated
*/
int getValue();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.EnumerationLiteralCS#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
void setValue(int value);
} // EnumLiteralCS