{
    EAnnotation eAnnotation = getAnnotation(eDataType, false);
    if (eAnnotation != null)
    {
      String lengthLiteral = eAnnotation.getDetails().get("length");
      if (lengthLiteral != null)
      {
        return Integer.parseInt(lengthLiteral);
      }
    }
    return -1;
  }