001 /**
002 * <copyright>
003 * </copyright>
004 *
005 * $Id$
006 */
007 package com.hammurapi.party;
008
009 import org.eclipse.emf.ecore.EObject;
010
011
012 /**
013 * <!-- begin-user-doc -->
014 * A representation of the model object '<em><b>Identity</b></em>'.
015 * <!-- end-user-doc -->
016 *
017 * <!-- begin-model-doc -->
018 * Party identity. E.g. taxpayer ID or employee number.
019 * <!-- end-model-doc -->
020 *
021 * <p>
022 * The following features are supported:
023 * <ul>
024 * <li>{@link com.hammurapi.party.Identity#getType <em>Type</em>}</li>
025 * <li>{@link com.hammurapi.party.Identity#getValue <em>Value</em>}</li>
026 * <li>{@link com.hammurapi.party.Identity#getComment <em>Comment</em>}</li>
027 * </ul>
028 * </p>
029 *
030 * @see com.hammurapi.party.PartyPackage#getIdentity()
031 * @model
032 * @generated
033 */
034 public interface Identity extends EObject {
035 /**
036 * Returns the value of the '<em><b>Type</b></em>' attribute.
037 * <!-- begin-user-doc -->
038 * <!-- end-user-doc -->
039 * <!-- begin-model-doc -->
040 * Identity type.
041 * <!-- end-model-doc -->
042 * @return the value of the '<em>Type</em>' attribute.
043 * @see #setType(String)
044 * @see com.hammurapi.party.PartyPackage#getIdentity_Type()
045 * @model required="true"
046 * @generated
047 */
048 String getType();
049
050 /**
051 * Sets the value of the '{@link com.hammurapi.party.Identity#getType <em>Type</em>}' attribute.
052 * <!-- begin-user-doc -->
053 * <!-- end-user-doc -->
054 * @param value the new value of the '<em>Type</em>' attribute.
055 * @see #getType()
056 * @generated
057 */
058 void setType(String value);
059
060 /**
061 * Returns the value of the '<em><b>Value</b></em>' attribute.
062 * <!-- begin-user-doc -->
063 * <!-- end-user-doc -->
064 * <!-- begin-model-doc -->
065 * Identity value.
066 * <!-- end-model-doc -->
067 * @return the value of the '<em>Value</em>' attribute.
068 * @see #setValue(String)
069 * @see com.hammurapi.party.PartyPackage#getIdentity_Value()
070 * @model required="true"
071 * @generated
072 */
073 String getValue();
074
075 /**
076 * Sets the value of the '{@link com.hammurapi.party.Identity#getValue <em>Value</em>}' attribute.
077 * <!-- begin-user-doc -->
078 * <!-- end-user-doc -->
079 * @param value the new value of the '<em>Value</em>' attribute.
080 * @see #getValue()
081 * @generated
082 */
083 void setValue(String value);
084
085 /**
086 * Returns the value of the '<em><b>Comment</b></em>' attribute.
087 * <!-- begin-user-doc -->
088 * <!-- end-user-doc -->
089 * <!-- begin-model-doc -->
090 * Comment.
091 * <!-- end-model-doc -->
092 * @return the value of the '<em>Comment</em>' attribute.
093 * @see #setComment(String)
094 * @see com.hammurapi.party.PartyPackage#getIdentity_Comment()
095 * @model
096 * @generated
097 */
098 String getComment();
099
100 /**
101 * Sets the value of the '{@link com.hammurapi.party.Identity#getComment <em>Comment</em>}' attribute.
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @param value the new value of the '<em>Comment</em>' attribute.
105 * @see #getComment()
106 * @generated
107 */
108 void setComment(String value);
109
110 } // Identity