de.fau.cs.www8.jadeowlcodec
Class CheckedCumulatingASetUpdater
java.lang.Object
de.fau.cs.www8.jadeowlcodec.AbstractASetUpdater
de.fau.cs.www8.jadeowlcodec.CheckedCumulatingASetUpdater
- All Implemented Interfaces:
- ASetUpdater
public class CheckedCumulatingASetUpdater
- extends AbstractASetUpdater
- implements ASetUpdater
An ASetUpdater that simply adds all property values and asserted classes,
only removing old property values if a maxCardinality is exactly fullfilled by the
new data and fails safely if any inconsistency is met
Note that this does not check for completeness, as there will likely be some
referenced individuals without property fillers included as property fillers
of "first class message citizens"
- Author:
- Ulf Schreiber
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckedCumulatingASetUpdater
public CheckedCumulatingASetUpdater()
copyIndividuals
public boolean copyIndividuals(java.util.Set<Uri.Individual> individuals,
AssertionSet from,
AssertionSet to)
- Specified by:
copyIndividuals in interface ASetUpdater
from - AssertionSet to copy data fromto - AssertionSet to copy into, must not remove existing GenericIndividuals
- Returns:
- false if the update failed
Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg