fchkInfo.setAtomicSet(as);
Collection rs = f.getStartWithRelation(FeatureRelation.DECOMPOSE);
if(rs != null) {
Iterator iter = rs.iterator();
while(iter.hasNext()) {
Feature sf = ((FeatureRelation)iter.next()).getEndFeature();
if(sf.getVariability() == Variability.Mandatory) {
addFeatureToAtomicSet(sf, as);
} else {
FeatureRelation fr = new FeatureRelationImplementation(FeatureRelation.REQUIRE, sf, f);
implictRelations.add(fr);
}
}
}
rs = f.getStartWithRelation(FeatureRelation.ATTRIBUTE);
if(rs != null) {
Iterator iter = rs.iterator();
while(iter.hasNext()) {
Feature sf = ((FeatureRelation)iter.next()).getEndFeature();
FeatureRelation fr = new FeatureRelationImplementation(FeatureRelation.REQUIRE, sf, f);
implictRelations.add(fr);
}
}
}