Protege 3.5

edu.stanford.smi.protege.code.generator.wrapping
Class SlotCode

java.lang.Object
  extended by edu.stanford.smi.protege.code.generator.wrapping.SlotCode
All Implemented Interfaces:
Comparable

public class SlotCode
extends Object
implements Comparable

An object representing metadata about a property useful for Java code generation.

Author:
Csongor Nyulas

Constructor Summary
SlotCode(Slot property, boolean usePrefixInNames)
           
 
Method Summary
 int compareTo(Object o)
           
 String getJavaName()
           
 Slot getRDFProperty()
           
 String getUpperCaseJavaName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlotCode

public SlotCode(Slot property,
                boolean usePrefixInNames)
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getJavaName

public String getJavaName()

getRDFProperty

public Slot getRDFProperty()

getUpperCaseJavaName

public String getUpperCaseJavaName()

Protege 3.5

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2013 Stanford University.