class ActiveFedora::Base

def adapt_to_cmodel

Examine the :has_model assertions in the RELS-EXT. Adapt this class to the first first known model
def adapt_to_cmodel
  the_model = ActiveFedora::ContentModel.known_models_for( self ).first
  self.class != the_model ? self.adapt_to(the_model) : self
end