Class: Crdfs_Class

Inherits:
Crdf_Resource show all
Includes:
Mrdfs_Class
Defined in:
lib/ontomde-core/bootstrap_rdfs.rb

Direct Known Subclasses

Ccore_Product

Constant Summary

Constants inherited from Crdf_Resource

Crdf_Resource::VALID_RDF_URI_REGEXP

Constants included from Mmtk_helper

Mmtk_helper::MTK_WRITE_SESSION_FILE_NAMES, Mmtk_helper::NOREVERSE, Mmtk_helper::REVERSE, Mmtk_helper::TEMP_FILE_SUFFIX, Mmtk_helper::WITHOUT_MARKER

Instance Attribute Summary collapse

Attributes inherited from Crdf_Resource

#nbrItem, #rdf_Repository, #rdf_type, #rdfs_label, #uri

Attributes included from Mmtk_helper

#fileGenerated

Instance Method Summary collapse

Methods inherited from Crdf_Resource

#check_rdfType, #core_set, #createEmptyAttributeValue, #createRubyClass, #createRubyClassMinimal, #forceReset!, #force_rdf_Repository=, #freeCacheGetRubyName, #getRubyAttributeDefinition, #getRubyClassName, #getRubyModuleName, #getRubyName, #getRubyNameInverse, #isBootstrap?, #isResetable?, #method_missing, #mtk_hello, #nbrItem_org, #rdf_getter_inv, #rdf_getter_one, #rdf_uri, #rdf_uri=, #rdfs_subClassOfRecursive, #set, #set_rdfIsRelated, #to_s, #to_yaml

Methods included from Mrdf_Resource

#context, #dotId, #dump, #log_error_nil_one, #mtk_context, #mtk_default_context, #mtk_object_message, #mtk_related_message, #rdfx_clone, #rdfx_copyOnClone?

Methods included from Mmtk_helper

#encloseWrite, #mtk_annotation, #mtk_autoNewFileCreationCheck, #mtk_out, #mtk_protected, #mtk_qualifyBlockURI, #mtk_retrieveProtected, #mtk_shouldAlreadyBeenReversed, #mtk_sprotected, #mtk_stringWriteSession, #mtk_stss, #mtk_wprotected, #mtk_writeSession, #mtk_writeSessionNameClashErrorDetection, #notifyFileGenerated, #write

Constructor Details

#initialize(model, uri) ⇒ Crdfs_Class

Returns a new instance of Crdfs_Class.



13
14
15
16
# File 'lib/ontomde-core/bootstrap_rdfs.rb', line 13

def initialize(model,uri)
  super(model,uri)
  @mtk_rubyClassGenerated=false
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Crdf_Resource

Instance Attribute Details

#ClassGeneratedObject

Returns the value of attribute ClassGenerated.



11
12
13
# File 'lib/ontomde-core/bootstrap_rdfs.rb', line 11

def ClassGenerated
  @ClassGenerated
end