org.eclipse.emf.ecp.view.validation.test.model
Interface Book

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
BookImpl

public interface Book
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Book'.

The following features are supported:

See Also:
TestPackage.getBook()

Method Summary
 int getPages()
          Returns the value of the 'Pages' attribute.
 String getTitle()
          Returns the value of the 'Title' attribute.
 Writer getWriters()
          Returns the value of the 'Writers' reference.
 void setPages(int value)
          Sets the value of the 'Pages' attribute.
 void setTitle(String value)
          Sets the value of the 'Title' attribute.
 void setWriters(Writer value)
          Sets the value of the 'Writers' reference.
 boolean validate(org.eclipse.emf.common.util.DiagnosticChain diagnostic, Map<Object,Object> context)
           
 
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

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), TestPackage.getBook_Title()

setTitle

void setTitle(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), TestPackage.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()

getWriters

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

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

Returns:
the value of the 'Writers' reference.
See Also:
setWriters(Writer), TestPackage.getBook_Writers(), Writer.getBooks()

setWriters

void setWriters(Writer value)
Sets the value of the 'Writers' reference.

Parameters:
value - the new value of the 'Writers' reference.
See Also:
getWriters()

validate

boolean validate(org.eclipse.emf.common.util.DiagnosticChain diagnostic,
                 Map<Object,Object> context)



Copyright © 2014. All Rights Reserved.