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>Phone</b></em>'.
013 * <!-- end-user-doc -->
014 *
015 * <!-- begin-model-doc -->
016 * Phone number.
017 * <!-- end-model-doc -->
018 *
019 * <p>
020 * The following features are supported:
021 * <ul>
022 * <li>{@link com.hammurapi.party.Phone#getCountryCode <em>Country Code</em>}</li>
023 * <li>{@link com.hammurapi.party.Phone#getAreaCode <em>Area Code</em>}</li>
024 * <li>{@link com.hammurapi.party.Phone#getNumber <em>Number</em>}</li>
025 * </ul>
026 * </p>
027 *
028 * @see com.hammurapi.party.PartyPackage#getPhone()
029 * @model
030 * @generated
031 */
032 public interface Phone extends ContactInfo {
033 /**
034 * Returns the value of the '<em><b>Country Code</b></em>' attribute.
035 * <!-- begin-user-doc -->
036 * <!-- end-user-doc -->
037 * <!-- begin-model-doc -->
038 * Country code
039 * <!-- end-model-doc -->
040 * @return the value of the '<em>Country Code</em>' attribute.
041 * @see #setCountryCode(String)
042 * @see com.hammurapi.party.PartyPackage#getPhone_CountryCode()
043 * @model
044 * @generated
045 */
046 String getCountryCode();
047
048 /**
049 * Sets the value of the '{@link com.hammurapi.party.Phone#getCountryCode <em>Country Code</em>}' attribute.
050 * <!-- begin-user-doc -->
051 * <!-- end-user-doc -->
052 * @param value the new value of the '<em>Country Code</em>' attribute.
053 * @see #getCountryCode()
054 * @generated
055 */
056 void setCountryCode(String value);
057
058 /**
059 * Returns the value of the '<em><b>Area Code</b></em>' attribute.
060 * <!-- begin-user-doc -->
061 * <!-- end-user-doc -->
062 * <!-- begin-model-doc -->
063 * Area code
064 *
065 * <!-- end-model-doc -->
066 * @return the value of the '<em>Area Code</em>' attribute.
067 * @see #setAreaCode(int)
068 * @see com.hammurapi.party.PartyPackage#getPhone_AreaCode()
069 * @model
070 * @generated
071 */
072 int getAreaCode();
073
074 /**
075 * Sets the value of the '{@link com.hammurapi.party.Phone#getAreaCode <em>Area Code</em>}' attribute.
076 * <!-- begin-user-doc -->
077 * <!-- end-user-doc -->
078 * @param value the new value of the '<em>Area Code</em>' attribute.
079 * @see #getAreaCode()
080 * @generated
081 */
082 void setAreaCode(int value);
083
084 /**
085 * Returns the value of the '<em><b>Number</b></em>' attribute.
086 * <!-- begin-user-doc -->
087 * <!-- end-user-doc -->
088 * <!-- begin-model-doc -->
089 * Phone number.
090 * <!-- end-model-doc -->
091 * @return the value of the '<em>Number</em>' attribute.
092 * @see #setNumber(String)
093 * @see com.hammurapi.party.PartyPackage#getPhone_Number()
094 * @model required="true"
095 * @generated
096 */
097 String getNumber();
098
099 /**
100 * Sets the value of the '{@link com.hammurapi.party.Phone#getNumber <em>Number</em>}' attribute.
101 * <!-- begin-user-doc -->
102 * <!-- end-user-doc -->
103 * @param value the new value of the '<em>Number</em>' attribute.
104 * @see #getNumber()
105 * @generated
106 */
107 void setNumber(String value);
108
109 } // Phone