ibspan.tss.datamodel.ontology
Interface Menu

All Superinterfaces:
com.ibm.adtech.jastor.Thing
All Known Implementing Classes:
MenuImpl

public interface Menu
extends com.ibm.adtech.jastor.Thing

Interface for Menu ontology class
Use the ibspan.tss.datamodel.ontology.DataModelFactory to create instances of this interface.

(URI: http://www.ibspan.waw.pl/tss/DataModel#Menu)





Field Summary
static Property hasLinkProperty
          The Jena Property for hasLink (URI: http://www.ibspan.waw.pl/tss/DataModel#hasLink)
static Resource TYPE
          The rdf:type for this ontology class
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 Link addHasLink()
          Adds an anonymous value for the 'hasLink' property
 void addHasLink(Link hasLink)
          Adds a value for the 'hasLink' property
 Link addHasLink(Resource resource)
          Adds a value for the 'hasLink' property.
 Iterator getHasLink()
          Get an Iterator the 'hasLink' property values.
 void removeHasLink(Link hasLink)
          Removes a value for the 'hasLink' property.
 
Methods inherited from interface com.ibm.adtech.jastor.Thing
clearCache, isRDFType, listStatements, model, registerListener, removeStatements, resource, unregisterListener, uri
 

Field Detail

TYPE

static final Resource TYPE
The rdf:type for this ontology class


hasLinkProperty

static final Property hasLinkProperty
The Jena Property for hasLink

(URI: http://www.ibspan.waw.pl/tss/DataModel#hasLink)


Method Detail

getHasLink

Iterator getHasLink()
                    throws com.ibm.adtech.jastor.JastorException
Get an Iterator the 'hasLink' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Link
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasLinkProperty

addHasLink

void addHasLink(Link hasLink)
                throws com.ibm.adtech.jastor.JastorException
Adds a value for the 'hasLink' property

Parameters:
The - Link to add
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasLinkProperty

addHasLink

Link addHasLink()
                throws com.ibm.adtech.jastor.JastorException
Adds an anonymous value for the 'hasLink' property

Returns:
The anoymous Link created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasLinkProperty

addHasLink

Link addHasLink(Resource resource)
                throws com.ibm.adtech.jastor.JastorException
Adds a value for the 'hasLink' property. This method is equivalent constructing a new instance of Link with the factory and calling addHasLink(ibspan.tss.datamodel.ontology.Link hasLink) The resource argument have rdf:type http://www.ibspan.waw.pl/tss/DataModel#Link. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasLinkProperty

removeHasLink

void removeHasLink(Link hasLink)
                   throws com.ibm.adtech.jastor.JastorException
Removes a value for the 'hasLink' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
The - Link to remove
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasLinkProperty