org.openrdf.elmo.codegen.concepts
Interface CodeMethod

All Superinterfaces:
Entity, Method, ObjectProperty, OwlProperty, Property, Resource, Thing
All Known Implementing Classes:
MethodSupport

public interface CodeMethod
extends Method


Method Summary
 boolean isMethod()
           
 String msgCompile(JavaNameResolver resolver, File dir, List<File> classpath)
          Compiles the method into a collection of classes and resource stored in the given directory.
 
Methods inherited from interface org.openrdf.elmo.codegen.concepts.Method
getElmoDomain, getElmoGroovy, getElmoImports, getElmoJava, getElmoRange, getElmoSubMethodOf, setElmoDomain, setElmoGroovy, setElmoImports, setElmoJava, setElmoRange, setElmoSubMethodOf
 
Methods inherited from interface org.openrdf.concepts.owl.ObjectProperty
getOwlInverseOf, setOwlInverseOf
 
Methods inherited from interface org.openrdf.concepts.owl.OwlProperty
getOwlEquivalentProperties, setOwlEquivalentProperties
 
Methods inherited from interface org.openrdf.concepts.rdf.Property
getRdfsDomains, getRdfsRanges, getRdfsSubPropertyOf, setRdfsDomains, setRdfsRanges, setRdfsSubPropertyOf
 
Methods inherited from interface org.openrdf.concepts.owl.Thing
getOwlDifferentFrom, getOwlSameAs, getOwlVersionInfo, setOwlDifferentFrom, setOwlSameAs, setOwlVersionInfo
 
Methods inherited from interface org.openrdf.concepts.rdfs.Resource
getRdfsComment, getRdfsIsDefinedBy, getRdfsLabel, getRdfsMembers, getRdfsSeeAlso, getRdfTypes, getRdfValues, setRdfsComment, setRdfsIsDefinedBy, setRdfsLabel, setRdfsMembers, setRdfsSeeAlso, setRdfTypes, setRdfValues
 
Methods inherited from interface org.openrdf.elmo.Entity
getElmoManager, getQName
 

Method Detail

isMethod

boolean isMethod()

msgCompile

String msgCompile(JavaNameResolver resolver,
                  File dir,
                  List<File> classpath)
                  throws Exception
Compiles the method into a collection of classes and resource stored in the given directory.

Parameters:
resolver - utility class to look up coresponding Java names
dir - target directory of byte-code
classpath - available class-path to compile with
Returns:
the full class name of the created role
Throws:
Exception


Copyright © 2004-2008 Aduna. All Rights Reserved.