use of com.tyndalehouse.step.core.models.EnrichedLookupOption in project step by STEPBible.
the class BibleInformationServiceImpl method getAllFeatures.
/**
* Gets the all features.
*
* @return the all features
*/
@Override
public List<EnrichedLookupOption> getAllFeatures() {
final LookupOption[] lo = LookupOption.values();
final List<EnrichedLookupOption> elo = new ArrayList<EnrichedLookupOption>(lo.length + 1);
for (final LookupOption lookupOption : lo) {
final String displayName = lookupOption.name();
if (isNotBlank(displayName)) {
elo.add(new EnrichedLookupOption(displayName, lookupOption.toString(), lookupOption.isEnabledByDefault()));
}
}
return elo;
}
Aggregations