class AppSchemaDataAccess implements DataAccess<FeatureType, Feature> {

    public Name[] getTypeNames() throws IOException {
        Name[] typeNames = new Name[mappings.size()];
        int i = 0;
        for (FeatureTypeMapping mapping : mappings.values()) {
            typeNames[i] = mapping.getTargetFeature().getName();
            i++;
        }
        return typeNames;
    }

    public  AppSchemaDataAccess(Set<FeatureTypeMapping> mappings);

}