info.sswap.api.model
Interface SSWAPDatatype
- All Superinterfaces:
- SSWAPElement, SSWAPModel
- All Known Implementing Classes:
- DatatypeImpl
public interface SSWAPDatatype
- extends SSWAPElement
Represents a datatype definition. It contains methods for limited
manipulation of rdfs:Datatype
definitions.
Also contains a sub-interface of XSD URI constants.
- Author:
- Blazej Bulka
Nested Class Summary |
static interface |
SSWAPDatatype.XSD
XSD URIs based on the Jena vocabulary. |
Method Summary |
void |
addOneOf(java.util.Collection<SSWAPLiteral> oneOf)
Adds an owl:oneOf axiom to this datatype |
Methods inherited from interface info.sswap.api.model.SSWAPElement |
addComment, addLabel, asBoolean, asDouble, asIndividual, asInteger, asList, asLiteral, asString, getComment, getLabel, isIndividual, isList, isLiteral |
Methods inherited from interface info.sswap.api.model.SSWAPModel |
addImport, checkProfile, dereference, dereference, doClosure, getDocument, getImports, getInputStream, getNsPrefixMap, getReasoningService, getTypeSignature, getURI, isDereferenced, removeImport, removeNsPrefix, serialize, serialize, setNsPrefix, validate |
addOneOf
void addOneOf(java.util.Collection<SSWAPLiteral> oneOf)
- Adds an owl:oneOf axiom to this datatype
- Parameters:
oneOf
- the collection of literals that will be the only valid values for this datatype
Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.