org.openrdf.repository.object.compiler.model
Class RDFProperty
java.lang.Object
org.openrdf.repository.object.compiler.model.RDFEntity
org.openrdf.repository.object.compiler.model.RDFProperty
- All Implemented Interfaces:
- Comparable<RDFEntity>
public class RDFProperty
- extends RDFEntity
Utility class for working with an rdf:Property in a Model.
- Author:
- James Leigh
| Fields inherited from class org.openrdf.repository.object.compiler.model.RDFEntity |
model, self |
| 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 |
RDFProperty
public RDFProperty(Model model,
Resource self)
isLocalized
public boolean isLocalized()
isReadOnly
public boolean isReadOnly()
isClassDomain
public boolean isClassDomain()
isClassRange
public boolean isClassRange()
generateAnnotationCode
public File generateAnnotationCode(File dir,
JavaNameResolver resolver)
throws Exception
- Throws:
Exception
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.