Author: adamw
Date: 2008-08-16 13:42:15 -0400 (Sat, 16 Aug 2008)
New Revision: 112
Added:
trunk/src/main/org/jboss/envers/entities/mapper/
trunk/src/main/org/jboss/envers/entities/mapper/id/QueryParameterData.java
trunk/src/main/org/jboss/envers/entities/mapper/relation/
Removed:
trunk/src/main/org/jboss/envers/configuration/RelationDescription.java
trunk/src/main/org/jboss/envers/entities/mapper/id/QueryParameterData.java
trunk/src/main/org/jboss/envers/entities/mapper/id/relation/
trunk/src/main/org/jboss/envers/mapper/
Modified:
trunk/src/main/org/jboss/envers/configuration/metadata/VersionsMetadataGenerator.java
trunk/src/main/org/jboss/envers/entities/EntitiesConfigurations.java
trunk/src/main/org/jboss/envers/entities/EntityConfiguration.java
trunk/src/main/org/jboss/envers/entities/IdMappingData.java
trunk/src/main/org/jboss/envers/entities/RelationDescription.java
trunk/src/main/org/jboss/envers/entities/mapper/CompositeMapperBuilder.java
trunk/src/main/org/jboss/envers/entities/mapper/CompositePropertyMapperBuilder.java
trunk/src/main/org/jboss/envers/entities/mapper/ExtendedPropertyMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/MapPropertyMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/MultiPropertyMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/PropertyMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/SimpleMapperBuilder.java
trunk/src/main/org/jboss/envers/entities/mapper/SinglePropertyMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/SubclassPropertyMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/id/AbstractCompositeIdMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/id/AbstractIdMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/id/EmbeddedIdMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/id/IdMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/id/MultipleIdMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/id/SimpleIdMapperBuilder.java
trunk/src/main/org/jboss/envers/entities/mapper/id/SingleIdMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/relation/OneToManyIdMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/relation/OneToOneIdMapper.java
trunk/src/main/org/jboss/envers/entities/mapper/relation/ToOneIdMapper.java
trunk/src/main/org/jboss/envers/entity/EntityInstantiator.java
trunk/src/main/org/jboss/envers/event/VersionsEventListener.java
Log:
ENVERS-37: moving packages to more logical places
Deleted: trunk/src/main/org/jboss/envers/configuration/RelationDescription.java
===================================================================
--- trunk/src/main/org/jboss/envers/configuration/RelationDescription.java 2008-08-16
17:39:05 UTC (rev 111)
+++ trunk/src/main/org/jboss/envers/configuration/RelationDescription.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -1,53 +0,0 @@
-/*
- * Envers.
http://www.jboss.org/envers
- *
- * Copyright 2008 Red Hat Middleware, LLC. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT A WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License, v.2.1 along with this distribution; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- *
- * Red Hat Author(s): Adam Warski
- */
-package org.jboss.envers.configuration;
-
-import org.jboss.envers.mapper.id.IdMapper;
-
-/**
- * @author Adam Warski (adam at warski dot org)
-*/
-public class RelationDescription {
- public String fromPropertyName;
- public RelationType relationType;
- public String toEntityName;
- public String mappedByPropertyName;
- public IdMapper idMapper;
- public boolean bidirectional;
-
- public RelationDescription(String fromPropertyName, RelationType relationType, String
toEntityName,
- String mappedByPropertyName, IdMapper idMapper) {
- this.fromPropertyName = fromPropertyName;
- this.relationType = relationType;
- this.toEntityName = toEntityName;
- this.mappedByPropertyName = mappedByPropertyName;
- this.idMapper = idMapper;
-
- this.bidirectional = false;
- }
-
- public static enum RelationType {
- TO_ONE,
- ONE_TO_ONE,
- ONE_TO_MANY
- }
-}
Modified:
trunk/src/main/org/jboss/envers/configuration/metadata/VersionsMetadataGenerator.java
===================================================================
---
trunk/src/main/org/jboss/envers/configuration/metadata/VersionsMetadataGenerator.java 2008-08-16
17:39:05 UTC (rev 111)
+++
trunk/src/main/org/jboss/envers/configuration/metadata/VersionsMetadataGenerator.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -33,11 +33,11 @@
import org.jboss.envers.entities.EntityConfiguration;
import org.jboss.envers.entities.IdMappingData;
import org.jboss.envers.configuration.VersionsConfiguration;
-import org.jboss.envers.mapper.*;
-import org.jboss.envers.mapper.id.*;
-import org.jboss.envers.mapper.relation.ToOneIdMapper;
-import org.jboss.envers.mapper.relation.OneToOneIdMapper;
-import org.jboss.envers.mapper.relation.OneToManyIdMapper;
+import org.jboss.envers.entities.mapper.*;
+import org.jboss.envers.entities.mapper.id.*;
+import org.jboss.envers.entities.mapper.relation.ToOneIdMapper;
+import org.jboss.envers.entities.mapper.relation.OneToOneIdMapper;
+import org.jboss.envers.entities.mapper.relation.OneToManyIdMapper;
import org.jboss.envers.tools.StringTools;
import org.jboss.envers.tools.Tools;
import org.jboss.envers.tools.HibernateVersion;
Modified: trunk/src/main/org/jboss/envers/entities/EntitiesConfigurations.java
===================================================================
--- trunk/src/main/org/jboss/envers/entities/EntitiesConfigurations.java 2008-08-16
17:39:05 UTC (rev 111)
+++ trunk/src/main/org/jboss/envers/entities/EntitiesConfigurations.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -21,8 +21,8 @@
*/
package org.jboss.envers.entities;
-import org.jboss.envers.mapper.id.IdMapper;
-import org.jboss.envers.mapper.ExtendedPropertyMapper;
+import org.jboss.envers.entities.mapper.id.IdMapper;
+import org.jboss.envers.entities.mapper.ExtendedPropertyMapper;
import java.util.Map;
import java.util.HashMap;
Modified: trunk/src/main/org/jboss/envers/entities/EntityConfiguration.java
===================================================================
--- trunk/src/main/org/jboss/envers/entities/EntityConfiguration.java 2008-08-16 17:39:05
UTC (rev 111)
+++ trunk/src/main/org/jboss/envers/entities/EntityConfiguration.java 2008-08-16 17:42:15
UTC (rev 112)
@@ -22,8 +22,8 @@
package org.jboss.envers.entities;
import org.jboss.envers.entities.RelationDescription;
-import org.jboss.envers.mapper.ExtendedPropertyMapper;
-import org.jboss.envers.mapper.id.IdMapper;
+import org.jboss.envers.entities.mapper.ExtendedPropertyMapper;
+import org.jboss.envers.entities.mapper.id.IdMapper;
import java.util.Map;
import java.util.HashMap;
Modified: trunk/src/main/org/jboss/envers/entities/IdMappingData.java
===================================================================
--- trunk/src/main/org/jboss/envers/entities/IdMappingData.java 2008-08-16 17:39:05 UTC
(rev 111)
+++ trunk/src/main/org/jboss/envers/entities/IdMappingData.java 2008-08-16 17:42:15 UTC
(rev 112)
@@ -21,7 +21,7 @@
*/
package org.jboss.envers.entities;
-import org.jboss.envers.mapper.id.IdMapper;
+import org.jboss.envers.entities.mapper.id.IdMapper;
import org.dom4j.Element;
/**
Modified: trunk/src/main/org/jboss/envers/entities/RelationDescription.java
===================================================================
--- trunk/src/main/org/jboss/envers/entities/RelationDescription.java 2008-08-16 17:39:05
UTC (rev 111)
+++ trunk/src/main/org/jboss/envers/entities/RelationDescription.java 2008-08-16 17:42:15
UTC (rev 112)
@@ -21,7 +21,7 @@
*/
package org.jboss.envers.entities;
-import org.jboss.envers.mapper.id.IdMapper;
+import org.jboss.envers.entities.mapper.id.IdMapper;
/**
* @author Adam Warski (adam at warski dot org)
Copied: trunk/src/main/org/jboss/envers/entities/mapper (from rev 110,
trunk/src/main/org/jboss/envers/mapper)
Modified: trunk/src/main/org/jboss/envers/entities/mapper/CompositeMapperBuilder.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/CompositeMapperBuilder.java 2008-08-16 12:44:50
UTC (rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/CompositeMapperBuilder.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper;
+package org.jboss.envers.entities.mapper;
/**
* @author Adam Warski (adam at warski dot org)
Modified:
trunk/src/main/org/jboss/envers/entities/mapper/CompositePropertyMapperBuilder.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/CompositePropertyMapperBuilder.java 2008-08-16
12:44:50 UTC (rev 110)
+++
trunk/src/main/org/jboss/envers/entities/mapper/CompositePropertyMapperBuilder.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper;
+package org.jboss.envers.entities.mapper;
/**
* @author Adam Warski (adam at warski dot org)
Modified: trunk/src/main/org/jboss/envers/entities/mapper/ExtendedPropertyMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/ExtendedPropertyMapper.java 2008-08-16 12:44:50
UTC (rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/ExtendedPropertyMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper;
+package org.jboss.envers.entities.mapper;
import java.util.Map;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/MapPropertyMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/MapPropertyMapper.java 2008-08-16 12:44:50 UTC
(rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/MapPropertyMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper;
+package org.jboss.envers.entities.mapper;
import org.jboss.envers.ModificationStore;
import org.jboss.envers.tools.reflection.ReflectionTools;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/MultiPropertyMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/MultiPropertyMapper.java 2008-08-16 12:44:50
UTC (rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/MultiPropertyMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper;
+package org.jboss.envers.entities.mapper;
import org.hibernate.property.Getter;
import org.hibernate.MappingException;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/PropertyMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/PropertyMapper.java 2008-08-16 12:44:50 UTC
(rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/PropertyMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper;
+package org.jboss.envers.entities.mapper;
import org.jboss.envers.reader.VersionsReaderImplementor;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/SimpleMapperBuilder.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/SimpleMapperBuilder.java 2008-08-16 12:44:50
UTC (rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/SimpleMapperBuilder.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper;
+package org.jboss.envers.entities.mapper;
import org.jboss.envers.ModificationStore;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/SinglePropertyMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/SinglePropertyMapper.java 2008-08-16 12:44:50
UTC (rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/SinglePropertyMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper;
+package org.jboss.envers.entities.mapper;
import org.jboss.envers.ModificationStore;
import org.jboss.envers.tools.reflection.ReflectionTools;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/SubclassPropertyMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/SubclassPropertyMapper.java 2008-08-16 12:44:50
UTC (rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/SubclassPropertyMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper;
+package org.jboss.envers.entities.mapper;
import org.jboss.envers.reader.VersionsReaderImplementor;
import org.jboss.envers.ModificationStore;
Modified:
trunk/src/main/org/jboss/envers/entities/mapper/id/AbstractCompositeIdMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/id/AbstractCompositeIdMapper.java 2008-08-16
12:44:50 UTC (rev 110)
+++
trunk/src/main/org/jboss/envers/entities/mapper/id/AbstractCompositeIdMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper.id;
+package org.jboss.envers.entities.mapper.id;
import org.jboss.envers.ModificationStore;
import org.jboss.envers.exception.VersionsException;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/id/AbstractIdMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/id/AbstractIdMapper.java 2008-08-16 12:44:50
UTC (rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/id/AbstractIdMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper.id;
+package org.jboss.envers.entities.mapper.id;
import org.hibernate.criterion.Restrictions;
import org.hibernate.criterion.Criterion;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/id/EmbeddedIdMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/id/EmbeddedIdMapper.java 2008-08-16 12:44:50
UTC (rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/id/EmbeddedIdMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper.id;
+package org.jboss.envers.entities.mapper.id;
import org.hibernate.property.Getter;
import org.hibernate.property.Setter;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/id/IdMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/id/IdMapper.java 2008-08-16 12:44:50 UTC (rev
110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/id/IdMapper.java 2008-08-16 17:42:15
UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper.id;
+package org.jboss.envers.entities.mapper.id;
import org.hibernate.criterion.Criterion;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/id/MultipleIdMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/id/MultipleIdMapper.java 2008-08-16 12:44:50
UTC (rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/id/MultipleIdMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper.id;
+package org.jboss.envers.entities.mapper.id;
import org.jboss.envers.exception.VersionsException;
Deleted: trunk/src/main/org/jboss/envers/entities/mapper/id/QueryParameterData.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/id/QueryParameterData.java 2008-08-16 12:44:50
UTC (rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/id/QueryParameterData.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -1,63 +0,0 @@
-/*
- * Envers.
http://www.jboss.org/envers
- *
- * Copyright 2008 Red Hat Middleware, LLC. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT A WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License, v.2.1 along with this distribution; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- *
- * Red Hat Author(s): Adam Warski
- */
-package org.jboss.envers.mapper.id;
-
-import org.hibernate.Query;
-
-/**
- * @author Adam Warski (adam at warski dot org)
- */
-public class QueryParameterData {
- private String flatEntityPropertyName;
- private Object value;
-
- public QueryParameterData(String flatEntityPropertyName, Object value) {
- this.flatEntityPropertyName = flatEntityPropertyName;
- this.value = value;
- }
-
- public void appendProperty(StringBuilder queryStr, String prefix) {
- queryStr.append(prefix).append(".");
- queryStr.append(flatEntityPropertyName);
- }
-
- public String getProperty(String prefix) {
- if (prefix != null) {
- return prefix + "." + flatEntityPropertyName;
- } else {
- return flatEntityPropertyName;
- }
- }
-
- public Object getValue() {
- return value;
- }
-
- public void appendPropertyWithParameter(StringBuilder queryStr, String prefix) {
- appendProperty(queryStr, prefix);
- queryStr.append(" = :").append(flatEntityPropertyName);
- }
-
- public void setQueryParameter(Query query) {
- query.setParameter(flatEntityPropertyName, value);
- }
-}
Copied: trunk/src/main/org/jboss/envers/entities/mapper/id/QueryParameterData.java (from
rev 111, trunk/src/main/org/jboss/envers/mapper/id/QueryParameterData.java)
===================================================================
--- trunk/src/main/org/jboss/envers/entities/mapper/id/QueryParameterData.java
(rev 0)
+++ trunk/src/main/org/jboss/envers/entities/mapper/id/QueryParameterData.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -0,0 +1,47 @@
+/*
+ * Envers.
http://www.jboss.org/envers
+ *
+ * Copyright 2008 Red Hat Middleware, LLC. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT A WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License, v.2.1 along with this distribution; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ *
+ * Red Hat Author(s): Adam Warski
+ */
+package org.jboss.envers.entities.mapper.id;
+
+/**
+ * @author Adam Warski (adam at warski dot org)
+ */
+public class QueryParameterData {
+ private String flatEntityPropertyName;
+ private Object value;
+
+ public QueryParameterData(String flatEntityPropertyName, Object value) {
+ this.flatEntityPropertyName = flatEntityPropertyName;
+ this.value = value;
+ }
+
+ public String getProperty(String prefix) {
+ if (prefix != null) {
+ return prefix + "." + flatEntityPropertyName;
+ } else {
+ return flatEntityPropertyName;
+ }
+ }
+
+ public Object getValue() {
+ return value;
+ }
+}
Modified: trunk/src/main/org/jboss/envers/entities/mapper/id/SimpleIdMapperBuilder.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/id/SimpleIdMapperBuilder.java 2008-08-16
12:44:50 UTC (rev 110)
+++
trunk/src/main/org/jboss/envers/entities/mapper/id/SimpleIdMapperBuilder.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,9 +19,9 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper.id;
+package org.jboss.envers.entities.mapper.id;
-import org.jboss.envers.mapper.SimpleMapperBuilder;
+import org.jboss.envers.entities.mapper.SimpleMapperBuilder;
/**
* @author Adam Warski (adam at warski dot org)
Modified: trunk/src/main/org/jboss/envers/entities/mapper/id/SingleIdMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/id/SingleIdMapper.java 2008-08-16 12:44:50 UTC
(rev 110)
+++ trunk/src/main/org/jboss/envers/entities/mapper/id/SingleIdMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,7 +19,7 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper.id;
+package org.jboss.envers.entities.mapper.id;
import org.jboss.envers.ModificationStore;
import org.jboss.envers.tools.reflection.ReflectionTools;
Copied: trunk/src/main/org/jboss/envers/entities/mapper/relation (from rev 111,
trunk/src/main/org/jboss/envers/mapper/relation)
Modified: trunk/src/main/org/jboss/envers/entities/mapper/relation/OneToManyIdMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/relation/OneToManyIdMapper.java 2008-08-16
17:39:05 UTC (rev 111)
+++
trunk/src/main/org/jboss/envers/entities/mapper/relation/OneToManyIdMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,9 +19,9 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper.relation;
+package org.jboss.envers.entities.mapper.relation;
-import org.jboss.envers.mapper.PropertyMapper;
+import org.jboss.envers.entities.mapper.PropertyMapper;
import org.jboss.envers.reader.VersionsReaderImplementor;
import org.jboss.envers.reader.lazy.OneToManyInitializor;
import org.jboss.envers.reader.lazy.proxy.ListProxy;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/relation/OneToOneIdMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/relation/OneToOneIdMapper.java 2008-08-16
17:39:05 UTC (rev 111)
+++
trunk/src/main/org/jboss/envers/entities/mapper/relation/OneToOneIdMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,9 +19,9 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper.relation;
+package org.jboss.envers.entities.mapper.relation;
-import org.jboss.envers.mapper.PropertyMapper;
+import org.jboss.envers.entities.mapper.PropertyMapper;
import org.jboss.envers.reader.VersionsReaderImplementor;
import org.jboss.envers.tools.reflection.ReflectionTools;
import org.jboss.envers.query.VersionsRestrictions;
Modified: trunk/src/main/org/jboss/envers/entities/mapper/relation/ToOneIdMapper.java
===================================================================
--- trunk/src/main/org/jboss/envers/mapper/relation/ToOneIdMapper.java 2008-08-16 17:39:05
UTC (rev 111)
+++ trunk/src/main/org/jboss/envers/entities/mapper/relation/ToOneIdMapper.java 2008-08-16
17:42:15 UTC (rev 112)
@@ -19,10 +19,10 @@
*
* Red Hat Author(s): Adam Warski
*/
-package org.jboss.envers.mapper.relation;
+package org.jboss.envers.entities.mapper.relation;
-import org.jboss.envers.mapper.PropertyMapper;
-import org.jboss.envers.mapper.id.IdMapper;
+import org.jboss.envers.entities.mapper.PropertyMapper;
+import org.jboss.envers.entities.mapper.id.IdMapper;
import org.jboss.envers.tools.Tools;
import org.jboss.envers.tools.reflection.ReflectionTools;
import org.jboss.envers.reader.VersionsReaderImplementor;
Modified: trunk/src/main/org/jboss/envers/entity/EntityInstantiator.java
===================================================================
--- trunk/src/main/org/jboss/envers/entity/EntityInstantiator.java 2008-08-16 17:39:05 UTC
(rev 111)
+++ trunk/src/main/org/jboss/envers/entity/EntityInstantiator.java 2008-08-16 17:42:15 UTC
(rev 112)
@@ -23,7 +23,7 @@
import org.jboss.envers.exception.VersionsException;
import org.jboss.envers.configuration.VersionsConfiguration;
-import org.jboss.envers.mapper.id.IdMapper;
+import org.jboss.envers.entities.mapper.id.IdMapper;
import org.jboss.envers.reader.VersionsReaderImplementor;
import org.jboss.envers.tools.reflection.ReflectionTools;
Modified: trunk/src/main/org/jboss/envers/event/VersionsEventListener.java
===================================================================
--- trunk/src/main/org/jboss/envers/event/VersionsEventListener.java 2008-08-16 17:39:05
UTC (rev 111)
+++ trunk/src/main/org/jboss/envers/event/VersionsEventListener.java 2008-08-16 17:42:15
UTC (rev 112)
@@ -32,7 +32,7 @@
import org.jboss.envers.synchronization.work.DelWorkUnit;
import org.jboss.envers.synchronization.work.CollectionChangeWorkUnit;
import org.jboss.envers.tools.Tools;
-import org.jboss.envers.mapper.id.IdMapper;
+import org.jboss.envers.entities.mapper.id.IdMapper;
import java.io.Serializable;