| /** |
| * Copyright (c) 2005, 2020 IBM Corporation 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: |
| * IBM - Initial API and implementation |
| */ |
| package org.eclipse.ocl.examples.extlibrary; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Audo Visual Item</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.ocl.examples.extlibrary.AudioVisualItem#getTitle <em>Title</em>}</li> |
| * <li>{@link org.eclipse.ocl.examples.extlibrary.AudioVisualItem#getMinutesLength <em>Minutes Length</em>}</li> |
| * <li>{@link org.eclipse.ocl.examples.extlibrary.AudioVisualItem#isDamaged <em>Damaged</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.ocl.examples.extlibrary.EXTLibraryPackage#getAudioVisualItem() |
| * @model abstract="true" |
| * @generated |
| */ |
| public interface AudioVisualItem extends CirculatingItem |
| { |
| /** |
| * Returns the value of the '<em><b>Title</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Title</em>' attribute. |
| * @see #setTitle(String) |
| * @see org.eclipse.ocl.examples.extlibrary.EXTLibraryPackage#getAudioVisualItem_Title() |
| * @model |
| * @generated |
| */ |
| String getTitle(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.examples.extlibrary.AudioVisualItem#getTitle <em>Title</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Title</em>' attribute. |
| * @see #getTitle() |
| * @generated |
| */ |
| void setTitle(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Minutes Length</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Minutes Length</em>' attribute. |
| * @see #setMinutesLength(int) |
| * @see org.eclipse.ocl.examples.extlibrary.EXTLibraryPackage#getAudioVisualItem_MinutesLength() |
| * @model required="true" |
| * @generated |
| */ |
| int getMinutesLength(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.examples.extlibrary.AudioVisualItem#getMinutesLength <em>Minutes Length</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Minutes Length</em>' attribute. |
| * @see #getMinutesLength() |
| * @generated |
| */ |
| void setMinutesLength(int value); |
| |
| /** |
| * Returns the value of the '<em><b>Damaged</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Damaged</em>' attribute. |
| * @see #setDamaged(boolean) |
| * @see org.eclipse.ocl.examples.extlibrary.EXTLibraryPackage#getAudioVisualItem_Damaged() |
| * @model |
| * @generated |
| */ |
| boolean isDamaged(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.examples.extlibrary.AudioVisualItem#isDamaged <em>Damaged</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Damaged</em>' attribute. |
| * @see #isDamaged() |
| * @generated |
| */ |
| void setDamaged(boolean value); |
| |
| } // AudioVisualItem |