diff options
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/Library.java')
-rw-r--r-- | examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/Library.java | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/Library.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/Library.java new file mode 100644 index 000000000..485c80b4e --- /dev/null +++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/Library.java @@ -0,0 +1,94 @@ +/** + * <copyright> + * </copyright> + * + * $Id: Library.java,v 1.1 2006/07/11 16:57:06 mtaal Exp $ + */ +package org.eclipse.emf.teneo.samples.emf.annotations.lazy; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Library</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.lazy.Library#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.lazy.Library#getWriters <em>Writers</em>}</li> + * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.lazy.Library#getBooks <em>Books</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.teneo.samples.emf.annotations.lazy.LazyPackage#getLibrary() + * @model extendedMetaData="name='Library' kind='elementOnly'" + * @generated + */ +public interface Library extends EObject { + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.emf.teneo.samples.emf.annotations.lazy.LazyPackage#getLibrary_Name() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='element' name='name'" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.lazy.Library#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>Writers</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.emf.teneo.samples.emf.annotations.lazy.Writer}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Writers</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Writers</em>' containment reference list. + * @see org.eclipse.emf.teneo.samples.emf.annotations.lazy.LazyPackage#getLibrary_Writers() + * @model type="org.eclipse.emf.teneo.samples.emf.annotations.lazy.Writer" containment="true" resolveProxies="false" + * annotation="http://annotation.elver.org/OneToMany fetch='EAGER' cascade='ALL' targetEntity='Writer'" + * extendedMetaData="kind='element' name='writers'" + * @generated + */ + EList getWriters(); + + /** + * Returns the value of the '<em><b>Books</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.emf.teneo.samples.emf.annotations.lazy.Book}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Books</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Books</em>' containment reference list. + * @see org.eclipse.emf.teneo.samples.emf.annotations.lazy.LazyPackage#getLibrary_Books() + * @model type="org.eclipse.emf.teneo.samples.emf.annotations.lazy.Book" containment="true" resolveProxies="false" + * annotation="http://annotation.elver.org/OneToMany fetch='EAGER' cascade='ALL' targetEntity='Book'" + * extendedMetaData="kind='element' name='books'" + * @generated + */ + EList getBooks(); + +} // Library |