001    /**
002     * <copyright>
003     * </copyright>
004     *
005     * $Id$
006     */
007    package com.hammurapi.party;
008    
009    import org.eclipse.emf.common.util.EList;
010    
011    import org.eclipse.emf.ecore.EObject;
012    
013    /**
014     * <!-- begin-user-doc -->
015     * A representation of the model object '<em><b>Common Object</b></em>'.
016     * <!-- end-user-doc -->
017     *
018     * <!-- begin-model-doc -->
019     * Superinterface for classes which support role association.
020     * <!-- end-model-doc -->
021     *
022     * <p>
023     * The following features are supported:
024     * <ul>
025     *   <li>{@link com.hammurapi.party.CommonObject#getRoles <em>Roles</em>}</li>
026     * </ul>
027     * </p>
028     *
029     * @see com.hammurapi.party.PartyPackage#getCommonObject()
030     * @model interface="true" abstract="true"
031     * @generated
032     */
033    public interface CommonObject extends EObject {
034            /**
035             * Returns the value of the '<em><b>Roles</b></em>' containment reference list.
036             * The list contents are of type {@link com.hammurapi.party.Role}.
037             * It is bidirectional and its opposite is '{@link com.hammurapi.party.Role#getOwner <em>Owner</em>}'.
038             * <!-- begin-user-doc -->
039             * <!-- end-user-doc -->
040             * <!-- begin-model-doc -->
041             * Common object can have multple party roles associated with it. Role has one owner.
042             * <!-- end-model-doc -->
043             * @return the value of the '<em>Roles</em>' containment reference list.
044             * @see com.hammurapi.party.PartyPackage#getCommonObject_Roles()
045             * @see com.hammurapi.party.Role#getOwner
046             * @model opposite="owner" containment="true"
047             * @generated
048             */
049            EList<Role> getRoles();
050    
051    } // CommonObject