blob: 93f3dc5cb558b2b1c29c3560e265ba6703af98dd [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013, 2018 CEA LIST and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* E.D.Willink(CEA LIST) - Initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.examples.codegen.cgmodel;
import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.ocl.pivot.ids.TypeId;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>CG Typed Element</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement#getTypeId <em>Type Id</em>}</li>
* <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement#isRequired <em>Required</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGTypedElement()
* @generated
*/
public interface CGTypedElement extends CGNamedElement {
/**
* Returns the value of the '<em><b>Type Id</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type Id</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type Id</em>' reference.
* @see #setTypeId(CGTypeId)
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGTypedElement_TypeId()
* @generated
*/
CGTypeId getTypeId();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement#getTypeId <em>Type Id</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type Id</em>' reference.
* @see #getTypeId()
* @generated
*/
void setTypeId(CGTypeId value);
/**
* Returns the value of the '<em><b>Required</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Required</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Required</em>' attribute.
* @see #setRequired(boolean)
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGTypedElement_Required()
* @generated
*/
boolean isRequired();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement#isRequired <em>Required</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Required</em>' attribute.
* @see #isRequired()
* @generated
*/
void setRequired(boolean value);
/**
* Return the TypeId of the pivot element.
*
* @generated
*/
// Generated from org.eclipse.ocl.examples.build.modelspecs.CGTypedElementModelSpec$1
@Nullable TypeId getASTypeId();
} // CGTypedElement