All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.ocl.expressions.TupleLiteralPart Maven / Gradle / Ivy

/**
 * 
 * 
 * Copyright (c) 2006, 2008 IBM Corporation, Zeligsoft Inc., 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
 *   Zeligsoft - Bug 207365
 * 
 * 
 *
 * $Id: TupleLiteralPart.java,v 1.8 2009/12/22 18:53:30 ewillink Exp $
 */
package org.eclipse.ocl.expressions;

import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.ocl.utilities.TypedASTNode;
import org.eclipse.ocl.utilities.TypedElement;
import org.eclipse.ocl.utilities.Visitable;

/**
 * 
 * A representation of the model object 'Tuple Literal Part'.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.ocl.expressions.TupleLiteralPart#getValue Value}
  • *
  • {@link org.eclipse.ocl.expressions.TupleLiteralPart#getAttribute Attribute}
  • *
*

* * @see org.eclipse.ocl.expressions.ExpressionsPackage#getTupleLiteralPart() * @model * @generated */ public interface TupleLiteralPart extends TypedElement, Visitable, TypedASTNode { /** * Returns the value of the 'Value' containment reference. * *

* If the meaning of the 'Value' containment reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Value' containment reference. * @see #setValue(OCLExpression) * @see org.eclipse.ocl.expressions.ExpressionsPackage#getTupleLiteralPart_Value() * @model containment="true" * @generated */ OCLExpression getValue(); /** * Sets the value of the '{@link org.eclipse.ocl.expressions.TupleLiteralPart#getValue Value}' containment reference. * * * @param value the new value of the 'Value' containment reference. * @see #getValue() * @generated */ void setValue(OCLExpression value); /** * Returns the value of the 'Attribute' reference. * *

* If the meaning of the 'Attribute' reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Attribute' reference. * @see #setAttribute(Object) * @see org.eclipse.ocl.expressions.ExpressionsPackage#getTupleLiteralPart_Attribute() * @model kind="reference" * @generated */ P getAttribute(); /** * Sets the value of the '{@link org.eclipse.ocl.expressions.TupleLiteralPart#getAttribute Attribute}' reference. * * * @param value the new value of the 'Attribute' reference. * @see #getAttribute() * @generated */ void setAttribute(P value); /** * * * * attribute.type = value.type * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean checkValueType(DiagnosticChain diagnostics, Map context); } // TupleLiteralPart




© 2015 - 2024 Weber Informatics LLC | Privacy Policy