Revision: 15004
http://gate.svn.sourceforge.net/gate/?rev=15004&view=rev
Author: markagreenwood
Date: 2012-01-11 06:00:14 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
more javadoc fixes
Modified Paths:
--------------
gate/trunk/src/gate/creole/ontology/OInstance.java
gate/trunk/src/gate/creole/ontology/ONodeID.java
gate/trunk/src/gate/creole/ontology/RDFProperty.java
gate/trunk/src/gate/creole/ontology/SomeValuesFromRestriction.java
gate/trunk/src/gate/creole/ontology/Triple.java
gate/trunk/src/gate/creole/ontology/URI.java
Modified: gate/trunk/src/gate/creole/ontology/OInstance.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/OInstance.java 2012-01-11 02:27:47 UTC
(rev 15003)
+++ gate/trunk/src/gate/creole/ontology/OInstance.java 2012-01-11 06:00:14 UTC
(rev 15004)
@@ -194,8 +194,6 @@
/**
* Remove the provided value for the given property (Object, Symmetric
* and Transitive).
- * @return true, if the value for the given property is deleted
- * successfully, otherwise - false.
*/
public void removeObjectPropertyValue(ObjectProperty aProperty,
OInstance value);
Modified: gate/trunk/src/gate/creole/ontology/ONodeID.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/ONodeID.java 2012-01-11 02:27:47 UTC
(rev 15003)
+++ gate/trunk/src/gate/creole/ontology/ONodeID.java 2012-01-11 06:00:14 UTC
(rev 15004)
@@ -32,12 +32,13 @@
public interface ONodeID extends Comparable<ONodeID> {
public String getNameSpace();
public String getResourceName();
+
/**
* Return the node ID as the string from which the ID was originally created.
- * @return
*/
@Override
public String toString();
+
/**
* Return the node ID as a pure ASCII string.
* If the node is an OURI, this will return a string that has non ASCII
@@ -46,8 +47,8 @@
* <p>
* NOTE: URI encoding and translation from/to IRIs is not implemented yet!
*/
-
public String toASCIIString();
+
/**
* Return the node ID as a unicode string.
* If the node is an OURI, this will return a string that is a valid IRI.
@@ -73,6 +74,7 @@
@Override
public int hashCode();
+
/**
* Return a representation of the node that conforms to Turtle syntax.
* This will return a string that conforms to TURTLE (Terse RDF Triple
@@ -83,8 +85,8 @@
* to use a proper ASCII representation of the URI or an IRI representation
* instead.
*/
+ public String toTurtle();
- public String toTurtle();
/**
* Validate if the string that was passed on as a bnode id or as an URI/IRI
* to the constructor of the implementing class can be converted to
Modified: gate/trunk/src/gate/creole/ontology/RDFProperty.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/RDFProperty.java 2012-01-11
02:27:47 UTC (rev 15003)
+++ gate/trunk/src/gate/creole/ontology/RDFProperty.java 2012-01-11
06:00:14 UTC (rev 15004)
@@ -52,15 +52,25 @@
/**
* Gets the set of super-properties for this property.
*
- * @param {@link OConstants#DIRECT_CLOSURE} for direct
+ * @param closure {@link OConstants#DIRECT_CLOSURE} for direct
* super-properties only or
* {@link OConstants#TRANSITIVE_CLOSURE} for all the
* super-properties.
- * @return a set of {@link Property} values.
+ * @return a set of {@link RDFProperty} values.
+ * @deprecated
*/
@Deprecated
public Set<RDFProperty> getSuperProperties(byte closure);
+ /**
+ * Gets the set of super-properties for this property.
+ *
+ * @param closure {@link OConstants.Closure#DIRECT_CLOSURE} for direct
+ * super-properties only or
+ * {@link OConstants.Closure#TRANSITIVE_CLOSURE} for all the
+ * super-properties.
+ * @return a set of {@link RDFProperty} values.
+ */
public Set<RDFProperty> getSuperProperties(Closure closure);
/**
@@ -184,7 +194,6 @@
/**
* Returns the set of domain restrictions for this property.
- * @return
* @deprecated
*/
@Deprecated
Modified: gate/trunk/src/gate/creole/ontology/SomeValuesFromRestriction.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/SomeValuesFromRestriction.java
2012-01-11 02:27:47 UTC (rev 15003)
+++ gate/trunk/src/gate/creole/ontology/SomeValuesFromRestriction.java
2012-01-11 06:00:14 UTC (rev 15004)
@@ -13,15 +13,11 @@
/**
* Returns the resource which is set as a value
- *
- * @return
*/
public OResource getHasValue();
/**
* Sets the resource as a restricted value.
- *
- * @param resource
*/
public void setHasValue(OResource resource);
Modified: gate/trunk/src/gate/creole/ontology/Triple.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/Triple.java 2012-01-11 02:27:47 UTC
(rev 15003)
+++ gate/trunk/src/gate/creole/ontology/Triple.java 2012-01-11 06:00:14 UTC
(rev 15004)
@@ -24,17 +24,16 @@
public ONodeID getSubject();
public OURI getPredicate();
public LiteralOrONodeID getObject();
+
/**
* Return a printable representation of the triple, this may be
implementation
* dependent but should ideally adhere to Turtle syntax.
- * @return
*/
@Override
public String toString();
+
/**
* Return the Turtle representation of the triple
- *
- * @return
*/
public String toTurtle();
Modified: gate/trunk/src/gate/creole/ontology/URI.java
===================================================================
--- gate/trunk/src/gate/creole/ontology/URI.java 2012-01-11 02:27:47 UTC
(rev 15003)
+++ gate/trunk/src/gate/creole/ontology/URI.java 2012-01-11 06:00:14 UTC
(rev 15004)
@@ -85,8 +85,6 @@
* Retrieves the name space part from the URI. In this implementation
* it retrieves the string that appears before the last occurance of
* '#' or '/'.
- *
- * @return
*/
public String getNameSpace() {
return this.namespace;
@@ -95,9 +93,7 @@
/**
* Retrieves the resource name from the given URI. In this
* implementation it retrieves the string that appears after the last
- * occurance of '#' or '/'.
- *
- * @return
+ * occurrence of '#' or '/'.
*/
public String getResourceName() {
return this.aResourceName;
@@ -113,8 +109,6 @@
/**
* Indicates whether the URI refers to an anonymous resource
- *
- * @return
*/
public boolean isAnonymousResource() {
return this.isAnonymousResource;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs