if (oPropExp.getElement() instanceof EReferenceImpl) {
EReferenceImpl oRef = (EReferenceImpl) oPropExp.getElement();
return Integer.valueOf(oRef.getDefaultValueLiteral());
}
if (oPropExp.getElement() instanceof IntegerLiteralExp) {
IntegerLiteralExp oIntExp = (IntegerLiteralExp) oPropExp.getElement();
return oIntExp.getIntegerSymbol();
}
} else if (in_oTCGOCLExpression instanceof TCGOCLOperation) {
TCGOCLOperation oOpExp = (TCGOCLOperation) in_oTCGOCLExpression;
if (oOpExp.getOperationName().compareTo("+") == 0) {
return getIntegerValue(oOpExp.getLeft()) + getIntegerValue(oOpExp.getRight());