001    /**
002     * <copyright>
003     * </copyright>
004     *
005     * $Id$
006     */
007    package com.hammurapi.party;
008    
009    
010    /**
011     * <!-- begin-user-doc -->
012     * A representation of the model object '<em><b>Contact Info</b></em>'.
013     * <!-- end-user-doc -->
014     *
015     * <!-- begin-model-doc -->
016     * Contact information.
017     * <!-- end-model-doc -->
018     *
019     * <p>
020     * The following features are supported:
021     * <ul>
022     *   <li>{@link com.hammurapi.party.ContactInfo#getCategory <em>Category</em>}</li>
023     *   <li>{@link com.hammurapi.party.ContactInfo#getOwner <em>Owner</em>}</li>
024     * </ul>
025     * </p>
026     *
027     * @see com.hammurapi.party.PartyPackage#getContactInfo()
028     * @model interface="true" abstract="true"
029     * @generated
030     */
031    public interface ContactInfo extends DateEffectiveObject {
032            /**
033             * Returns the value of the '<em><b>Category</b></em>' attribute.
034             * <!-- begin-user-doc -->
035             * <!-- end-user-doc -->
036             * <!-- begin-model-doc -->
037             * Contact type. E.g. for phone it can be "Home", "Work", or "Mobile".
038             * <!-- end-model-doc -->
039             * @return the value of the '<em>Category</em>' attribute.
040             * @see #setCategory(String)
041             * @see com.hammurapi.party.PartyPackage#getContactInfo_Category()
042             * @model
043             * @generated
044             */
045            String getCategory();
046    
047            /**
048             * Sets the value of the '{@link com.hammurapi.party.ContactInfo#getCategory <em>Category</em>}' attribute.
049             * <!-- begin-user-doc -->
050             * <!-- end-user-doc -->
051             * @param value the new value of the '<em>Category</em>' attribute.
052             * @see #getCategory()
053             * @generated
054             */
055            void setCategory(String value);
056    
057            /**
058             * Returns the value of the '<em><b>Owner</b></em>' container reference.
059             * It is bidirectional and its opposite is '{@link com.hammurapi.party.Party#getContactInfo <em>Contact Info</em>}'.
060             * <!-- begin-user-doc -->
061             * <p>
062             * If the meaning of the '<em>Owner</em>' container reference isn't clear,
063             * there really should be more of a description here...
064             * </p>
065             * <!-- end-user-doc -->
066             * @return the value of the '<em>Owner</em>' container reference.
067             * @see #setOwner(Party)
068             * @see com.hammurapi.party.PartyPackage#getContactInfo_Owner()
069             * @see com.hammurapi.party.Party#getContactInfo
070             * @model opposite="contactInfo" required="true" transient="false"
071             * @generated
072             */
073            Party getOwner();
074    
075            /**
076             * Sets the value of the '{@link com.hammurapi.party.ContactInfo#getOwner <em>Owner</em>}' container reference.
077             * <!-- begin-user-doc -->
078             * <!-- end-user-doc -->
079             * @param value the new value of the '<em>Owner</em>' container reference.
080             * @see #getOwner()
081             * @generated
082             */
083            void setOwner(Party value);
084    
085    } // ContactInfo