blob: 244015dc87aaf1ed909833fef1e6d3241045c03b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014 CEA LIST 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:
* E.D.Willink (CEA LIST) - Initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.pivot;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Type Extension</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.pivot.StereotypeExtender#getClass_ <em>Class</em>}</li>
* <li>{@link org.eclipse.ocl.pivot.StereotypeExtender#isRequired <em>Is Required</em>}</li>
* <li>{@link org.eclipse.ocl.pivot.StereotypeExtender#getOwningStereotype <em>Owning Stereotype</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.pivot.PivotPackage#getStereotypeExtender()
* @generated
*/
public interface StereotypeExtender extends Element
{
/**
* Returns the value of the '<em><b>Is Required</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is 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>Is Required</em>' attribute.
* @see #setIsRequired(boolean)
* @see org.eclipse.ocl.pivot.PivotPackage#getStereotypeExtender_IsRequired()
* @generated
*/
boolean isRequired();
/**
* Sets the value of the '{@link org.eclipse.ocl.pivot.StereotypeExtender#isRequired <em>Is Required</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Required</em>' attribute.
* @see #isRequired()
* @generated
*/
void setIsRequired(boolean value);
/**
* Returns the value of the '<em><b>Owning Stereotype</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.ocl.pivot.Stereotype#getOwnedExtenders <em>Owned Extenders</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owning Stereotype</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Owning Stereotype</em>' container reference.
* @see #setOwningStereotype(Stereotype)
* @see org.eclipse.ocl.pivot.PivotPackage#getStereotypeExtender_OwningStereotype()
* @see org.eclipse.ocl.pivot.Stereotype#getOwnedExtenders
* @generated
*/
Stereotype getOwningStereotype();
/**
* Sets the value of the '{@link org.eclipse.ocl.pivot.StereotypeExtender#getOwningStereotype <em>Owning Stereotype</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Owning Stereotype</em>' container reference.
* @see #getOwningStereotype()
* @generated
*/
void setOwningStereotype(Stereotype value);
/**
* Returns the value of the '<em><b>Class</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.ocl.pivot.Class#getExtenders <em>Extenders</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Class</em>' reference.
* @see #setClass_(org.eclipse.ocl.pivot.Class)
* @see org.eclipse.ocl.pivot.PivotPackage#getStereotypeExtender_Class()
* @see org.eclipse.ocl.pivot.Class#getExtenders
* @generated
*/
org.eclipse.ocl.pivot.Class getClass_();
/**
* Sets the value of the '{@link org.eclipse.ocl.pivot.StereotypeExtender#getClass_ <em>Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Class</em>' reference.
* @see #getClass_()
* @generated
*/
void setClass_(org.eclipse.ocl.pivot.Class value);
} // TypeExtension