org.eclipse.emf.examples.extlibrary
Interface Library

All Superinterfaces:
Addressable, EObject, Notifier
All Known Implementing Classes:
LibraryImpl

public interface Library
extends Addressable

A representation of the model object 'Library'.

The following features are supported:

See Also:
EXTLibraryPackage.getLibrary()

Method Summary
 EList<Book> getBooks()
          Returns the value of the 'Books' reference list.
 EList<Borrower> getBorrowers()
          Returns the value of the 'Borrowers' containment reference list.
 EList<Library> getBranches()
          Returns the value of the 'Branches' containment reference list.
 EList<Employee> getEmployees()
          Returns the value of the 'Employees' containment reference list.
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 Library getParentBranch()
          Returns the value of the 'Parent Branch' container reference.
 FeatureMap getPeople()
          Returns the value of the 'People' attribute list.
 EList<Item> getStock()
          Returns the value of the 'Stock' containment reference list.
 EList<Writer> getWriters()
          Returns the value of the 'Writers' containment reference list.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setParentBranch(Library value)
          Sets the value of the 'Parent Branch' container reference
 
Methods inherited from interface org.eclipse.emf.examples.extlibrary.Addressable
getAddress, setAddress
 
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

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), EXTLibraryPackage.getLibrary_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getWriters

EList<Writer> getWriters()
Returns the value of the 'Writers' containment reference list. The list contents are of type Writer.

Returns:
the value of the 'Writers' containment reference list.
See Also:
EXTLibraryPackage.getLibrary_Writers()

getEmployees

EList<Employee> getEmployees()
Returns the value of the 'Employees' containment reference list. The list contents are of type Employee.

Returns:
the value of the 'Employees' containment reference list.
See Also:
EXTLibraryPackage.getLibrary_Employees()

getBorrowers

EList<Borrower> getBorrowers()
Returns the value of the 'Borrowers' containment reference list. The list contents are of type Borrower.

Returns:
the value of the 'Borrowers' containment reference list.
See Also:
EXTLibraryPackage.getLibrary_Borrowers()

getStock

EList<Item> getStock()
Returns the value of the 'Stock' containment reference list. The list contents are of type Item.

Returns:
the value of the 'Stock' containment reference list.
See Also:
EXTLibraryPackage.getLibrary_Stock()

getBooks

EList<Book> getBooks()
Returns the value of the 'Books' reference list. The list contents are of type Book.

Returns:
the value of the 'Books' reference list.
See Also:
EXTLibraryPackage.getLibrary_Books()

getBranches

EList<Library> getBranches()
Returns the value of the 'Branches' containment reference list. The list contents are of type Library. It is bidirectional and its opposite is 'Parent Branch'.

Returns:
the value of the 'Branches' containment reference list.
See Also:
EXTLibraryPackage.getLibrary_Branches(), getParentBranch()

getParentBranch

Library getParentBranch()
Returns the value of the 'Parent Branch' container reference. It is bidirectional and its opposite is 'Branches'.

Returns:
the value of the 'Parent Branch' container reference.
See Also:
setParentBranch(Library), EXTLibraryPackage.getLibrary_ParentBranch(), getBranches()

setParentBranch

void setParentBranch(Library value)
Sets the value of the 'Parent Branch' container reference.

Parameters:
value - the new value of the 'Parent Branch' container reference.
See Also:
getParentBranch()

getPeople

FeatureMap getPeople()
Returns the value of the 'People' attribute list. The list contents are of type FeatureMap.Entry.

Returns:
the value of the 'People' attribute list.
See Also:
EXTLibraryPackage.getLibrary_People()

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