module Origen
  module Errata
    class HwErratum < BaseErratum

      attr_accessor :hw_workaround_description, :disposition, :impact, :fix_plan, :affected_items
      def initialize(id, title, description, hw_workaround_description, disposition, impact, fix_plan, affected_items, options = {})
        super(id, type = "hw", title, description)
        @hw_workaround_description = hw_workaround_description
        @disposition = disposition
        @impact = impact
        @fix_plan = fix_plan
        @affected_items = affected_items
      end

    end
  end
end

module Origen
  module Errata
    class HwErratum 

      attr_accessor :id, :title, :description, :hw_workaround_description, :disposition, :impact, :fix_plan, :affected_items, :sw_workaround
      def initialize(id, options = {})
	@id = id
	@title = options[:title]
	@description = options[:description]
        @hw_workaround_description = options[:hw_workaround_description]
        @disposition = options[:disposition]
        @impact = options[:impact]
        @fix_plan = options[:fix_plan]
        @affected_items = options[:affected_items]
	@sw_workaround = options[:sw_workaround]
      end

    end
  end
end

Change HwErratum Class to no longer extend BaseErratum, all variables except id are options
Change HwErratum Class to no longer extend BaseErratum, all variables except id are options
