de.fau.cs.www8.jadeowlcodec
Class AbstractIndividualWrapper<T extends WrappedIndividual>

java.lang.Object
  extended by de.fau.cs.www8.jadeowlcodec.AbstractIndividualWrapper<T>
All Implemented Interfaces:
WrappedIndividual

public abstract class AbstractIndividualWrapper<T extends WrappedIndividual>
extends java.lang.Object
implements WrappedIndividual


Field Summary
 GenericIndividual generic
          reference to the actual individual
 
Constructor Summary
protected AbstractIndividualWrapper(AssertionSet assertionSet, Uri.Individual rdfID, Uri.Concept clsuri)
          constructor for a new empty individual
protected AbstractIndividualWrapper(GenericIndividual gi)
          protected constructor, only to be used from generated wrapper class
 
Method Summary
 GenericIndividual generic()
           
protected
<S> S
protectedGetSinglePropertyValue(Uri.Role propuri, java.lang.Class<S> cls)
           
protected  void protectedSetSinglePropertyValue(Uri.Role propuri, java.lang.Object value)
           
 Uri.Individual uri()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

generic

public final GenericIndividual generic
reference to the actual individual

Constructor Detail

AbstractIndividualWrapper

protected AbstractIndividualWrapper(GenericIndividual gi)
protected constructor, only to be used from generated wrapper class

Parameters:
gi -

AbstractIndividualWrapper

protected AbstractIndividualWrapper(AssertionSet assertionSet,
                                    Uri.Individual rdfID,
                                    Uri.Concept clsuri)
constructor for a new empty individual

Parameters:
assertionSet -
rdfID - set null to let assertionSet create an ID
Method Detail

generic

public GenericIndividual generic()
Specified by:
generic in interface WrappedIndividual
Returns:
Returns the generic individual wrapped by this wrapper for low level access. TODO: think about synchronization

uri

public Uri.Individual uri()
Specified by:
uri in interface WrappedIndividual

protectedGetSinglePropertyValue

protected <S> S protectedGetSinglePropertyValue(Uri.Role propuri,
                                                java.lang.Class<S> cls)

protectedSetSinglePropertyValue

protected void protectedSetSinglePropertyValue(Uri.Role propuri,
                                               java.lang.Object value)


Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg