diff options
Diffstat (limited to 'plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LiteralBooleanOperations.java')
-rw-r--r-- | plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LiteralBooleanOperations.java | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LiteralBooleanOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LiteralBooleanOperations.java new file mode 100644 index 00000000..c60504fa --- /dev/null +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LiteralBooleanOperations.java @@ -0,0 +1,73 @@ +/* + * Copyright (c) 2005 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: LiteralBooleanOperations.java,v 1.1 2005/11/14 22:25:54 khussey Exp $ + */ +package org.eclipse.uml2.uml.internal.operations; + +import org.eclipse.uml2.uml.LiteralBoolean; + +/** + * <!-- begin-user-doc --> + * A static utility class that provides operations related to '<em><b>Literal Boolean</b></em>' model objects. + * <!-- end-user-doc --> + * + * <p> + * The following operations are supported: + * <ul> + * <li>{@link org.eclipse.uml2.uml.LiteralBoolean#isComputable() <em>Is Computable</em>}</li> + * <li>{@link org.eclipse.uml2.uml.LiteralBoolean#booleanValue() <em>Boolean Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public final class LiteralBooleanOperations { + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private LiteralBooleanOperations() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The query isComputable() is redefined to be true. + * result = true + * <!-- end-model-doc --> + * @generated + */ + public static boolean isComputable(LiteralBoolean literalBoolean) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The query booleanValue() gives the value. + * result = value + * <!-- end-model-doc --> + * @generated + */ + public static boolean booleanValue(LiteralBoolean literalBoolean) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + +} // LiteralBooleanOperations
\ No newline at end of file |