public interface DatatypeProperty extends RDFProperty
Modifier and Type | Method and Description |
---|---|
DataType |
getDataType()
This method returns the DataType set for this property
|
Set<OResource> |
getDomain()
Returns the set of domain restrictions for this property.
|
boolean |
isValidDataTypeValue(String value)
Checks whether the provided datatype value is compatible with the DataType
restrictions on the property.
|
boolean |
isValidDomain(OInstance anInstance)
Checks whether the provided instance is compatible with the domain
restrictions on the property.
|
addSubProperty, getEquivalentPropertyAs, getOURI, getRange, getSubProperties, getSubProperties, getSuperProperties, getSuperProperties, isEquivalentPropertyAs, isFunctional, isInverseFunctional, isSubPropertyOf, isSubPropertyOf, isSuperPropertyOf, isSuperPropertyOf, isValidDomain, isValidRange, removeSubProperty, setEquivalentPropertyAs, setFunctional, setInverseFunctional
addAnnotationPropertyValue, getAllSetProperties, getAnnotationPropertyValues, getComment, getComments, getLabel, getLabels, getName, getONodeID, getOntology, getPropertiesWithResourceAsDomain, getPropertiesWithResourceAsRange, getSetAnnotationProperties, getURI, hasAnnotationPropertyWithValue, removeAnnotationPropertyValue, removeAnnotationPropertyValues, setComment, setLabel, setURI
Set<OResource> getDomain()
getDomain
in interface RDFProperty
DataType getDataType()
boolean isValidDataTypeValue(String value)
value
- the Valueboolean isValidDomain(OInstance anInstance)
anInstance
- the InstanceCopyright © 2023 GATE. All rights reserved.