blob: 0782b5e510fa440a9a6fd27a2c37c06f039375c1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 Willink Transformations 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:
* Adolfo Sanchez-Barbudo Herrera - initial API and implementation
*******************************************************************************/
/**
*/
package org.eclipse.qvtd.doc.miniocl;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Property</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.qvtd.doc.miniocl.Property#getOwningClass <em>Owning Class</em>}</li>
* <li>{@link org.eclipse.qvtd.doc.miniocl.Property#getLowerBound <em>Lower Bound</em>}</li>
* <li>{@link org.eclipse.qvtd.doc.miniocl.Property#getUpperBound <em>Upper Bound</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.doc.miniocl.MiniOCLPackage#getProperty()
* @model
* @generated
*/
public interface Property extends Feature {
/**
* Returns the value of the '<em><b>Owning Class</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.qvtd.doc.miniocl.Class#getOwnedProperties <em>Owned Properties</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owning Class</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Owning Class</em>' container reference.
* @see #setOwningClass(org.eclipse.qvtd.doc.miniocl.Class)
* @see org.eclipse.qvtd.doc.miniocl.MiniOCLPackage#getProperty_OwningClass()
* @see org.eclipse.qvtd.doc.miniocl.Class#getOwnedProperties
* @model opposite="ownedProperties" transient="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/qvtd/doc/MiniOCL/1.0!Property!owningClass'"
* @generated
*/
org.eclipse.qvtd.doc.miniocl.Class getOwningClass();
/**
* Sets the value of the '{@link org.eclipse.qvtd.doc.miniocl.Property#getOwningClass <em>Owning Class</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Owning Class</em>' container reference.
* @see #getOwningClass()
* @generated
*/
void setOwningClass(org.eclipse.qvtd.doc.miniocl.Class value);
/**
* Returns the value of the '<em><b>Lower Bound</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Lower Bound</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Lower Bound</em>' attribute.
* @see #setLowerBound(int)
* @see org.eclipse.qvtd.doc.miniocl.MiniOCLPackage#getProperty_LowerBound()
* @model annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/qvtd/doc/MiniOCL/1.0!Property!lowerBound'"
* @generated
*/
int getLowerBound();
/**
* Sets the value of the '{@link org.eclipse.qvtd.doc.miniocl.Property#getLowerBound <em>Lower Bound</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Lower Bound</em>' attribute.
* @see #getLowerBound()
* @generated
*/
void setLowerBound(int value);
/**
* Returns the value of the '<em><b>Upper Bound</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Upper Bound</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Upper Bound</em>' attribute.
* @see #setUpperBound(int)
* @see org.eclipse.qvtd.doc.miniocl.MiniOCLPackage#getProperty_UpperBound()
* @model annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/qvtd/doc/MiniOCL/1.0!Property!upperBound'"
* @generated
*/
int getUpperBound();
/**
* Sets the value of the '{@link org.eclipse.qvtd.doc.miniocl.Property#getUpperBound <em>Upper Bound</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Upper Bound</em>' attribute.
* @see #getUpperBound()
* @generated
*/
void setUpperBound(int value);
} // Property