Author: andyj Date: Wed Jan 16 09:31:31 2013 New Revision: 846807 Log: updated jdoql methods Modified: websites/production/db/content/jdo/attach_detach.html websites/production/db/content/jdo/class_types.html websites/production/db/content/jdo/dependencies.html websites/production/db/content/jdo/downloads.html websites/production/db/content/jdo/enhancement.html websites/production/db/content/jdo/exceptions.html websites/production/db/content/jdo/extents.html websites/production/db/content/jdo/faq.html websites/production/db/content/jdo/fetchgroups.html websites/production/db/content/jdo/field_types.html websites/production/db/content/jdo/get-involved.html websites/production/db/content/jdo/glossary.html websites/production/db/content/jdo/guides.html websites/production/db/content/jdo/guides/maven-jdo.html websites/production/db/content/jdo/guides/replication.html websites/production/db/content/jdo/impls.html websites/production/db/content/jdo/index.html websites/production/db/content/jdo/issuetracking.html websites/production/db/content/jdo/javadoc.html websites/production/db/content/jdo/jdo_3_0_overview.html websites/production/db/content/jdo/jdo_dtd.html websites/production/db/content/jdo/jdo_v_jpa.html websites/production/db/content/jdo/jdo_v_jpa_api.html websites/production/db/content/jdo/jdo_v_jpa_orm.html websites/production/db/content/jdo/jdocentral.html websites/production/db/content/jdo/jdoconfig_dtd.html websites/production/db/content/jdo/jdohelper.html websites/production/db/content/jdo/jdoql.html websites/production/db/content/jdo/jdoql_methods.html websites/production/db/content/jdo/jdoql_result.html websites/production/db/content/jdo/jdoquery_dtd.html websites/production/db/content/jdo/mail-lists.html websites/production/db/content/jdo/metadata.html websites/production/db/content/jdo/newshistory.html websites/production/db/content/jdo/object_retrieval.html websites/production/db/content/jdo/orm_dtd.html websites/production/db/content/jdo/pm.html websites/production/db/content/jdo/pmf.html websites/production/db/content/jdo/references.html websites/production/db/content/jdo/releases/release-2.0-beta.html websites/production/db/content/jdo/releases/release-2.0-rc1.html websites/production/db/content/jdo/releases/release-2.0.html websites/production/db/content/jdo/releases/release-2.1.1.html websites/production/db/content/jdo/releases/release-2.1.html websites/production/db/content/jdo/releases/release-2.2.html websites/production/db/content/jdo/releases/release-2.3-ea.html websites/production/db/content/jdo/releases/release-3.0.1.html websites/production/db/content/jdo/releases/release-3.0.html websites/production/db/content/jdo/roadmap.html websites/production/db/content/jdo/specifications.html websites/production/db/content/jdo/state_transition.html websites/production/db/content/jdo/svn.html websites/production/db/content/jdo/tck.html websites/production/db/content/jdo/team-list.html websites/production/db/content/jdo/transactions.html websites/production/db/content/jdo/why_jdo.html Modified: websites/production/db/content/jdo/attach_detach.html ============================================================================== --- websites/production/db/content/jdo/attach_detach.html (original) +++ websites/production/db/content/jdo/attach_detach.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/class_types.html ============================================================================== --- websites/production/db/content/jdo/class_types.html (original) +++ websites/production/db/content/jdo/class_types.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/dependencies.html ============================================================================== --- websites/production/db/content/jdo/dependencies.html (original) +++ websites/production/db/content/jdo/dependencies.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/downloads.html ============================================================================== --- websites/production/db/content/jdo/downloads.html (original) +++ websites/production/db/content/jdo/downloads.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/enhancement.html ============================================================================== --- websites/production/db/content/jdo/enhancement.html (original) +++ websites/production/db/content/jdo/enhancement.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/exceptions.html ============================================================================== --- websites/production/db/content/jdo/exceptions.html (original) +++ websites/production/db/content/jdo/exceptions.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/extents.html ============================================================================== --- websites/production/db/content/jdo/extents.html (original) +++ websites/production/db/content/jdo/extents.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/faq.html ============================================================================== --- websites/production/db/content/jdo/faq.html (original) +++ websites/production/db/content/jdo/faq.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/fetchgroups.html ============================================================================== --- websites/production/db/content/jdo/fetchgroups.html (original) +++ websites/production/db/content/jdo/fetchgroups.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/field_types.html ============================================================================== --- websites/production/db/content/jdo/field_types.html (original) +++ websites/production/db/content/jdo/field_types.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/get-involved.html ============================================================================== --- websites/production/db/content/jdo/get-involved.html (original) +++ websites/production/db/content/jdo/get-involved.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/glossary.html ============================================================================== --- websites/production/db/content/jdo/glossary.html (original) +++ websites/production/db/content/jdo/glossary.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/guides.html ============================================================================== --- websites/production/db/content/jdo/guides.html (original) +++ websites/production/db/content/jdo/guides.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/guides/maven-jdo.html ============================================================================== --- websites/production/db/content/jdo/guides/maven-jdo.html (original) +++ websites/production/db/content/jdo/guides/maven-jdo.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/guides/replication.html ============================================================================== --- websites/production/db/content/jdo/guides/replication.html (original) +++ websites/production/db/content/jdo/guides/replication.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("../css/site.css"); - + Modified: websites/production/db/content/jdo/impls.html ============================================================================== --- websites/production/db/content/jdo/impls.html (original) +++ websites/production/db/content/jdo/impls.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/index.html ============================================================================== --- websites/production/db/content/jdo/index.html (original) +++ websites/production/db/content/jdo/index.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/issuetracking.html ============================================================================== --- websites/production/db/content/jdo/issuetracking.html (original) +++ websites/production/db/content/jdo/issuetracking.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/javadoc.html ============================================================================== --- websites/production/db/content/jdo/javadoc.html (original) +++ websites/production/db/content/jdo/javadoc.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/jdo_3_0_overview.html ============================================================================== --- websites/production/db/content/jdo/jdo_3_0_overview.html (original) +++ websites/production/db/content/jdo/jdo_3_0_overview.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/jdo_dtd.html ============================================================================== --- websites/production/db/content/jdo/jdo_dtd.html (original) +++ websites/production/db/content/jdo/jdo_dtd.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/jdo_v_jpa.html ============================================================================== --- websites/production/db/content/jdo/jdo_v_jpa.html (original) +++ websites/production/db/content/jdo/jdo_v_jpa.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/jdo_v_jpa_api.html ============================================================================== --- websites/production/db/content/jdo/jdo_v_jpa_api.html (original) +++ websites/production/db/content/jdo/jdo_v_jpa_api.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/jdo_v_jpa_orm.html ============================================================================== --- websites/production/db/content/jdo/jdo_v_jpa_orm.html (original) +++ websites/production/db/content/jdo/jdo_v_jpa_orm.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/jdocentral.html ============================================================================== --- websites/production/db/content/jdo/jdocentral.html (original) +++ websites/production/db/content/jdo/jdocentral.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/jdoconfig_dtd.html ============================================================================== --- websites/production/db/content/jdo/jdoconfig_dtd.html (original) +++ websites/production/db/content/jdo/jdoconfig_dtd.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/jdohelper.html ============================================================================== --- websites/production/db/content/jdo/jdohelper.html (original) +++ websites/production/db/content/jdo/jdohelper.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/jdoql.html ============================================================================== --- websites/production/db/content/jdo/jdoql.html (original) +++ websites/production/db/content/jdo/jdoql.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/jdoql_methods.html ============================================================================== --- websites/production/db/content/jdo/jdoql_methods.html (original) +++ websites/production/db/content/jdo/jdoql_methods.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + @@ -223,38 +223,54 @@ Returns if the string starts with the passed string + startsWith(String, int) + Returns if the string starts with the passed string, after the specified position + + endsWith(String) Returns if the string ends with the passed string - + indexOf(String) Returns the first position of the passed string - - indexOf(String,int) + + indexOf(String, int) Returns the position of the passed string, after the passed position - + substring(int) Returns the substring starting from the passed position - - substring(int,int) + + substring(int, int) Returns the substring between the passed positions - + toLowerCase() Returns the string in lowercase - + toUpperCase() Retuns the string in UPPERCASE - + matches(String pattern) Returns whether string matches the passed expression. The pattern argument follows the rules of java.lang.String.matches method. + + trim() + Retuns the string with leading/trailing spaces trimmed + + + length() + Retuns the length of the string + + + charAt(int) + Returns the character at the specified position of the string +

Here's an example using a Product class, looking for objects which their abreviation is the @@ -390,6 +406,58 @@ List results = (List)query.execute();

+

Temporal Methods

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodDescription
getDay()Returns the day of the month
getMonth()Returns the month of the year
getYear()Returns the year
getHour()Returns the hour
getMinute()Returns the minute
getSecond()Returns the second
+
+
+ +

Enum Methods

+ + + + + + + + + + + + + +
MethodDescription
ordinal()Returns the ordinal of the enum
toString()Returns the string form of the enum
+
+
+

Other Methods

@@ -405,9 +473,25 @@ List results = (List)query.execute();

Returns the square root of the passed number + + + + + + + + + + + + + + + +
Math.cos(number)Returns the cosine of the passed number
Math.sin(number)Returns the sine of the passed number
Math.tan(number)Returns the tangent of the passed number
JDOHelper.getObjectId(object) Returns the object identity of the passed persistent object
JDOHelper.getVersion(object)Returns the version of the passed persistent object
Modified: websites/production/db/content/jdo/jdoql_result.html ============================================================================== --- websites/production/db/content/jdo/jdoql_result.html (original) +++ websites/production/db/content/jdo/jdoql_result.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/jdoquery_dtd.html ============================================================================== --- websites/production/db/content/jdo/jdoquery_dtd.html (original) +++ websites/production/db/content/jdo/jdoquery_dtd.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/mail-lists.html ============================================================================== --- websites/production/db/content/jdo/mail-lists.html (original) +++ websites/production/db/content/jdo/mail-lists.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/metadata.html ============================================================================== --- websites/production/db/content/jdo/metadata.html (original) +++ websites/production/db/content/jdo/metadata.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/newshistory.html ============================================================================== --- websites/production/db/content/jdo/newshistory.html (original) +++ websites/production/db/content/jdo/newshistory.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/object_retrieval.html ============================================================================== --- websites/production/db/content/jdo/object_retrieval.html (original) +++ websites/production/db/content/jdo/object_retrieval.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/orm_dtd.html ============================================================================== --- websites/production/db/content/jdo/orm_dtd.html (original) +++ websites/production/db/content/jdo/orm_dtd.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/pm.html ============================================================================== --- websites/production/db/content/jdo/pm.html (original) +++ websites/production/db/content/jdo/pm.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/pmf.html ============================================================================== --- websites/production/db/content/jdo/pmf.html (original) +++ websites/production/db/content/jdo/pmf.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/references.html ============================================================================== --- websites/production/db/content/jdo/references.html (original) +++ websites/production/db/content/jdo/references.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/releases/release-2.0-beta.html ============================================================================== --- websites/production/db/content/jdo/releases/release-2.0-beta.html (original) +++ websites/production/db/content/jdo/releases/release-2.0-beta.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ Apache JDO 2.0 Release - + Modified: websites/production/db/content/jdo/releases/release-2.0-rc1.html ============================================================================== --- websites/production/db/content/jdo/releases/release-2.0-rc1.html (original) +++ websites/production/db/content/jdo/releases/release-2.0-rc1.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ Apache JDO 2.0 Release - + Modified: websites/production/db/content/jdo/releases/release-2.0.html ============================================================================== --- websites/production/db/content/jdo/releases/release-2.0.html (original) +++ websites/production/db/content/jdo/releases/release-2.0.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/releases/release-2.1.1.html ============================================================================== --- websites/production/db/content/jdo/releases/release-2.1.1.html (original) +++ websites/production/db/content/jdo/releases/release-2.1.1.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/releases/release-2.1.html ============================================================================== --- websites/production/db/content/jdo/releases/release-2.1.html (original) +++ websites/production/db/content/jdo/releases/release-2.1.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/releases/release-2.2.html ============================================================================== --- websites/production/db/content/jdo/releases/release-2.2.html (original) +++ websites/production/db/content/jdo/releases/release-2.2.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/releases/release-2.3-ea.html ============================================================================== --- websites/production/db/content/jdo/releases/release-2.3-ea.html (original) +++ websites/production/db/content/jdo/releases/release-2.3-ea.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/releases/release-3.0.1.html ============================================================================== --- websites/production/db/content/jdo/releases/release-3.0.1.html (original) +++ websites/production/db/content/jdo/releases/release-3.0.1.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/releases/release-3.0.html ============================================================================== --- websites/production/db/content/jdo/releases/release-3.0.html (original) +++ websites/production/db/content/jdo/releases/release-3.0.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/roadmap.html ============================================================================== --- websites/production/db/content/jdo/roadmap.html (original) +++ websites/production/db/content/jdo/roadmap.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/specifications.html ============================================================================== --- websites/production/db/content/jdo/specifications.html (original) +++ websites/production/db/content/jdo/specifications.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/state_transition.html ============================================================================== --- websites/production/db/content/jdo/state_transition.html (original) +++ websites/production/db/content/jdo/state_transition.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/svn.html ============================================================================== --- websites/production/db/content/jdo/svn.html (original) +++ websites/production/db/content/jdo/svn.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/tck.html ============================================================================== --- websites/production/db/content/jdo/tck.html (original) +++ websites/production/db/content/jdo/tck.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/team-list.html ============================================================================== --- websites/production/db/content/jdo/team-list.html (original) +++ websites/production/db/content/jdo/team-list.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ - + Modified: websites/production/db/content/jdo/transactions.html ============================================================================== --- websites/production/db/content/jdo/transactions.html (original) +++ websites/production/db/content/jdo/transactions.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - + Modified: websites/production/db/content/jdo/why_jdo.html ============================================================================== --- websites/production/db/content/jdo/why_jdo.html (original) +++ websites/production/db/content/jdo/why_jdo.html Wed Jan 16 09:31:31 2013 @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @import url("./css/site.css"); - +