/* (non-Javadoc)
@see com.sap.prd.mobile.ios.mios.IOptions#getAllOptions()
439427
@Override
  public Map<String, String> getAllOptions()
  {
    final Map<String, String> result = new HashMap<String, String>();

    result.putAll(getUserOptions());
    result.putAll(getManagedOptions());

    return result;
  }
802804
@SuppressWarnings("unchecked")
    @Override
    public List<String> getSelectedOptions() throws WidgetException {
        try {
            Object value = getValue();
            if (value != null) {
                if (value instanceof List<?>) {
                    return (List<String>) value;
                } else {
                    List<String> options = new ArrayList<String>();
                    options.add((String) value);
                    return options;
                }
            } else {
                return null;
            }
        } catch (Exception e) {
            throw new WidgetException("Error while fetching selected options", getByLocator(), e);
        }
    }
1347701
public alluxio.grpc.ListAllPOptions getOptions() {
    return options_ == null ? alluxio.grpc.ListAllPOptions.getDefaultInstance() : options_;
  }
1060776
@Override
    public String[] getOptionValues() {
        String[] values = new String[valueOptions.size()];
        for (int i = 0; i < values.length; i++) {
            values[i] = valueOptions.get(i)[0];
        }
        return values;
    }
313258
public Set<String> getEnabledOptionValues() {
        Set<String> result = new HashSet<>();
        if (!enabled) {
            return result;//This group is disabled entirely
        }

        for (Option option : options.values()) {
            if (option.isEnabled()) {
                result.add(option.getValue());
            }
        }

        return result;
    }
1182491
public alluxio.grpc.GetUfsInfoPOptions getOptions() {
    return options_ == null ? alluxio.grpc.GetUfsInfoPOptions.getDefaultInstance() : options_;
  }
887500
public alluxio.grpc.ListStatusPOptions getOptions() {
    return options_ == null ? alluxio.grpc.ListStatusPOptions.getDefaultInstance() : options_;
  }
392861
public alluxio.grpc.RegisterMasterPOptions getOptions() {
    return options_ == null ? alluxio.grpc.RegisterMasterPOptions.getDefaultInstance() : options_;
  }
166476
public alluxio.grpc.GetBlockInfoPOptions getOptions() {
    return options_ == null ? alluxio.grpc.GetBlockInfoPOptions.getDefaultInstance() : options_;
  }
11273
public alluxio.grpc.GetJobStatusPOptions getOptions() {
    return options_ == null ? alluxio.grpc.GetJobStatusPOptions.getDefaultInstance() : options_;
  }
211127
public alluxio.grpc.ListAllPOptionsOrBuilder getOptionsOrBuilder() {
    return options_ == null ? alluxio.grpc.ListAllPOptions.getDefaultInstance() : options_;
  }
432945
@Override
	public List<CPDefinitionOptionRel> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
936719
public alluxio.grpc.DeletePOptions getOptions() {
    return options_ == null ? alluxio.grpc.DeletePOptions.getDefaultInstance() : options_;
  }
809408
@Override
	public List<CPDefinitionSpecificationOptionValue> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
133977
protected List<I_CmsSearchConfigurationSortOption> getSortOptions() {

        List<I_CmsSearchConfigurationSortOption> options = new LinkedList<I_CmsSearchConfigurationSortOption>();
        try {
            JSONArray sortOptions = m_configObject.getJSONArray(JSON_KEY_SORTOPTIONS);
            for (int i = 0; i < sortOptions.length(); i++) {
                I_CmsSearchConfigurationSortOption option = parseSortOption(sortOptions.getJSONObject(i));
                if (option != null) {
                    options.add(option);
                }
            }
        } catch (JSONException e) {
            if (null == m_baseConfig) {
                if (LOG.isInfoEnabled()) {
                    LOG.info(Messages.get().getBundle().key(Messages.LOG_NO_SORT_CONFIG_0), e);
                }
            } else {
                options = m_baseConfig.getSortConfig().getSortOptions();
            }
        }
        return options;
    }
654914
public function getAllOptions()
    {
        $result = [];

        foreach ($this->getOptionArray() as $index => $value) {
            $result[] = ['value' => $index, 'label' => $value];
        }

        return $result;
    }
978037
public alluxio.grpc.RemovePathConfigurationPOptions getOptions() {
    return options_ == null ? alluxio.grpc.RemovePathConfigurationPOptions.getDefaultInstance() : options_;
  }