STAND_STATUS = %w( AcademicLiterature ISOStandard Unofficial W3CRecommendation W3CTeamSubmission W3CWorkingGroupNote )
DEFINED_BY = %w( registry )
validates_uniqueness_of :iri, if: :iri_changed?
}
def to_s
name
end
def add_logic(logic)
sup = self.supports.new
sup.logic = logic
sup.save!
end
def mappings_from
LanguageMapping.where source_id: self.id
end
def mappings_to
LanguageMapping.where(target_id: self.id)
end
end