method to get class attribute metadata