Revision: 15002
http://gate.svn.sourceforge.net/gate/?rev=15002&view=rev
Author: markagreenwood
Date: 2012-01-10 21:18:26 +0000 (Tue, 10 Jan 2012)
Log Message:
-----------
more javadoc fixes
Modified Paths:
--------------
gate/trunk/src/gate/creole/ontology/AllValuesFromRestriction.java
gate/trunk/src/gate/creole/ontology/CardinalityRestriction.java
gate/trunk/src/gate/creole/ontology/DataType.java
gate/trunk/src/gate/creole/ontology/DatatypeProperty.java
gate/trunk/src/gate/creole/ontology/Literal.java
gate/trunk/src/gate/creole/ontology/MaxCardinalityRestriction.java
gate/trunk/src/gate/creole/ontology/MinCardinalityRestriction.java
gate/trunk/src/gate/creole/ontology/OInstance.java
gate/trunk/src/gate/creole/ontology/ONodeID.java
gate/trunk/src/gate/creole/ontology/OResource.java
gate/trunk/src/gate/creole/ontology/OURI.java
gate/trunk/src/gate/creole/ontology/OUtils.java
gate/trunk/src/gate/creole/ontology/Ontology.java
gate/trunk/src/gate/creole/ontology/OntologyBooleanQuery.java
gate/trunk/src/gate/creole/ontology/OntologyTupleQuery.java
gate/trunk/src/gate/creole/ontology/OntologyUtilities.java
Modified: gate/trunk/src/gate/creole/ontology/AllValuesFromRestriction.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/AllValuesFromRestriction.java
2012-01-10 20:48:13 UTC (rev 15001)
+++ gate/trunk/src/gate/creole/ontology/AllValuesFromRestriction.java
2012-01-10 21:18:26 UTC (rev 15002)
@@ -18,8 +18,6 @@
* Returns the resource which is set as a restricted value.
* For ontologies that conform to OWL-Lite this is always an OClass
* object.
- *
- * @return
*/
public OResource getHasValue();
@@ -30,7 +28,7 @@
*
* @param resource - the OResource, usually and OClass that should be value
* of the restriction.
- * @deprecated - use {@link setHasValue(OClass) } instead
+ * @deprecated - use {@link #setHasValue(OClass) } instead
*/
@Deprecated
public void setHasValue(OResource resource);
Modified: gate/trunk/src/gate/creole/ontology/CardinalityRestriction.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/CardinalityRestriction.java
2012-01-10 20:48:13 UTC (rev 15001)
+++ gate/trunk/src/gate/creole/ontology/CardinalityRestriction.java
2012-01-10 21:18:26 UTC (rev 15002)
@@ -17,23 +17,16 @@
/**
* This method returns the cardinality value.
- *
- * @return
*/
public String getValue();
/**
* This method returns the datatype uri.
- *
- * @return
*/
public DataType getDataType();
/**
* Sets the cardinality value.
- *
- * @param value
- * @param dataType
* @throws InvalidValueException
*/
public void setValue(String value, DataType dataType) throws
InvalidValueException;
Modified: gate/trunk/src/gate/creole/ontology/DataType.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/DataType.java 2012-01-10 20:48:13 UTC
(rev 15001)
+++ gate/trunk/src/gate/creole/ontology/DataType.java 2012-01-10 21:18:26 UTC
(rev 15002)
@@ -595,9 +595,6 @@
/**
* Gets the respective datatype for the given datatype URI. If the URI
* is invalid, the method returns null.
- *
- * @param datatypeURI
- * @return
*/
public static DataType getDataType(String datatypeURI) {
return datatypeMap.get(datatypeURI);
@@ -606,9 +603,6 @@
/**
* Gets the respective locale for the given 2 character language code.
* If the code doesn't match, the method returns null.
- *
- * @param languageCode
- * @return
*/
public static Locale getLocale(String languageCode) {
if(languageCode == null) return null;
Modified: gate/trunk/src/gate/creole/ontology/DatatypeProperty.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/DatatypeProperty.java 2012-01-10
20:48:13 UTC (rev 15001)
+++ gate/trunk/src/gate/creole/ontology/DatatypeProperty.java 2012-01-10
21:18:26 UTC (rev 15002)
@@ -27,7 +27,6 @@
/**
* This method returns the DataType set for this property
- * @return
*/
public DataType getDataType();
@@ -35,7 +34,7 @@
* Checks whether the provided datatype value is compatible with the DataType
* restrictions on the property.
*
- * @param aValue
+ * @param value
* the Value
* @return true if this datatype value is compatible with the DataType
restrictions on
* the property. False otherwise.
Modified: gate/trunk/src/gate/creole/ontology/Literal.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/Literal.java 2012-01-10 20:48:13 UTC
(rev 15001)
+++ gate/trunk/src/gate/creole/ontology/Literal.java 2012-01-10 21:18:26 UTC
(rev 15002)
@@ -50,8 +50,6 @@
* Create a plain literal (i.e an untyped literal) without a language tag
* (the language is null).
* A plain literal cannot have a data type (the datatype will always be
null).
- *
- * @param val
*/
public Literal(String value) {
this.value = value;
@@ -125,8 +123,6 @@
/**
* Gets the datatype of the literal. This will return null for all plain
* literals (i.e. literals that are not associated with a data type).
- *
- * @return
*/
public DataType getDataType() {
return dataType;
@@ -134,8 +130,6 @@
/**
* Returns the value (lexical form) associated with this instance of literal.
- *
- * @return
*/
public String getValue() {
return value;
@@ -146,8 +140,6 @@
* Locale object. Note that the only useful information in the Locale
* object is the language code which can be retrieved with the
* getLanguage() method of the Locale object.
- *
- * @return
* @deprecated Use the method getLanguageTag() instead.
*/
@Deprecated
Modified: gate/trunk/src/gate/creole/ontology/MaxCardinalityRestriction.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/MaxCardinalityRestriction.java
2012-01-10 20:48:13 UTC (rev 15001)
+++ gate/trunk/src/gate/creole/ontology/MaxCardinalityRestriction.java
2012-01-10 21:18:26 UTC (rev 15002)
@@ -16,13 +16,11 @@
/**
* This method returns the maximum cardinality value allowed for this
value.
- * @return
*/
public String getValue();
/**
* This method returns the datatype associated to the restriction.
- * @return
*/
public DataType getDataType();
Modified: gate/trunk/src/gate/creole/ontology/MinCardinalityRestriction.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/MinCardinalityRestriction.java
2012-01-10 20:48:13 UTC (rev 15001)
+++ gate/trunk/src/gate/creole/ontology/MinCardinalityRestriction.java
2012-01-10 21:18:26 UTC (rev 15002)
@@ -1,37 +1,31 @@
/*
* MinCardinalityRestriction.java
- *
- * $Id$
*
+ * $Id$
*/
package gate.creole.ontology;
/**
* A MinCardinalityRestriction.
- *
+ *
* @author Niraj Aswani
- *
*/
public interface MinCardinalityRestriction extends Restriction {
+
+ /**
+ * This method returns the minimum cardinality value allowed for this value.
+ */
+ public String getValue();
- /**
- * This method returns the mimimum cardinality value allowed for this
value.
- * @return
- */
- public String getValue();
-
- /**
- * This method returns the datatype associated to the restriction.
- * @return
- */
- public DataType getDataType();
-
/**
+ * This method returns the datatype associated to the restriction.
+ */
+ public DataType getDataType();
+
+ /**
* Sets the cardinality value.
- * @param value
- * @param dataType
* @throws InvalidValueException
*/
- public void setValue(String value, DataType dataType) throws
InvalidValueException;
-
+ public void setValue(String value, DataType dataType)
+ throws InvalidValueException;
}
Modified: gate/trunk/src/gate/creole/ontology/OInstance.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/OInstance.java 2012-01-10 20:48:13 UTC
(rev 15001)
+++ gate/trunk/src/gate/creole/ontology/OInstance.java 2012-01-10 21:18:26 UTC
(rev 15002)
@@ -60,8 +60,6 @@
/**
* Sets the instance being different from the provided instance.
- *
- * @param theIndividual
*/
public void setDifferentFrom(OInstance theInstance);
@@ -77,7 +75,6 @@
* Checks whether the instance is different from the given instance
*
* @param theInstance
- * @return
*/
public boolean isDifferentFrom(OInstance theInstance);
@@ -91,16 +88,11 @@
/**
* Returns a set of {@link OInstance} objects which are explicitly
* specified as being same as the current instance.
- *
- * @return
*/
public Set<OInstance> getSameInstance();
/**
* Checks whether the instance is same as the given instance
- *
- * @param theInstance
- * @return
*/
public boolean isSameInstanceAs(OInstance theInstance);
@@ -110,9 +102,6 @@
/**
* Adds the value for the given RDFProperty.
- *
- * @param aProperty
- * @param value
* @throws InvalidValueException This exception is thrown when a value
* is not compatible with the specified property's range.
* @deprecated this throws an exception in the new implementation
@@ -123,10 +112,6 @@
/**
* Remove the provided value for the given property.
- *
- * @param aProperty
- * @param value
- * @return
* @deprecated
*/
@Deprecated
@@ -146,15 +131,11 @@
/**
* This method returns the RDF properties set on this resource.
- * @return
*/
public Set<RDFProperty> getSetRDFProperties();
/**
* Checks if the resource has the provided annotation property set on it
with the specified value.
- * @param aProperty
- * @param aValue
- * @return
* @deprecated
*/
@Deprecated
@@ -163,8 +144,6 @@
/**
* Removes all property values set for the current property.
- *
- * @param aProperty
* @deprecated
*/
@Deprecated
@@ -176,9 +155,6 @@
/**
* Adds the value for the given Property.
- *
- * @param aProperty
- * @param value
* @throws InvalidValueException This exception is thrown when a value
* is not compatible with the specified property's range.
*/
@@ -187,26 +163,18 @@
/**
* Remove the provided value for the given property.
- *
- * @param aProperty
- * @param value
- * @return
*/
public void removeDatatypePropertyValue(DatatypeProperty aProperty,
Literal value);
/**
* Gets a list of values for the given Property.
- *
- * @param aProperty
* @return a {@link List} of {@link Literal}.
*/
public List<Literal> getDatatypePropertyValues(DatatypeProperty aProperty);
/**
* Removes all property values set for the current property.
- *
- * @param aProperty
*/
public void removeDatatypePropertyValues(DatatypeProperty aProperty);
@@ -217,9 +185,6 @@
/**
* Adds the value for the given property (Object, Symmetric and
* Transitive).
- *
- * @param aProperty
- * @param value
* @throws InvalidValueException This exception is thrown when a value
* is not compatible with the specified property's range.
*/
@@ -229,9 +194,6 @@
/**
* Remove the provided value for the given property (Object, Symmetric
* and Transitive).
- *
- * @param aProperty
- * @param value
* @return true, if the value for the given property is deleted
* successfully, otherwise - false.
*/
@@ -241,8 +203,6 @@
/**
* Gets a list of values for the given Property (Object, Symmetric and
* Transitive).
- *
- * @param aProperty
* @return a {@link List} of {@link OInstance}.
*/
public List<OInstance> getObjectPropertyValues(ObjectProperty aProperty);
@@ -250,38 +210,28 @@
/**
* Removes all property values set for the current property (Object,
* Symmetric and Transitive).
- *
- * @param aProperty
*/
public void removeObjectPropertyValues(ObjectProperty aProperty);
/**
* This method returns the datatype properties set on this resource.
- * @return
*/
public Set<DatatypeProperty> getSetDatatypeProperties();
/**
* This method returns the object properties set on this resource.
- * @return
*/
public Set<ObjectProperty> getSetObjectProperties();
/**
* Checks if the resource has the provided datatype property set on it with
the specified value.
- * @param aProperty
- * @param aValue
- * @return
*/
public boolean hasDatatypePropertyWithValue(DatatypeProperty aProperty,
Literal aValue);
/**
* Checks if the resource has the provided object property set on it with
the specified value.
- * @param aProperty
- * @param aValue
- * @return
*/
public boolean hasObjectPropertyWithValue(ObjectProperty aProperty,
OInstance aValue);
Modified: gate/trunk/src/gate/creole/ontology/ONodeID.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/ONodeID.java 2012-01-10 20:48:13 UTC
(rev 15001)
+++ gate/trunk/src/gate/creole/ontology/ONodeID.java 2012-01-10 21:18:26 UTC
(rev 15002)
@@ -45,9 +45,8 @@
* if the node is a BNodeID, this will return the same string as toString().
* <p>
* NOTE: URI encoding and translation from/to IRIs is not implemented yet!
- *
- * @return
*/
+
public String toASCIIString();
/**
* Return the node ID as a unicode string.
@@ -55,24 +54,23 @@
* If the node is a BNodeID, this will return the same sting as toString().
* <p>
* NOTE: not implemented yet!
- *
- * @return
*/
public String toDisplayString();
+
/**
* Return if this represents a blank node or a named resource.
* Returns true if this represents a blank node (is a BNodeID) or a named
* resource (is a ORUI).
* <p>
* NOTE: not implemented yet!
- *
- * @return
*/
public boolean isAnonymousResource();
public int compareTo(ONodeID other);
+
@Override
public boolean equals(Object other);
+
@Override
public int hashCode();
/**
@@ -84,9 +82,8 @@
* or the URI as returned by toString() between "<" and ">". This will have
* to use a proper ASCII representation of the URI or an IRI representation
* instead.
- *
- * @return
*/
+
public String toTurtle();
/**
* Validate if the string that was passed on as a bnode id or as an URI/IRI
Modified: gate/trunk/src/gate/creole/ontology/OResource.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/OResource.java 2012-01-10 20:48:13 UTC
(rev 15001)
+++ gate/trunk/src/gate/creole/ontology/OResource.java 2012-01-10 21:18:26 UTC
(rev 15002)
@@ -42,15 +42,11 @@
/**
* This method returns a set of labels specified on this resource.
- *
- * @return
*/
public Set<Literal> getLabels();
/**
* This method returns a set of comments specified on this resource.
- *
- * @return
* @deprecated
*/
@Deprecated
@@ -132,41 +128,29 @@
/**
* This method returns the annotation properties set on this resource.
- *
- * @return
*/
public Set<AnnotationProperty> getSetAnnotationProperties();
/**
* This method returns all the set properties set on this resource.
- *
- * @return
*/
public Set<RDFProperty> getAllSetProperties();
/**
* This method returns a set of all properties where the current
* resource has been specified as one of the domain resources.
- *
- * @return
*/
public Set<RDFProperty> getPropertiesWithResourceAsDomain();
/**
* This method returns a set of all properties where the current
* resource has been specified as one of the range resources.
- *
- * @return
*/
public Set<RDFProperty> getPropertiesWithResourceAsRange();
/**
* Checks if the resource has the provided annotation property set on
* it with the specified value.
- *
- * @param aProperty
- * @param aValue
- * @return
*/
public boolean hasAnnotationPropertyWithValue(AnnotationProperty aProperty,
Literal aValue);
@@ -174,9 +158,6 @@
/**
* For the current resource, the method removes the given literal for
* the given property.
- *
- * @param theAnnotationProperty
- * @param literal
*/
public void removeAnnotationPropertyValue(
AnnotationProperty theAnnotationProperty, Literal literal);
Modified: gate/trunk/src/gate/creole/ontology/OURI.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/OURI.java 2012-01-10 20:48:13 UTC
(rev 15001)
+++ gate/trunk/src/gate/creole/ontology/OURI.java 2012-01-10 21:18:26 UTC
(rev 15002)
@@ -14,7 +14,7 @@
* these objects using their constructor (clients must never directly use
* any classes from the inplementing packages below this package!).
* In order to create OURIs the {@link Ontology} factory methods
- * {@link Ontology#createOURI(String)}, {@link
Ontology#createOURIFroName(String)},
+ * {@link Ontology#createOURI(String)}, {@link
Ontology#createOURIForName(String)},
* or {@link Ontology#generateOURI(String)} must be used.
*
* @author Johann Petrak
Modified: gate/trunk/src/gate/creole/ontology/OUtils.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/OUtils.java 2012-01-10 20:48:13 UTC
(rev 15001)
+++ gate/trunk/src/gate/creole/ontology/OUtils.java 2012-01-10 21:18:26 UTC
(rev 15002)
@@ -97,7 +97,7 @@
* particular any % characters in the original string that are not part of a
* %NN escape sequence will themselves be encoded as %25.
*
- * @param uri The uri, in characters specified by RFC 2396 + '#'
+ * @param uriRef The uri, in characters specified by RFC 2396 + '#'
* @return The corresponding Unicode String
*/
public static String uriEncode(String uriRef) {
Modified: gate/trunk/src/gate/creole/ontology/Ontology.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/Ontology.java 2012-01-10 20:48:13 UTC
(rev 15001)
+++ gate/trunk/src/gate/creole/ontology/Ontology.java 2012-01-10 21:18:26 UTC
(rev 15002)
@@ -283,10 +283,6 @@
/**
* Set an annotation property for the ontology to the specified literal
* value.
- * The annotation property can be one of the predefined system annotation
- * properties that can be generated with
- * {@link #getSystemAnnotationProperty(OConstants.SystemAnnotationProperty)}
or
- * a user-defined annotation property.
*
* @param ann the annotation property object
* @param value a Literal object describing the value. This usually should be
@@ -297,10 +293,6 @@
/**
* Get the values of an ontology annotation property.
- * The annotation property can be one of the predefined system annotation
- * properties that can be generated with
- * {@link #getSystemAnnotationProperty(OConstants.SystemAnnotationProperty)}
or
- * a user-defined annotation property.
*
* @param ann the annotation property object
* @return a a list of literals describing the values for the property
@@ -346,7 +338,7 @@
* Retrieves a both named classes and anonymous classes and retrictions that
* match either the URI or the blank node identifier represented by ONodeID
* @param theClassID
- * @returnthe class matching the URI or blank node ID or null if no matches.
+ * @return the class matching the URI or blank node ID or null if no matches.
*/
public OClass getOClass(ONodeID theClassID);
@@ -438,7 +430,6 @@
* Gets all instances in the ontology.
*
* @return a {@link Set} of OInstance objects
- * {@link #getOInstanceIterator()} instead
*/
public Set<OInstance> getOInstances();
@@ -468,8 +459,8 @@
* indirectly (transitive closure)
*
* @param theClass the class of the instances
- * @param closure either {@link OConstants.Closure.DIRECT_CLOSURE} or
- * {@link OConstants.Closure.TRANSITIVE_CLOSURE}
+ * @param closure either {@link OConstants.Closure#DIRECT_CLOSURE} or
+ * {@link OConstants.Closure#TRANSITIVE_CLOSURE}
*
* @return {@link Set} of OInstance objects
*/
@@ -518,7 +509,6 @@
* etc.).
* @param range a set of {@link OResource} (e.g. a Class, a Property
* etc.).
- * @return
* @deprecated
*/
@Deprecated
@@ -529,7 +519,7 @@
* Gets the set of RDF Properties in the ontology where for a property
* there exists a statement <theProperty, RDF:Type, RDF:Property>.
*
- * @return a {@link Set} of {@link Property}.
+ * @return a {@link Set} of {@link RDFProperty}.
*/
public Set<RDFProperty> getRDFProperties();
@@ -548,7 +538,6 @@
*
* @param aPropertyURI URI of the property to be added into the
* ontology.
- * @return
*/
public AnnotationProperty addAnnotationProperty(OURI aPropertyURI);
@@ -793,7 +782,6 @@
*
* @param onProperty - Specifies the property for which the restriction is
being set.
* @param minCardinalityValue - generally a numeric number.
- * @return
* @throws InvalidValueException - if a value is not compatible with the
nonNegativeIntegerNumber datatype.
*/
public MinCardinalityRestriction addMinCardinalityRestriction(
@@ -807,7 +795,6 @@
*
* @param onProperty - Specifies the property for which the restriction is
being set.
* @param maxCardinalityValue - generally a numeric number.
- * @return
* @throws InvalidValueException - if a value is not compatible with the
nonNegativeIntegerNumber datatype.
*/
public MaxCardinalityRestriction addMaxCardinalityRestriction(
@@ -821,7 +808,6 @@
*
* @param onProperty - Specifies the property for which the restriction is
being set.
* @param cardinalityValue - generally a numeric number.
- * @return
* @throws InvalidValueException - if a value is not compatible with the
nonNegativeIntegerNumber datatype.
*/
public CardinalityRestriction addCardinalityRestriction(
@@ -835,7 +821,6 @@
*
* @param onProperty - Specifies the property for which the restriction is
being set.
* @param hasValue - a resource used as a value for hasValue element of the
restriction.
- * @return
*/
public HasValueRestriction addHasValueRestriction(
RDFProperty onProperty, OResource hasValue);
@@ -845,10 +830,9 @@
*
* @param onProperty - Specifies the property for which the restriction is
being set.
* @param hasValue - a resource used as a value for hasValue element of the
restriction.
- * @return
* @deprecated - this method is deprecated and kept for backwards
compatibility
* as long as the OntologyOWLIM2 plugin is kept. Use the method
- * {@link addAllValuesFromRestriction(ObjectProperty, OClass)} instead.
+ * {@link #addAllValuesFromRestriction(ObjectProperty, OClass)} instead.
*/
@Deprecated
public AllValuesFromRestriction addAllValuesFromRestriction(
@@ -865,16 +849,11 @@
*
* @param onProperty - Specifies the property for which the restriction is
being set.
* @param hasValue - a resource used as a value for hasValue element of the
restriction.
- * @return
*/
public SomeValuesFromRestriction addSomeValuesFromRestriction(
RDFProperty onProperty, OResource hasValue);
- /**
- *
- * @return
- */
public AnonymousClass addAnonymousClass();
// *****************************
@@ -897,26 +876,17 @@
/**
* Register the Ontology Modification Listeners
- *
- * @param oml
*/
public void addOntologyModificationListener(OntologyModificationListener
oml);
/**
* Removed the registered ontology modification listeners
- *
- * @param oml
*/
public void removeOntologyModificationListener(
OntologyModificationListener oml);
/**
* A method to invoke when a resource's property value is changed
- *
- * @param resource
- * @param property
- * @param value
- * @param eventType
*/
public void fireResourcePropertyValueChanged(OResource resource, RDFProperty
property, Object value, int eventType);
@@ -968,8 +938,6 @@
/**
* Checks whether the transation is already started.
- *
- * @return
* @deprecated
*/
@Deprecated
@@ -978,8 +946,6 @@
/**
* Returns the repository created for this particular instance of the
* ontology.
- *
- * @return
* @deprecated
*/
@Deprecated
@@ -988,8 +954,6 @@
/**
* Returns the ID of a Sesame Repository created for this particular
* instance of the ontology.
- *
- * @return
* @deprecated
*/
@Deprecated
@@ -999,9 +963,6 @@
/**
* Given a URI object, this method returns its equivalent object
- *
- * @param uri
- * @return
* @deprecated
*/
@Deprecated
@@ -1009,9 +970,6 @@
/**
* Adds the resource to central map
- *
- * @param uri
- * @param resource
* @deprecated
*/
@Deprecated
@@ -1033,9 +991,6 @@
* the first found OResource (without gurantteeing the order) from its
* list. If user wants to retrieve a list of resources, he/she must
* use the getOResourcesByName(String resourceName).
- *
- * @param resourceName
- * @return
* @deprecated
*/
@Deprecated
@@ -1050,8 +1005,6 @@
* delete the resource from an ontology. One must use appropriate
* method from the Ontology interface to delete such resources.
*
- * @param resourceName
- * @return
* @deprecated
*/
public List<OResource> getOResourcesByName(String resourceName);
@@ -1063,7 +1016,6 @@
* ontology. One must use appropriate method from the Ontology
* interface to delete such resources.
*
- * @return
* @deprecated
*/
@Deprecated
@@ -1073,10 +1025,6 @@
* This method given a property (either an annotation or datatype),
* retrieves a list of resources which have the provided literal set
* as a value.
- *
- * @param aProperty
- * @param aValue
- * @return
*/
public List<OResource> getOResourcesWith(RDFProperty aProperty, Literal
aValue);
@@ -1084,10 +1032,6 @@
* This method given a property (either object, transitive, symmetric
* or rdf), retrieves a list of resources which have the provided
* resource set as a value.
- *
- * @param aProperty
- * @param aValue
- * @return
*/
public List<OResource> getOResourcesWith(RDFProperty aProperty,
OResource aValue);
@@ -1095,10 +1039,8 @@
/**
* The method executes the query on repository and returns the toString()
* result of the QueryResultTable.
- * @param serqlQuery
- * @return
*
- * @deprecated As of release 1.3, replaced by {@link #createQuery()}
+ * @deprecated
*/
@Deprecated
public String executeQuery(String serqlQuery);
Modified: gate/trunk/src/gate/creole/ontology/OntologyBooleanQuery.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/OntologyBooleanQuery.java
2012-01-10 20:48:13 UTC (rev 15001)
+++ gate/trunk/src/gate/creole/ontology/OntologyBooleanQuery.java
2012-01-10 21:18:26 UTC (rev 15002)
@@ -16,7 +16,7 @@
/**
* This represents a boolean query of the triple store for the ontology.
* To create a boolean query object you must use the ontology's factory
- * method {@link Ontology.createBooleanQuery(String query, QueryLanguage
lang)}.
+ * method {@link Ontology#createBooleanQuery(String,
gate.creole.ontology.OConstants.QueryLanguage)}.
* <p>
* NOTE: querying the ontology triple store directly should be avoided and
* only done in exceptional cases. Using the methods to query and access
ontology
Modified: gate/trunk/src/gate/creole/ontology/OntologyTupleQuery.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/OntologyTupleQuery.java 2012-01-10
20:48:13 UTC (rev 15001)
+++ gate/trunk/src/gate/creole/ontology/OntologyTupleQuery.java 2012-01-10
21:18:26 UTC (rev 15002)
@@ -19,7 +19,7 @@
/**
* This represents a tuple query of the triple store for the ontology.
* To create a tuple query object you must use the ontology's factory
- * method {@link Ontology.createTupleQuery(String query, QueryLanguage lang)}.
+ * method {@link Ontology#createTupleQuery(String,
gate.creole.ontology.OConstants.QueryLanguage)}.
* <p>
* NOTE: querying the ontology triple store directly should be avoided and
* only done in exceptional cases. Using the methods to query and access
ontology
Modified: gate/trunk/src/gate/creole/ontology/OntologyUtilities.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/OntologyUtilities.java 2012-01-10
20:48:13 UTC (rev 15001)
+++ gate/trunk/src/gate/creole/ontology/OntologyUtilities.java 2012-01-10
21:18:26 UTC (rev 15002)
@@ -45,9 +45,6 @@
* found, attempts to create one using OWLIM implementation with
* RDF/XML as ontology type and if successful returns the newly
* created instance of the ontology.
- *
- * @param url
- * @return
* @throws ResourceInstantiationException
* @deprecated - this method should be avoided
*/
@@ -95,9 +92,6 @@
/**
* Given a URI, this methord returns the name part
- *
- * @param uri
- * @return
* @deprecated use {@link OURI#getResourceName} instead
*/
@Deprecated
@@ -316,9 +310,6 @@
/**
* Gets the respective datatype for the given datatype URI. If the URI
* is invalid, the method returns null.
- *
- * @param datatypeURI
- * @return
* @deprecated use {@link DataType#getDataType} instead
*/
@Deprecated
@@ -329,9 +320,6 @@
/**
* Gets the respective locale for the given 2 character language code.
* If the code doesn't match, the method returns null.
- *
- * @param languageCode
- * @return
* @deprecated use {@link DataType#getLocale} instead
*/
@Deprecated
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs