|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fau.cs.www8.jadeowlcodec.GenericIndividual
public class GenericIndividual
Generic java representation of an individual. Does not contain any schema checks or restrictions at all
| Constructor Summary | |
|---|---|
GenericIndividual(AssertionSet assertionSet,
Uri.Individual newRdfID)
|
|
GenericIndividual(AssertionSet assertionSet,
Uri.Individual newRdfID,
java.util.Set<Uri.Concept> clss)
Create a new individual rdfID |
|
GenericIndividual(AssertionSet assertionSet,
Uri.Individual newRdfID,
Uri.Concept cls)
|
|
| Method Summary | ||
|---|---|---|
void |
addDirectClass(OWLClassDescription cls)
|
|
void |
addDirectClass(Uri.Concept cls)
|
|
void |
addPropertyValue(Uri.Role key,
java.lang.Object val)
|
|
|
as(java.lang.Class<T> wrapperClass)
|
|
boolean |
canHaveProperty(Uri.Role key,
ReasonerKBHandle tempkb)
expensive complete test, used for explicit checking, expects a reasoner kb containing the whole current state |
|
java.util.Set<Uri.Role> |
checkMincardinalities(ReasonerKBHandle inTempKb)
|
|
boolean |
copyToOtherAssertionSet(AssertionSet newAset,
ASetUpdater updater)
|
|
java.util.Set<Uri.Role> |
getAssertedPropertyNames()
|
|
AssertionSet |
getAssertionSet()
|
|
java.util.Set<Uri.Concept> |
getDirectClasses()
|
|
java.util.Set<OWLClassDescription> |
getDirectClassOWLDescriptions()
|
|
|
getDirectDatatypePropertyAndSubpropertyValues(Uri.Role propuri,
java.lang.Class<T> cls)
|
|
java.util.Collection<java.lang.Object> |
getDirectPropertyValueCollection(Uri.Role key)
lowest level access to the properties |
|
java.util.Map<Uri.Role,java.util.Set<java.lang.Object>> |
getProperties()
|
|
|
getPropertyValuesByInference(Uri.Role propuri,
java.lang.Class<T> cls)
ask the reasoner for property fillers (unless the property is a datatype property, in which case internal handling can be better than reasoner - |
|
Uri.Individual |
getRdfID()
|
|
KnowledgeBase |
getTBox()
|
|
boolean |
incompleteCanHaveProperty(Uri.Role key)
this is not complete and only sufficient for a warning even if it was complete it would only be worth a warning because OWA allows any property that does not lead to known membership in disjoint classes |
|
boolean |
isClass(Uri.Concept cls,
boolean transitive)
check for class membership |
|
boolean |
removePropertyValue(Uri.Role propuri,
java.lang.Object o)
|
|
void |
setRdfID(Uri.Individual rdfID)
|
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenericIndividual(AssertionSet assertionSet,
Uri.Individual newRdfID,
Uri.Concept cls)
public GenericIndividual(AssertionSet assertionSet,
Uri.Individual newRdfID)
public GenericIndividual(AssertionSet assertionSet,
Uri.Individual newRdfID,
java.util.Set<Uri.Concept> clss)
assertionSet - an AssertionSetclss - a set of Uri.Concept
direct class of this individual, defaulst to owl:thing if nullnewRdfID - a Uri.Individual
if this is null the individual will get a new unique id inside
the namespace of tBox| Method Detail |
|---|
public boolean copyToOtherAssertionSet(AssertionSet newAset,
ASetUpdater updater)
public java.util.Set<Uri.Role> getAssertedPropertyNames()
public java.util.Collection<java.lang.Object> getDirectPropertyValueCollection(Uri.Role key)
key - an Uri.Role
Collection which contains the property values
public <T> java.util.Collection<T> getDirectDatatypePropertyAndSubpropertyValues(Uri.Role propuri,
java.lang.Class<T> cls)
public <T> java.util.Collection<T> getPropertyValuesByInference(Uri.Role propuri,
java.lang.Class<T> cls)
propuri - a Uri.Rolecls - a Class
public boolean incompleteCanHaveProperty(Uri.Role key)
key - a Uri.Role
public boolean canHaveProperty(Uri.Role key,
ReasonerKBHandle tempkb)
key - a Uri.Roletempkb - a ReasonerKBHandle
includes a reasoner kb containing the whole current state
public java.util.Set<Uri.Role> checkMincardinalities(ReasonerKBHandle inTempKb)
inTempKb - a ReasonerKBHandle
public void addPropertyValue(Uri.Role key,
java.lang.Object val)
public Uri.Individual getRdfID()
public java.util.Set<Uri.Concept> getDirectClasses()
public java.util.Set<OWLClassDescription> getDirectClassOWLDescriptions()
public void addDirectClass(OWLClassDescription cls)
public void addDirectClass(Uri.Concept cls)
public boolean isClass(Uri.Concept cls,
boolean transitive)
cls - class URItransitive - check only direct (declared) classes if falsepublic KnowledgeBase getTBox()
public void setRdfID(Uri.Individual rdfID)
rdfID - The rdfID to set.public <T extends WrappedIndividual> T as(java.lang.Class<T> wrapperClass)
public boolean removePropertyValue(Uri.Role propuri,
java.lang.Object o)
propuri - o -
public java.lang.String toString()
toString in class java.lang.Objectpublic AssertionSet getAssertionSet()
public java.util.Map<Uri.Role,java.util.Set<java.lang.Object>> getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg