edu.stanford.smi.protegex.owl.javacode
Class RDFPropertyAtClassCode
java.lang.Object
edu.stanford.smi.protegex.owl.javacode.RDFPropertyAtClassCode
- All Implemented Interfaces:
- Comparable
- public class RDFPropertyAtClassCode
- extends Object
- implements Comparable
An object representing metadata about a property at a class
useful for Java code generation.
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cls
private RDFSNamedClass cls
property
private RDFProperty property
RDFPropertyAtClassCode
public RDFPropertyAtClassCode(RDFSNamedClass cls,
RDFProperty property)
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
getJavaName
public String getJavaName()
getJavaType
public String getJavaType()
getRDFProperty
public RDFProperty getRDFProperty()
getUpperCaseJavaName
public String getUpperCaseJavaName()
isCustomType
public boolean isCustomType()
isMultiple
public boolean isMultiple()
isPrimitive
public boolean isPrimitive()