org.openrdf.repository.object.compiler.model
Class RDFProperty

java.lang.Object
  extended by org.openrdf.repository.object.compiler.model.RDFEntity
      extended by org.openrdf.repository.object.compiler.model.RDFProperty
All Implemented Interfaces:
java.lang.Comparable<RDFEntity>

public class RDFProperty
extends RDFEntity

Utility class for working with an rdf:Property in a Model.

Author:
James Leigh

Field Summary
 
Fields inherited from class org.openrdf.repository.object.compiler.model.RDFEntity
model, self
 
Constructor Summary
RDFProperty(Model model, Resource self)
           
 
Method Summary
 java.io.File generateAnnotationCode(java.io.File dir, JavaNameResolver resolver)
           
 boolean isClassDomain()
           
 boolean isClassRange()
           
 boolean isLocalized()
           
 boolean isReadOnly()
           
 
Methods inherited from class org.openrdf.repository.object.compiler.model.RDFEntity
compareTo, createSourceFile, equals, getModel, getRDFClass, getRDFClasses, getRDFProperties, getRDFProperties, getResource, getStatements, getString, getStrings, getURI, getValues, hashCode, isA, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RDFProperty

public RDFProperty(Model model,
                   Resource self)
Method Detail

isLocalized

public boolean isLocalized()

isReadOnly

public boolean isReadOnly()

isClassDomain

public boolean isClassDomain()

isClassRange

public boolean isClassRange()

generateAnnotationCode

public java.io.File generateAnnotationCode(java.io.File dir,
                                           JavaNameResolver resolver)
                                    throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.