org.eclipse.emf.examples.extlibrary
Interface Lendable

All Superinterfaces:
EObject, Notifier
All Known Subinterfaces:
AudioVisualItem, Book, BookOnTape, CirculatingItem, VideoCassette
All Known Implementing Classes:
AudioVisualItemImpl, BookImpl, BookOnTapeImpl, CirculatingItemImpl, VideoCassetteImpl

public interface Lendable
extends EObject

A representation of the model object 'Lendable'.

The following features are supported:

See Also:
EXTLibraryPackage.getLendable()

Method Summary
 EList<Borrower> getBorrowers()
          Returns the value of the 'Borrowers' reference list.
 int getCopies()
          Returns the value of the 'Copies' attribute
 void setCopies(int value)
          Sets the value of the 'Copies' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getCopies

int getCopies()
Returns the value of the 'Copies' attribute.

Returns:
the value of the 'Copies' attribute.
See Also:
setCopies(int), EXTLibraryPackage.getLendable_Copies()

setCopies

void setCopies(int value)
Sets the value of the 'Copies' attribute.

Parameters:
value - the new value of the 'Copies' attribute.
See Also:
getCopies()

getBorrowers

EList<Borrower> getBorrowers()
Returns the value of the 'Borrowers' reference list. The list contents are of type Borrower. It is bidirectional and its opposite is 'Borrowed'.

Returns:
the value of the 'Borrowers' reference list.
See Also:
EXTLibraryPackage.getLendable_Borrowers(), Borrower.getBorrowed()

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.