com.hp.hpl.mesa.rdf.jena.common
Class EnhBag

java.lang.Object
  |
  +--com.hp.hpl.mesa.rdf.jena.common.EnhResource
        |
        +--com.hp.hpl.mesa.rdf.jena.common.EnhContainer
              |
              +--com.hp.hpl.mesa.rdf.jena.common.EnhBag
All Implemented Interfaces:
Bag, Container, com.hp.hpl.mesa.rdf.jena.common.ContainerI, RDFNode, Resource, ResourceI

public class EnhBag
extends EnhContainer
implements Bag

A base class for supporting enhanced Bag's. An enhanced resource is a resource with extended functionality, provided either by the application or by the implementation. This class is a base class with Bag functionality which can be extended by the application.

Enhanced resources are implemented using encapsulation. An enhanced resource contains an embedded resource which provides the basic functionality of the resource. The application code provides any extended behaviour. This method was chosen, rather than subclassing, so as not to constrain the applications need to create its own class hierarchy.

This class is intended to be subclassed by the application to provide the specific enhanced behaviour. It provides Bag funcationality and some basic housekeeping functions to support the encapsulation.

Version:
Release='$Name: $' Revision='$Revision: 1.1 $' Date='$Date: 2001/01/05 14:14:51 $'
Author:
bwm

Constructor Summary
EnhBag(Model m)
           
EnhBag(java.lang.String uri, Model m)
           
 
Methods inherited from class com.hp.hpl.mesa.rdf.jena.common.EnhContainer
add, add, add, add, add, add, add, add, add, contains, contains, contains, contains, contains, contains, contains, contains, contains, iterator, remove, remove, size
 
Methods inherited from class com.hp.hpl.mesa.rdf.jena.common.EnhResource
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getEmbeddedResource, getId, getLocalName, getModel, getNameSpace, getProperty, getURI, hashCode, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, port, removeProperties, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Bag
remove
 
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Container
add, add, add, add, add, add, add, add, add, contains, contains, contains, contains, contains, contains, contains, contains, contains, iterator, size
 
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Resource
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getModel, getNameSpace, getProperty, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, removeProperties, toString
 

Constructor Detail

EnhBag

public EnhBag(java.lang.String uri,
              Model m)
       throws RDFException

EnhBag

public EnhBag(Model m)
       throws RDFException


Copyright © 2001 Hewlett-Packard. All Rights Reserved.