/**
*
* The following features are supported: *
* If the meaning of the 'Score' attribute isn't clear, * there really should be more of a description here... *
* * @return the value of the 'Score' attribute. * @see #setScore(int) * @generated */ public int getScore() { return score; } /** * Sets the value of the '{@link org.example.creditscore.doclit.CreditReport#getScore Score}' attribute. * * * @param value the new value of the 'Score' attribute. * @see #getScore() * @generated */ public void setScore(int newScore) { score = newScore; } /** * * * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case DoclitPackage.CREDIT_REPORT__SCORE: return new Integer(getScore()); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case DoclitPackage.CREDIT_REPORT__SCORE: setScore(((Integer)newValue).intValue()); return; } super.eSet(featureID, newValue); } /** * * * @generated */ public void eUnset(int featureID) { switch (featureID) { case DoclitPackage.CREDIT_REPORT__SCORE: setScore(SCORE_EDEFAULT); return; } super.eUnset(featureID); } /** * * * @generated */ public boolean eIsSet(int featureID) { switch (featureID) { case DoclitPackage.CREDIT_REPORT__SCORE: return score != SCORE_EDEFAULT; } return super.eIsSet(featureID); } /** * * * @generated */ public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (score: "); result.append(score); result.append(')'); return result.toString(); } } // CreditReport