@SuppressWarnings("javadoc") public OWLDataMinCardinalityImpl(OWLDataPropertyExpression property, int cardinality) { this(property, cardinality, OWL2DatatypeImpl .getDatatype(OWL2Datatype.RDFS_LITERAL)); } @Override
@SuppressWarnings("javadoc") public OWLDataMaxCardinalityImpl(OWLDataPropertyExpression property, int cardinality) { this(property, cardinality, OWL2DatatypeImpl .getDatatype(OWL2Datatype.RDFS_LITERAL)); }
public OWLDataExactCardinalityImpl(OWLDataPropertyExpression property, int cardinality) { super(property, cardinality, OWL2DatatypeImpl.getDatatype(OWL2Datatype.RDFS_LITERAL)); }
@Override public boolean isQualified() { return !getFiller().equals( OWL2DatatypeImpl.getDatatype(OWL2Datatype.RDFS_LITERAL)); }
@SuppressWarnings("javadoc") public OWLLiteralImplBoolean(boolean literal) { super(); datatype= OWL2DatatypeImpl.getDatatype(OWL2Datatype.XSD_BOOLEAN); this.literal = literal; hashcode = getHashCode(); }
@Override public OWLLiteral getOWLLiteral(String lexicalValue, OWL2Datatype datatype) { checkNull(lexicalValue, "lexicalValue"); checkNull(datatype, DATATYPE2); return getOWLLiteral(lexicalValue, OWL2DatatypeImpl.getDatatype(datatype)); }
@Override public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { OWLClassExpression sub = new OWLDataSomeValuesFromImpl(getProperty(), OWL2DatatypeImpl.getDatatype(OWL2Datatype.RDFS_LITERAL)); return new OWLSubClassOfAxiomImpl(sub, getDomain(), NO_ANNOTATIONS); } }