olr.om
Class Course

java.lang.Object
  extended byorg.apache.torque.om.BaseObject
      extended byolr.om.BaseRdfStatement
          extended byolr.om.RdfStatement
              extended byolr.om.Course
All Implemented Interfaces:
org.apache.torque.om.Persistent, java.io.Serializable

public class Course
extends RdfStatement

This is an artificial entity. It does not exists as a relation in the database. A coursee is defined as a statement about a model with the predciate "hasCourse".

See Also:
Serialized Form

Field Summary
 
Fields inherited from class olr.om.RdfStatement
IS_OBJECT_RESOURCE_FALSE, IS_OBJECT_RESOURCE_TRUE, IS_PUBLIC_TRUE
 
Fields inherited from class olr.om.BaseRdfStatement
collModelStatements
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Method Summary
 java.lang.String getCourse()
           
 Model getModel()
           
 java.lang.String getName()
           
 java.lang.String getRelativeUrl()
           
 void save()
          Creates all statements needed to describe/attach a course to a model.
 void setName(java.lang.String name)
           
 
Methods inherited from class olr.om.BaseRdfStatement
addModelStatement, copy, copyInto, getByName, getByPeerName, getByPosition, getFieldNames, getGarbage, getId, getIspublic, getModelStatements, getModelStatements, getModelStatements, getModelStatements, getModelStatementsJoinModel, getModelStatementsJoinRdfStatement, getModelStatementsJoinRdfUser, getModified, getObjLiteral, getObjResource, getPeer, getPredicate, getPrimaryKey, getRdfLiteral, getRdfResourceRelatedByObjResource, getRdfResourceRelatedByPredicate, getRdfResourceRelatedBySubject, getRdfUser, getRes, getSubject, getUsr, initModelStatements, save, save, setGarbage, setId, setIspublic, setModified, setObjLiteral, setObjResource, setPredicate, setPrimaryKey, setPrimaryKey, setRdfLiteral, setRdfLiteralKey, setRdfResourceRelatedByObjResource, setRdfResourceRelatedByObjResourceKey, setRdfResourceRelatedByPredicate, setRdfResourceRelatedByPredicateKey, setRdfResourceRelatedBySubject, setRdfResourceRelatedBySubjectKey, setRdfUser, setRdfUserKey, setRes, setSubject, setUsr, toString
 
Methods inherited from class org.apache.torque.om.BaseObject
equals, equals, getLog, hashCode, isModified, isNew, log, resetModified, setModified, setNew, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.torque.om.Persistent
getPrimaryKey, isModified, isNew, save, save, setModified, setNew, setPrimaryKey, setPrimaryKey
 

Method Detail

getModel

public Model getModel()

getCourse

public java.lang.String getCourse()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getRelativeUrl

public java.lang.String getRelativeUrl()

save

public void save()
          throws org.apache.torque.TorqueException
Creates all statements needed to describe/attach a course to a model.

Specified by:
save in interface org.apache.torque.om.Persistent
Overrides:
save in class BaseRdfStatement
Throws:
org.apache.torque.TorqueException


Copyright © 2001-2004 University of Hannover. All Rights Reserved.