From bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a Mon Sep 17 00:00:00 2001
From: dims
+ * The following features are supported:
+ *
+ *
+ *
+ * If the meaning of the 'Ssn' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Ssn' attribute. + * @see #setSsn(String) + * @generated + */ + public String getSsn() + { + return ssn; + } + + /** + * Sets the value of the '{@link org.example.creditscore.doclit.Customer#getSsn Ssn}' attribute. + * + * + * @param value the new value of the 'Ssn' attribute. + * @see #getSsn() + * @generated + */ + public void setSsn(String newSsn) + { + ssn = newSsn; + } + + /** + * Returns the value of the 'First Name' attribute. + * + *+ * If the meaning of the 'First Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'First Name' attribute. + * @see #setFirstName(String) + * @generated + */ + public String getFirstName() + { + return firstName; + } + + /** + * Sets the value of the '{@link org.example.creditscore.doclit.Customer#getFirstName First Name}' attribute. + * + * + * @param value the new value of the 'First Name' attribute. + * @see #getFirstName() + * @generated + */ + public void setFirstName(String newFirstName) + { + firstName = newFirstName; + } + + /** + * Returns the value of the 'Last Name' attribute. + * + *+ * If the meaning of the 'Last Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Last Name' attribute. + * @see #setLastName(String) + * @generated + */ + public String getLastName() + { + return lastName; + } + + /** + * Sets the value of the '{@link org.example.creditscore.doclit.Customer#getLastName Last Name}' attribute. + * + * + * @param value the new value of the 'Last Name' attribute. + * @see #getLastName() + * @generated + */ + public void setLastName(String newLastName) + { + lastName = newLastName; + } + + /** + * + * + * @generated + */ + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case DoclitPackage.CUSTOMER__SSN: + return getSsn(); + case DoclitPackage.CUSTOMER__FIRST_NAME: + return getFirstName(); + case DoclitPackage.CUSTOMER__LAST_NAME: + return getLastName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case DoclitPackage.CUSTOMER__SSN: + setSsn((String)newValue); + return; + case DoclitPackage.CUSTOMER__FIRST_NAME: + setFirstName((String)newValue); + return; + case DoclitPackage.CUSTOMER__LAST_NAME: + setLastName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + public void eUnset(int featureID) + { + switch (featureID) + { + case DoclitPackage.CUSTOMER__SSN: + setSsn(SSN_EDEFAULT); + return; + case DoclitPackage.CUSTOMER__FIRST_NAME: + setFirstName(FIRST_NAME_EDEFAULT); + return; + case DoclitPackage.CUSTOMER__LAST_NAME: + setLastName(LAST_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case DoclitPackage.CUSTOMER__SSN: + return SSN_EDEFAULT == null ? ssn != null : !SSN_EDEFAULT.equals(ssn); + case DoclitPackage.CUSTOMER__FIRST_NAME: + return FIRST_NAME_EDEFAULT == null ? firstName != null : !FIRST_NAME_EDEFAULT.equals(firstName); + case DoclitPackage.CUSTOMER__LAST_NAME: + return LAST_NAME_EDEFAULT == null ? lastName != null : !LAST_NAME_EDEFAULT.equals(lastName); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (ssn: "); + result.append(ssn); + result.append(", firstName: "); + result.append(firstName); + result.append(", lastName: "); + result.append(lastName); + result.append(')'); + return result.toString(); + } + +} // Customer \ No newline at end of file -- cgit v1.2.3