Package rdfalchemy :: Module commands :: Class rdfSubjectCommand
[hide private]
[frames] | no frames]

Class rdfSubjectCommand

source code

                  object --+    
                           |    
paste.script.command.Command --+
                               |
                              rdfSubjectCommand

Create an rdfSubject subclass with descriptors from an RDF Schema

will set the rdf_type Descriptors will be created

  1. rdfs:domain and rdfs:range are respected

  2. rdfSingle is used for properties that are
    • owl:InverseFunctionalProperty
    • owl:FunctionalProperty
  3. rdfList or rdfContainer is used if the proper range is set

  4. rdfMultiple is used for all others

The resulting .py file is ment to be a skeleton for the developers confvience. Do not expect to be able to use the raw results.

Nested Classes [hide private]

Inherited from paste.script.command.Command: BadCommand

Instance Methods [hide private]
 
command(self)
Main command to create controller
source code

Inherited from paste.script.command.Command: __init__, ask, challenge, ensure_dir, ensure_file, indent_block, insert_into_file, logging_file_config, pad, parse_args, parse_vars, quote_first_command_arg, read_vars, run, run_command, shorten, svn_command, write_file, write_vars

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods [hide private]

Inherited from paste.script.command.Command: here, standard_parser

Class Variables [hide private]
  summary = 'Create an rdfSubject subclass with descriptors from...
  usage = '\npaster rdfalchemy.commands\nCreate an rdfSubject su...
  min_args = 0
  max_args = 1
  group_name = 'rdfalchemy'
  parser = Command.standard_parser(simulate= True)

Inherited from paste.script.command.Command: default_interactive, default_verbosity, description, hidden, max_args_error, min_args_error, required_args, return_code, takes_config_file

Inherited from paste.script.command.Command (private): _svn_failed

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

summary

Value:
'Create an rdfSubject subclass with descriptors from an RDF Schema'

usage

Value:
'''
paster rdfalchemy.commands
Create an rdfSubject subclass with descriptors from an RDF Schema

    will set the rdf_type
    Descriptors will be created
    
      1.  rdfs:domain and rdfs:range are respected
...