org.openrdf.elmo.sesame
Class InverseSesameProperty<E>

java.lang.Object
  extended by org.openrdf.elmo.sesame.SesameProperty<E>
      extended by org.openrdf.elmo.sesame.InverseSesameProperty<E>
Type Parameters:
E -
All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>, ElmoProperty<E>, Refreshable

public class InverseSesameProperty<E>
extends SesameProperty<E>

A set for a given getResource(), predicate.

Author:
James Leigh

Field Summary
 
Fields inherited from class org.openrdf.elmo.sesame.SesameProperty
property
 
Constructor Summary
InverseSesameProperty(SesameEntity bean, PropertyChanger property)
           
 
Method Summary
 boolean add(Object o)
          This method always returns true
 void clear()
           
 boolean contains(Object o)
           
 boolean remove(Object o)
          This method always returns true
 
Methods inherited from class org.openrdf.elmo.sesame.SesameProperty
addAll, containsAll, equals, getAll, getSingle, hashCode, isEmpty, iterator, refresh, refresh, refreshCache, refreshEntity, removeAll, retainAll, setAll, setSingle, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InverseSesameProperty

public InverseSesameProperty(SesameEntity bean,
                             PropertyChanger property)
Method Detail

clear

public void clear()
Specified by:
clear in interface Collection<E>
Specified by:
clear in interface Set<E>
Overrides:
clear in class SesameProperty<E>

add

public boolean add(Object o)
Description copied from class: SesameProperty
This method always returns true

Specified by:
add in interface Collection<E>
Specified by:
add in interface Set<E>
Overrides:
add in class SesameProperty<E>
Returns:
true

remove

public boolean remove(Object o)
Description copied from class: SesameProperty
This method always returns true

Specified by:
remove in interface Collection<E>
Specified by:
remove in interface Set<E>
Overrides:
remove in class SesameProperty<E>
Returns:
true

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<E>
Specified by:
contains in interface Set<E>
Overrides:
contains in class SesameProperty<E>


Copyright © 2004-2008 Aduna. All Rights Reserved.