de.fau.cs.www8.jadeowlcodec
Class UncheckedOverwritingASetUpdater

java.lang.Object
  extended by de.fau.cs.www8.jadeowlcodec.AbstractASetUpdater
      extended by de.fau.cs.www8.jadeowlcodec.UncheckedOverwritingASetUpdater
All Implemented Interfaces:
ASetUpdater

public class UncheckedOverwritingASetUpdater
extends AbstractASetUpdater
implements ASetUpdater

A simple ASetUpdater that simply dumps all existing class and property information found for this URI in the target ASet, without even doing consistency checking and rollback if the kb ends up inconsistent Use this for copying into outgoing AssertionSets Note that this can be unsafe because other individuals might reference this individual with restrictions demanding certain implicit or explicit class membership that might not be given after the update

Author:
Ulf Schreiber

Field Summary
static UncheckedOverwritingASetUpdater instance
           
 
Constructor Summary
UncheckedOverwritingASetUpdater()
           
 
Method Summary
 boolean copyIndividuals(java.util.Set<Uri.Individual> individuals, AssertionSet from, AssertionSet to)
           
 
Methods inherited from class de.fau.cs.www8.jadeowlcodec.AbstractASetUpdater
copyEveryIndividual
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.fau.cs.www8.jadeowlcodec.ASetUpdater
copyEveryIndividual
 

Field Detail

instance

public static final UncheckedOverwritingASetUpdater instance
Constructor Detail

UncheckedOverwritingASetUpdater

public UncheckedOverwritingASetUpdater()
Method Detail

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 from
to - 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