001    /**
002     * <copyright>
003     * </copyright>
004     *
005     * $Id$
006     */
007    package com.hammurapi.config;
008    
009    import org.eclipse.emf.ecore.EObject;
010    
011    /**
012     * <!-- begin-user-doc -->
013     * A representation of the model object '<em><b>Map Entry</b></em>'.
014     * <!-- end-user-doc -->
015     *
016     * <!-- begin-model-doc -->
017     * Map entry. Contains key and value.
018     * <!-- end-model-doc -->
019     *
020     * <p>
021     * The following features are supported:
022     * <ul>
023     *   <li>{@link com.hammurapi.config.MapEntry#getKey <em>Key</em>}</li>
024     *   <li>{@link com.hammurapi.config.MapEntry#getValue <em>Value</em>}</li>
025     * </ul>
026     * </p>
027     *
028     * @see com.hammurapi.config.ConfigPackage#getMapEntry()
029     * @model
030     * @generated
031     */
032    public interface MapEntry extends EObject {
033            /**
034             * Returns the value of the '<em><b>Key</b></em>' containment reference.
035             * <!-- begin-user-doc -->
036             * <!-- end-user-doc -->
037             * <!-- begin-model-doc -->
038             * Map entry key.
039             * <!-- end-model-doc -->
040             * @return the value of the '<em>Key</em>' containment reference.
041             * @see #setKey(Factory)
042             * @see com.hammurapi.config.ConfigPackage#getMapEntry_Key()
043             * @model containment="true" required="true"
044             * @generated
045             */
046            Factory getKey();
047    
048            /**
049             * Sets the value of the '{@link com.hammurapi.config.MapEntry#getKey <em>Key</em>}' containment reference.
050             * <!-- begin-user-doc -->
051             * <!-- end-user-doc -->
052             * @param value the new value of the '<em>Key</em>' containment reference.
053             * @see #getKey()
054             * @generated
055             */
056            void setKey(Factory value);
057    
058            /**
059             * Returns the value of the '<em><b>Value</b></em>' containment reference.
060             * <!-- begin-user-doc -->
061             * <!-- end-user-doc -->
062             * <!-- begin-model-doc -->
063             * Map entry value.
064             * <!-- end-model-doc -->
065             * @return the value of the '<em>Value</em>' containment reference.
066             * @see #setValue(Factory)
067             * @see com.hammurapi.config.ConfigPackage#getMapEntry_Value()
068             * @model containment="true" required="true"
069             * @generated
070             */
071            Factory getValue();
072    
073            /**
074             * Sets the value of the '{@link com.hammurapi.config.MapEntry#getValue <em>Value</em>}' containment reference.
075             * <!-- begin-user-doc -->
076             * <!-- end-user-doc -->
077             * @param value the new value of the '<em>Value</em>' containment reference.
078             * @see #getValue()
079             * @generated
080             */
081            void setValue(Factory value);
082    
083    } // MapEntry