Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r85 - trunk/src/main/java/org/tigris/limax/tokenization/Denormalization.java

limax
Discussion topic

Back to topic list

svn commit: r85 - trunk/src/main/java/org/tigris/limax/tokenization/Denormalization.java

Reply

Author wettin
Full name Karl Wettin
Date 2007-09-29 12:35:54 PDT
Message Author: wettin
Date: 2007-09-29 12:35:53-0700
New Revision: 85

Added:
   trunk/src/main/java/​org/tigris/limax/tok​enization/Denormaliz​ation.java

Log:
woups, this was removed?

Added: trunk/src/main/java/​org/tigris/limax/tok​enization/Denormaliz​ation.java
Url: http://limax.tigris.​org/source/browse/li​max/trunk/src/main/j​ava/org/tigris/limax​/tokenization/Denorm​alization.java?view=​auto&rev=85
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/main/java/​org/tigris/limax/tok​enization/Denormaliz​ation.java 2007-09-29 12:35:53-0700
@@ -0,0 +1,41 @@
+package org.tigris.limax.tokenization;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation​.RetentionPolicy;
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.or​g/licenses/LICENSE-2​.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+
+/**
+ * Complement to @BinaryAssociationEnd or @BinaryAssociationClassEnd
+ * that adds index of aggregated data.
+ *
+ * The path must point at a @Tokenizable attribute. All strategies of the denormalized attribute will be added to the denormalizing instance document.
+ *
+ * The current solution to update an entity when associated denormalized data chages
+ * is to store oid of denormalized elements with the entity.
+ *
+ * In future, the final node of the xpath must point at an @attribute or a specific @attribute/tokenization strategy/field
+ *
+ * @see org.tigris.limax.uti​l.Denormalizer
+ *
+ * @author karl wettin <mailto:karl.wett​in at gmail dot com>
+ * Date: 2007-maj-30
+ * Time: 23:36:33
+ */
+@Retention(Retentio​nPolicy.RUNTIME)
+public @interface Denormalization {
+ String[] xpaths();
+}

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r85 - trunk/src/main/java/org/tigris/limax/tokenization/Denormalization.java wettin Karl Wettin 2007-09-29 12:35:54 PDT
Messages per page: