org.eclipse.emf.test.models.library
Interface Book

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
BookImpl

public interface Book
extends EObject

A representation of the model object 'Book'.

The following features are supported:

See Also:
LibraryPackage.getBook()

Method Summary
 Writer getAuthor()
          Returns the value of the 'Author' reference.
 BookCategory getCategory()
          Returns the value of the 'Category' attribute.
 int getPages()
          Returns the value of the 'Pages' attribute.
 java.lang.String getTitle()
          Returns the value of the 'Title' attribute
 void setAuthor(Writer value)
          Sets the value of the 'Author' reference
 void setCategory(BookCategory value)
          Sets the value of the 'Category' attribute
 void setPages(int value)
          Sets the value of the 'Pages' attribute
 void setTitle(java.lang.String value)
          Sets the value of the 'Title' 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

getTitle

java.lang.String getTitle()
Returns the value of the 'Title' attribute.

If the meaning of the 'Title' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Title' attribute.
See Also:
setTitle(String), LibraryPackage.getBook_Title()

setTitle

void setTitle(java.lang.String value)
Sets the value of the 'Title' attribute.

Parameters:
value - the new value of the 'Title' attribute.
See Also:
getTitle()

getPages

int getPages()
Returns the value of the 'Pages' attribute. The default value is "100".

If the meaning of the 'Pages' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Pages' attribute.
See Also:
setPages(int), LibraryPackage.getBook_Pages()

setPages

void setPages(int value)
Sets the value of the 'Pages' attribute.

Parameters:
value - the new value of the 'Pages' attribute.
See Also:
getPages()

getCategory

BookCategory getCategory()
Returns the value of the 'Category' attribute. The literals are from the enumeration BookCategory.

If the meaning of the 'Category' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Category' attribute.
See Also:
BookCategory, setCategory(BookCategory), LibraryPackage.getBook_Category()

setCategory

void setCategory(BookCategory value)
Sets the value of the 'Category' attribute.

Parameters:
value - the new value of the 'Category' attribute.
See Also:
BookCategory, getCategory()

getAuthor

Writer getAuthor()
Returns the value of the 'Author' reference. It is bidirectional and its opposite is 'Books'.

If the meaning of the 'Author' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Author' reference.
See Also:
setAuthor(Writer), LibraryPackage.getBook_Author(), Writer.getBooks()

setAuthor

void setAuthor(Writer value)
Sets the value of the 'Author' reference.

Parameters:
value - the new value of the 'Author' reference.
See Also:
getAuthor()

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