blob: cca0fc2daab273ccd1826d02aaa009808d695c07 [file] [log] [blame]
/*
* Copyright (c) 2005, 2015 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, 418466, 451350
* Christian W. Damus (CEA) - 251963
*
*/
package org.eclipse.uml2.uml;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Literal Boolean</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A LiteralBoolean is a specification of a Boolean value.
* <p>From package UML::Values.</p>
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.uml2.uml.LiteralBoolean#isValue <em>Value</em>}</li>
* </ul>
*
* @see org.eclipse.uml2.uml.UMLPackage#getLiteralBoolean()
* @model
* @generated
*/
public interface LiteralBoolean
extends LiteralSpecification {
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The specified Boolean value.
* <p>From package UML::Values.</p>
* <!-- end-model-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(boolean)
* @see org.eclipse.uml2.uml.UMLPackage#getLiteralBoolean_Value()
* @model default="false" dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false"
* @generated
*/
boolean isValue();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.LiteralBoolean#isValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #isValue()
* @generated
*/
void setValue(boolean value);
} // LiteralBoolean