views:

29

answers:

0

I'm working on an enterprise integration platform which has to translate data structures understood by one system into equivalent structures understood by another.

Suppose, for instance, that I have a class Employee:

class Employee {
  private String lastName;
  private String firstName;
  private int age;
}

which has to be transformed into a class SalaryMan:

class SalaryMan {
  private String surName;
  private String givenName;
  private Integer yearsSinceBirth;
}

Is there a standard notation for describing that, for example, the lastName field of class Employee must be mapped to the surName field of class SalaryMan? I instinctively turned to UML but could not find anything.

Please, please, please refrain from giving answers that involve XSLT and XML. Please show me that there is a better way.

related questions