diff options
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/issues/bz225296_2/ops/Role.java')
-rw-r--r-- | examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/issues/bz225296_2/ops/Role.java | 231 |
1 files changed, 231 insertions, 0 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/issues/bz225296_2/ops/Role.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/issues/bz225296_2/ops/Role.java new file mode 100644 index 000000000..e99cc50f1 --- /dev/null +++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/issues/bz225296_2/ops/Role.java @@ -0,0 +1,231 @@ +/** + * <copyright> + * </copyright> + * + * $Id: Role.java,v 1.1 2008/04/06 13:45:43 mtaal Exp $ + */ +package org.eclipse.emf.teneo.samples.issues.bz225296_2.ops; + +import java.util.Date; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Role</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getInterface <em>Interface</em>}</li> + * <li>{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getVserver <em>Vserver</em>}</li> + * <li>{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getRequiredInterface <em>Required Interface</em>}</li> + * <li>{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getId <em>Id</em>}</li> + * <li>{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getModified <em>Modified</em>}</li> + * <li>{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getRevision <em>Revision</em>}</li> + * <li>{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getMuninInfo <em>Munin Info</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.OpsPackage#getRole() + * @model annotation="teneo.jpa appinfo='@Table(name=\"ops_role\")'" + * annotation="webamg.emf user.key='name'" + * @generated + */ +public interface Role 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.issues.bz225296_2.ops.OpsPackage#getRole_Name() + * @model annotation="teneo.jpa appinfo='@Column(unique=\"true\")'" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#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>Interface</b></em>' reference list. + * The list contents are of type {@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Interface}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Interface#getRole <em>Role</em>}'. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Interface</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Interface</em>' reference list. + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.OpsPackage#getRole_Interface() + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Interface#getRole + * @model opposite="role" + * annotation="teneo.jpa appinfo='@ManyToMany(indexed=\"false\" )'" + * annotation="teneo.jpa appinfo='@JoinTable(name=\"ops_role_interface\" joinColumns=@JoinColumn(name=\"role_id\" nullable=\"false\") inverseJoinColumns=@JoinColumn(name=\"interface_id\" nullable=\"false\"))'" + * annotation="teneo.hibernate appinfo='@Fetch(SUBSELECT)'" + * @generated + */ + EList<Interface> getInterface(); + + /** + * Returns the value of the '<em><b>Vserver</b></em>' reference list. + * The list contents are of type {@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.VServer}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.VServer#getRole <em>Role</em>}'. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Vserver</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Vserver</em>' reference list. + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.OpsPackage#getRole_Vserver() + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.VServer#getRole + * @model opposite="role" + * annotation="teneo.jpa appinfo='@JoinColumn(name=\"role_id\")'" + * annotation="teneo.jpa appinfo='@OneToMany(indexed=\"false\" )'" + * annotation="teneo.hibernate appinfo='@Fetch(SUBSELECT)'" + * @generated + */ + EList<VServer> getVserver(); + + /** + * Returns the value of the '<em><b>Required Interface</b></em>' reference list. + * The list contents are of type {@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Interface}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Required Interface</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Required Interface</em>' reference list. + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.OpsPackage#getRole_RequiredInterface() + * @model annotation="teneo.jpa appinfo='@ManyToMany(indexed=\"false\" )'" + * annotation="teneo.jpa appinfo='@JoinTable(name=\"ops_role_requredinterface\" joinColumns=@JoinColumn(name=\"role_id\" nullable=\"false\") inverseJoinColumns=@JoinColumn(name=\"interface_id\" nullable=\"false\"))'" + * annotation="teneo.hibernate appinfo='@Fetch(SUBSELECT)'" + * @generated + */ + EList<Interface> getRequiredInterface(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(long) + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.OpsPackage#getRole_Id() + * @model annotation="teneo.jpa appinfo='@GeneratedValue'" + * annotation="teneo.jpa appinfo='@Id'" + * @generated + */ + long getId(); + + /** + * Sets the value of the '{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(long value); + + /** + * Returns the value of the '<em><b>Modified</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Modified</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Modified</em>' attribute. + * @see #setModified(Date) + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.OpsPackage#getRole_Modified() + * @model unique="false" + * annotation="teneo.jpa appinfo='@Temporal(TIMESTAMP)'" + * annotation="teneo.jpa appinfo='@Column(columnDefinition=\"timestamp\" insertable=\"false\" updatable=\"false\")'" + * annotation="teneo.hibernate appinfo='@Generated(ALWAYS)'" + * @generated + */ + Date getModified(); + + /** + * Sets the value of the '{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getModified <em>Modified</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Modified</em>' attribute. + * @see #getModified() + * @generated + */ + void setModified(Date value); + + /** + * Returns the value of the '<em><b>Revision</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Revision</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Revision</em>' attribute. + * @see #setRevision(int) + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.OpsPackage#getRole_Revision() + * @model unique="false" + * annotation="teneo.jpa appinfo='@Version'" + * annotation="teneo.jpa appinfo='@Column(name=\"e_version\")'" + * @generated + */ + int getRevision(); + + /** + * Sets the value of the '{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Role#getRevision <em>Revision</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Revision</em>' attribute. + * @see #getRevision() + * @generated + */ + void setRevision(int value); + + /** + * Returns the value of the '<em><b>Munin Info</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.MuninInfo}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.MuninInfo#getRole <em>Role</em>}'. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Munin Info</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>Munin Info</em>' containment reference list. + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.OpsPackage#getRole_MuninInfo() + * @see org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.MuninInfo#getRole + * @model opposite="role" containment="true" + * annotation="teneo.jpa appinfo='@JoinColumn(name=\"role_id\")'" + * annotation="teneo.jpa appinfo='@OneToMany(indexed=\"false\" )'" + * annotation="teneo.hibernate appinfo='@Fetch(SUBSELECT)'" + * @generated + */ + EList<MuninInfo> getMuninInfo(); + +} // Role |