NameResolution.jrag 443 Bytes
Newer Older
1
2
aspect NameResolution {

3
  refine RefResolverStubs eq UpdateDefinition.resolveMappingByToken(String id, int position) {
4
    // return a MappingDefinition
5
    for (MappingDefinition mappingDefinition : ragconnect().getMappingDefinitionList()) {
6
7
8
9
10
11
12
      if (mappingDefinition.getID().equals(id)) {
        return mappingDefinition;
      }
    }
    System.err.println("Could not resolve MappingDefinition '" + id + "'.");
    return null;
  }
13
14

}