blob: a222387b4944d9f934304dea7ef035d68cf6f079 [file] [log] [blame]
/*
* Copyright (c) 2005, 2018 IBM Corporation, CEA, 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
* Kenn Hussey (CEA) - 327039, 418466, 451350
* Christian W. Damus (CEA) - 251963
* Kenn Hussey - 535301
*
*/
package org.eclipse.uml2.uml;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Literal Integer</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A LiteralInteger is a specification of an Integer value.
* <p>From package UML::Values.</p>
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.uml2.uml.LiteralInteger#getValue <em>Value</em>}</li>
* </ul>
*
* @see org.eclipse.uml2.uml.UMLPackage#getLiteralInteger()
* @model
* @generated
*/
public interface LiteralInteger
extends LiteralSpecification {
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* The default value is <code>"0"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The specified Integer value.
* <p>From package UML::Values.</p>
* <!-- end-model-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(int)
* @see org.eclipse.uml2.uml.UMLPackage#getLiteralInteger_Value()
* @model default="0" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false"
* @generated
*/
int getValue();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.LiteralInteger#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);
} // LiteralInteger