code: public static KAMStoreDaoImpl.AnnotationType convert(
              AnnotationType wsAnnotationType) throws InvalidIdException {
  
          String wsId = wsAnnotationType.getId();
          String wsName = wsAnnotationType.getName();
          String wsDescription = wsAnnotationType.getDescription();
          String wsUsage = wsAnnotationType.getUsage();
          AnnotationDefinitionType wsAdt =
                  wsAnnotationType.getAnnotationDefinitionType();
  
          final int id =
                  KamStoreObjectRef.decode(wsId,
                          KAMStoreDaoImpl.AnnotationType.class)
                          .getKamStoreObjectId();
          KAMStoreDaoImpl.AnnotationDefinitionType adt = convert(wsAdt);
  
          return new KAMStoreDaoImpl.AnnotationType(id, wsName, wsDescription,
                  wsUsage, adt);
      }
docs: Converts a {@link AnnotationType ws annotation type} to an
  {@link KAMStoreDaoImpl.AnnotationType annotation type}.
  @param wsAnnotationType
  @return
  @throws InvalidIdException