private List<Feature> getIncludedProperties(final ReferenceTreatment refLink) { List<Feature> _xifexpression = null; ObjectRealization _linkDescriptor = refLink.getLinkDescriptor(); boolean _tripleEquals = (_linkDescriptor == null); if (_tripleEquals) { _xifexpression = Collections.<Feature>emptyList(); } else { final Function1<PropertyRealization, Feature> _function = (PropertyRealization it) -> { return it.getBaseProperty(); }; _xifexpression = ListExtensions.<PropertyRealization, Feature>map(refLink.getLinkDescriptor().getAllIncludedProperties(), _function); } return _xifexpression; }
public List<Feature> getIncludedProperties(final ReferenceTreatment refLink) { List<Feature> _elvis = null; ObjectRealization _linkDescriptor = refLink.getLinkDescriptor(); EList<PropertyRealization> _allIncludedProperties = null; if (_linkDescriptor!=null) { _allIncludedProperties=_linkDescriptor.getAllIncludedProperties(); } List<Feature> _map = null; if (_allIncludedProperties!=null) { final Function1<PropertyRealization, Feature> _function = (PropertyRealization it) -> { return it.getBaseProperty(); }; _map=ListExtensions.<PropertyRealization, Feature>map(_allIncludedProperties, _function); } if (_map != null) { _elvis = _map; } else { List<Feature> _emptyList = Collections.<Feature>emptyList(); _elvis = _emptyList; } return _elvis; }
ObjectRealization _linkDescriptor = treatment.getLinkDescriptor(); EList<PropertyRealization> _allIncludedProperties = null; if (_linkDescriptor!=null) {