public void saveToMetaStore(IMetaStore metaStore, ModelAnnotationGroup modelAnnotations)
      throws Exception {
    if (metaStore == null) {
      return;
    }

    ModelAnnotationManager manager = getModelAnnotationManager(modelAnnotations);
    if (modelAnnotations != null && StringUtils.isBlank(modelAnnotations.getName())) {
      modelAnnotations.setName(this.getName());
    }
    checkValidName(modelAnnotations.getName());
    manager.createGroup(modelAnnotations, metaStore);
  }
  public void readDataFromMetaStore(IMetaStore metaStore) {
    try {

      if (metaStore == null) {
        return;
      }

      ModelAnnotationManager manager = getModelAnnotationManager(getModelAnnotations());
      if (manager.containsGroup(getModelAnnotationCategory(), metaStore)) {
        setModelAnnotations(manager.readGroup(getModelAnnotationCategory(), metaStore));
      }
    } catch (Exception e) {
      logError(e.getMessage());
    }
  }