Hi,
is using Custom Types has performance issues ? is it slower or more memory consuming than native types ?
In our team, we would like to use CustomTypes for each properties of our POJO Objects. For example, imagine a Custommer object, we'll have :
Code:
class Custommer {
Long id;
FirstName firstName;
LastName lastName;
Address address1;
Address address2;
Country country;
}
What are your opinions about it ? Our idea behind this is to abstract the implementation stuff , so that we can change properties mapping later . Another point is that is help us formatting things on screen, filter user inputs, check input validity through these CustomTypes in a single place [/code], [/code]