R - typepublic class NumericLiteralImpl<R extends Comparable<R>> extends Object implements NumericLiteral<R>
| Constructor and Description |
|---|
NumericLiteralImpl(NumericDatatype<R> type,
String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DLExpressionVisitor visitor)
accept method for the visitor pattern
|
<O> O |
accept(DLExpressionVisitorEx<O> visitor) |
int |
compareTo(Literal<T> arg0) |
boolean |
equals(Object obj) |
Datatype<T> |
getDatatypeExpression() |
org.semanticweb.owlapi.model.IRI |
getIRI() |
int |
hashCode() |
String |
toString() |
T |
typedValue() |
String |
value() |
getDatatypeExpression, typedValue, valueaccept, accept, getIRIcompareTopublic NumericLiteralImpl(NumericDatatype<R> type, String value)
type - typevalue - valuepublic Datatype<T> getDatatypeExpression()
getDatatypeExpression in interface Literal<T extends Comparable<T>>public String value()
value in interface Literal<T extends Comparable<T>>public T typedValue()
typedValue in interface Literal<T extends Comparable<T>>public void accept(DLExpressionVisitor visitor)
Expressionaccept in interface Expressionvisitor - visitorpublic <O> O accept(DLExpressionVisitorEx<O> visitor)
accept in interface ExpressionO - visitor typevisitor - visitorpublic int compareTo(@Nullable Literal<T> arg0)
compareTo in interface Comparable<Literal<T extends Comparable<T>>>public org.semanticweb.owlapi.model.IRI getIRI()
getIRI in interface org.semanticweb.owlapi.model.HasIRIgetIRI in interface ExpressionCopyright © 2016 The University of Manchester. All rights reserved.