blob: e7b8ba9aaf51db964b84060476e1304532457a3d [file] [log] [blame]
/*
* Copyright (c) 2005, 2011 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 v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - initial API and implementation
* Kenn Hussey (CEA) - 327039
*
* $Id: LiteralUnlimitedNatural.java,v 1.6 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 Unlimited Natural</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A literal unlimited natural is a specification of an unlimited natural number.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.uml.LiteralUnlimitedNatural#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.uml.UMLPackage#getLiteralUnlimitedNatural()
* @model
* @generated
*/
public interface LiteralUnlimitedNatural
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 UnlimitedNatural value.
* <!-- end-model-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(int)
* @see org.eclipse.uml2.uml.UMLPackage#getLiteralUnlimitedNatural_Value()
* @model default="0" dataType="org.eclipse.uml2.types.UnlimitedNatural" required="true" ordered="false"
* @generated
*/
int getValue();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.LiteralUnlimitedNatural#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);
int UNLIMITED = -1;
} // LiteralUnlimitedNatural