Sha256: 0afbac374e7e9be4d2773a8a4bba9c8264cab1412c157cc5506b2991c2f60f9f

Contents?: true

Size: 711 Bytes

Versions: 5

Compression:

Stored size: 711 Bytes

Contents

# Bootstrap of rdfs metamodel

module Mrdfs_Resource
end

module Mrdfs_Class
end

class Crdfs_Class < Crdf_Resource
  include Mrdfs_Class
  attr_reader :ClassGenerated
  attr_writer :ClassGenerated
  def initialize(model,uri)
    super(model,uri)
    @mtk_rubyClassGenerated=false
  end
end
module Mrdf_Property
end

class Crdf_Property < Crdf_Resource
  include Mrdf_Property
  attr_reader :rdfs_domain, :rdfs_range
  attr_reader :sys_inverseProperty
  @rdfs_domain=ArrayOrSingleElement.new()
  #attr_writer :rdfs_domain, :rdfs_range
end

module Mrdfs_Literal
end

class Crdfs_Literal < Crdf_Resource
  include Mrdfs_Literal
  attr_reader :rdfs_domain, :rdfs_range
  #attr_writer :rdfs_domain, :rdfs_range
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ontomde-core-1.0.4 lib/ontomde-core/bootstrap_rdfs.rb
ontomde-core-1.0.6 lib/ontomde-core/bootstrap_rdfs.rb
ontomde-core-2.0.0 lib/ontomde-core/bootstrap_rdfs.rb
ontomde-core-2.0.4 lib/ontomde-core/bootstrap_rdfs.rb
ontomde-core-2.0.5 lib/ontomde-core/bootstrap_rdfs.rb