If i have an Persistence class which implements a method "toDTO" and this method return a POJO representing the object, will this be categorized as an adapter pattern?
Please note, that this is not a question of the implementation as such, but rather in which way it would be categorized.