add the field and  implementation of the new method for the roles in AbstractMetadata class