ibspan.tss.layout.ontology.datamodel
Class MenuImpl

java.lang.Object
  extended by com.hp.hpl.jena.rdf.listeners.StatementListener
      extended by com.ibm.adtech.jastor.ThingImpl
          extended by ibspan.tss.layout.ontology.datamodel.MenuImpl
All Implemented Interfaces:
ModelChangedListener, com.ibm.adtech.jastor.Thing, LayoutElement, Menu

public class MenuImpl
extends com.ibm.adtech.jastor.ThingImpl
implements Menu

Implementation of Menu Use the ibspan.tss.layout.ontology.datamodel.DataModelFactory to create instances of this class.

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



Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingImpl
_model, _resource, _typeUri, copyright
 
Fields inherited from interface ibspan.tss.layout.ontology.datamodel.Menu
CommonMenu, DefineSearchMenu, DetailsMenu, LoginMenu, LoginSuccessMenu, ResultsMenu, TYPE, WelcomeMenu
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 void addedStatement(Statement stmt)
           
 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.
 void clearCache()
           
 Iterator getHasLink()
          Get an Iterator the 'hasLink' property values.
 List listStatements()
           
 void registerListener(com.ibm.adtech.jastor.ThingListener listener)
           
 void removedStatement(Statement stmt)
           
 void removeHasLink(Link hasLink)
          Removes a value for the 'hasLink' property.
 void unregisterListener(com.ibm.adtech.jastor.ThingListener listener)
           
 
Methods inherited from class com.ibm.adtech.jastor.ThingImpl
equals, isRDFType, model, removeStatements, resource, toString, uri
 
Methods inherited from class com.hp.hpl.jena.rdf.listeners.StatementListener
addedStatements, addedStatements, addedStatements, addedStatements, notifyEvent, removedStatements, removedStatements, removedStatements, removedStatements
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.adtech.jastor.Thing
isRDFType, model, removeStatements, resource, uri
 

Method Detail

listStatements

public List listStatements()
Specified by:
listStatements in interface com.ibm.adtech.jastor.Thing
Overrides:
listStatements in class com.ibm.adtech.jastor.ThingImpl

clearCache

public void clearCache()
Specified by:
clearCache in interface com.ibm.adtech.jastor.Thing
Overrides:
clearCache in class com.ibm.adtech.jastor.ThingImpl

getHasLink

public Iterator getHasLink()
                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Menu
Get an Iterator the 'hasLink' property values. This Iteartor may be used to remove all such values.

Specified by:
getHasLink in interface Menu
Returns:
Iterator of Link
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Menu.hasLinkProperty

addHasLink

public void addHasLink(Link hasLink)
                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Menu
Adds a value for the 'hasLink' property

Specified by:
addHasLink in interface Menu
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Menu.hasLinkProperty

addHasLink

public Link addHasLink()
                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Menu
Adds an anonymous value for the 'hasLink' property

Specified by:
addHasLink in interface Menu
Returns:
The anoymous Link created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Menu.hasLinkProperty

addHasLink

public Link addHasLink(Resource resource)
                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Menu
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.layout.ontology.datamodel.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.

Specified by:
addHasLink in interface Menu
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Menu.hasLinkProperty

removeHasLink

public void removeHasLink(Link hasLink)
                   throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Menu
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.

Specified by:
removeHasLink in interface Menu
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Menu.hasLinkProperty

registerListener

public void registerListener(com.ibm.adtech.jastor.ThingListener listener)
Specified by:
registerListener in interface com.ibm.adtech.jastor.Thing
Overrides:
registerListener in class com.ibm.adtech.jastor.ThingImpl

unregisterListener

public void unregisterListener(com.ibm.adtech.jastor.ThingListener listener)
Specified by:
unregisterListener in interface com.ibm.adtech.jastor.Thing
Overrides:
unregisterListener in class com.ibm.adtech.jastor.ThingImpl

addedStatement

public void addedStatement(Statement stmt)
Specified by:
addedStatement in interface ModelChangedListener
Overrides:
addedStatement in class StatementListener

removedStatement

public void removedStatement(Statement stmt)
Specified by:
removedStatement in interface ModelChangedListener
Overrides:
removedStatement in class StatementListener