public class DatatypeUnion extends Object implements DatatypeCombination<DatatypeUnion,Datatype<?>>
| Constructor and Description |
|---|
DatatypeUnion(Datatype<?> host) |
DatatypeUnion(Datatype<?> host,
Collection<Datatype<?>> list) |
| Modifier and Type | Method and Description |
|---|---|
DatatypeUnion |
add(Datatype<?> d) |
boolean |
emptyValueSpace() |
org.semanticweb.owlapi.model.IRI |
getDatatypeIRI() |
Datatype<?> |
getHost() |
Iterable<Datatype<?>> |
getList() |
boolean |
isCompatible(Datatype<?> type) |
boolean |
isCompatible(Literal<?> l) |
boolean |
isContradictory(Datatype<?> type) |
String |
toString() |
public DatatypeUnion(Datatype<?> host, Collection<Datatype<?>> list)
host - hostlist - listpublic DatatypeUnion(Datatype<?> host)
host - hostpublic Datatype<?> getHost()
getHost in interface DatatypeCombination<DatatypeUnion,Datatype<?>>public Iterable<Datatype<?>> getList()
getList in interface DatatypeCombination<DatatypeUnion,Datatype<?>>public DatatypeUnion add(Datatype<?> d)
add in interface DatatypeCombination<DatatypeUnion,Datatype<?>>d - dpublic boolean isCompatible(Literal<?> l)
isCompatible in interface DatatypeCombination<DatatypeUnion,Datatype<?>>l - literalpublic org.semanticweb.owlapi.model.IRI getDatatypeIRI()
getDatatypeIRI in interface DatatypeCombination<DatatypeUnion,Datatype<?>>public boolean isCompatible(Datatype<?> type)
isCompatible in interface DatatypeCombination<DatatypeUnion,Datatype<?>>type - typepublic boolean isContradictory(Datatype<?> type)
isContradictory in interface DatatypeCombination<DatatypeUnion,Datatype<?>>type - typepublic boolean emptyValueSpace()
emptyValueSpace in interface DatatypeCombination<DatatypeUnion,Datatype<?>>Copyright © 2016 The University of Manchester. All rights reserved.