[Java] Class RestRepresentation