From: <fg...@us...> - 2010-08-29 15:31:15
|
Revision: 2927 http://openutils.svn.sourceforge.net/openutils/?rev=2927&view=rev Author: fgiust Date: 2010-08-29 15:31:09 +0000 (Sun, 29 Aug 2010) Log Message: ----------- javadocs Modified Paths: -------------- trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/criterion/Criterion.java trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/criterion/Junction.java trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/XPathSelect.java Modified: trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/criterion/Criterion.java =================================================================== --- trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/criterion/Criterion.java 2010-08-29 15:26:31 UTC (rev 2926) +++ trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/criterion/Criterion.java 2010-08-29 15:31:09 UTC (rev 2927) @@ -37,19 +37,39 @@ public interface Criterion extends Serializable { - + /** + * The jcr primary type "@jcr:primaryType". + */ String JCR_PRIMARYTYPE = "@jcr:primaryType"; + /** + * The xpath attribute prefix "@" + */ String ATTRIBUTE_SELECTOR = "@"; + /** + * The jcr prefix "jcr:". + */ String JCR_PREFIX = "jcr:"; + /** + * The jcr root path "/jcr:root". + */ String JCR_ROOT = "/jcr:root"; + /** + * Xpath for all elements "//*". + */ String ALL_ELEMENTS = "//*"; + /** + * XS datetime function "xs:dateTime" + */ String XS_DATETIME_FUNCTION = "xs:dateTime"; + /** + * nt:base item type. + */ String NT_BASE = "nt:base"; /** Modified: trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/criterion/Junction.java =================================================================== --- trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/criterion/Junction.java 2010-08-29 15:26:31 UTC (rev 2926) +++ trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/criterion/Junction.java 2010-08-29 15:31:09 UTC (rev 2927) @@ -48,6 +48,11 @@ this.op = op; } + /** + * Adds a criterion to this Junction + * @param criterion Criterion to add + * @return Junction + */ public Junction add(Criterion criterion) { criteria.add(criterion); @@ -59,6 +64,9 @@ return op; } + /** + * {@inheritDoc} + */ public String toXPathString(Criteria crit) throws JCRQueryException { @@ -89,7 +97,7 @@ } /** - * @see java.lang.Object#toString() + * {@inheritDoc} */ @Override public String toString() Modified: trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/XPathSelect.java =================================================================== --- trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/XPathSelect.java 2010-08-29 15:26:31 UTC (rev 2926) +++ trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/XPathSelect.java 2010-08-29 15:31:09 UTC (rev 2927) @@ -69,7 +69,7 @@ /** * Sets the selectClause. - * @param selectClause The selectClause to set + * @param root the root path for the jcr query */ public XPathSelect setRoot(String root) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |