| /* |
| * Copyright (c) 2005, 2006 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM - initial API and implementation |
| * |
| * $Id: LiteralInteger.java,v 1.5 2006/05/12 20:38:03 khussey Exp $ |
| */ |
| 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 literal integer is a specification of an integer value. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.uml.LiteralInteger#getValue <em>Value</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @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. |
| * <!-- 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.uml.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 |