Package | Description |
---|---|
gate.creole.ontology |
The GATE ontology API.
|
Modifier and Type | Method and Description |
---|---|
DatatypeProperty |
Ontology.addDatatypeProperty(OURI aPropertyURI,
Set<OClass> domain,
DataType aDatatype)
Create a DatatypeProperty with the given domain and range.
|
DatatypeProperty |
Ontology.getDatatypeProperty(OURI theURI)
Returns the datatype property for the given URI or null if there is
no datatype property with that URI.
|
Modifier and Type | Method and Description |
---|---|
Set<DatatypeProperty> |
Ontology.getDatatypeProperties()
Gets the set of Datatype Properties in the ontology.
|
Set<DatatypeProperty> |
OInstance.getSetDatatypeProperties()
This method returns the datatype properties set on this resource.
|
Modifier and Type | Method and Description |
---|---|
void |
OInstance.addDatatypePropertyValue(DatatypeProperty aProperty,
Literal value)
Adds the value for the given Property.
|
List<Literal> |
OInstance.getDatatypePropertyValues(DatatypeProperty aProperty)
Gets a list of values for the given Property.
|
boolean |
OInstance.hasDatatypePropertyWithValue(DatatypeProperty aProperty,
Literal aValue)
Checks if the resource has the provided datatype property set on it with the specified value.
|
void |
OInstance.removeDatatypePropertyValue(DatatypeProperty aProperty,
Literal value)
Remove the provided value for the given property.
|
void |
OInstance.removeDatatypePropertyValues(DatatypeProperty aProperty)
Removes all property values set for the current property.
|
Copyright © 2023 GATE. All rights reserved.