public List<Feature> getUnmappedFeatures(FeatureModel featureModel) { List<Feature> unmapped = FeatureModelUtil.getAllFeatures(featureModel); unmapped.removeAll(mappedFeatures); return unmapped; }
private void init(GroupModel groupModel, FeatureModel featureModel, MappingModel featureMapping) { setMappings(featureMapping.getMappings()); setCoreGroup(groupModel.getCoreGroup()); List<Feature> allFeatures = FeatureModelUtil.getAllFeatures(featureModel); initViews(featureModel, allFeatures); }