[Mulgara-svn] r419 - branches/mgr-69/src/jar/query/java/org/mulgara/query
andrae at mulgara.org
andrae at mulgara.org
Tue Sep 11 06:00:44 UTC 2007
Author: andrae
Date: 2007-09-11 01:00:44 -0500 (Tue, 11 Sep 2007)
New Revision: 419
Removed:
branches/mgr-69/src/jar/query/java/org/mulgara/query/Transformable.java
Modified:
branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelLiteral.java
branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelOperation.java
branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelResource.java
Log:
Completes removing the transformation cruft from the Model* hierarchy.
Modified: branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelLiteral.java
===================================================================
--- branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelLiteral.java 2007-09-11 05:51:26 UTC (rev 418)
+++ branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelLiteral.java 2007-09-11 06:00:44 UTC (rev 419)
@@ -149,22 +149,6 @@
}
//
- // Methods implementing Transformable
- //
-
- /**
- * Transforms the constraints to/from global or local nodes.
- *
- * @param transformation The {@link Transformation} object to apply.
- * @throws TransformationException If there was an error transforming.
- */
- public void transform(Transformation transformation) throws
- TransformationException {
-
- logger.warn("ModelLiteral.transform is not yet implemented");
- }
-
- //
// Methods of Object
//
Modified: branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelOperation.java
===================================================================
--- branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelOperation.java 2007-09-11 05:51:26 UTC (rev 418)
+++ branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelOperation.java 2007-09-11 06:00:44 UTC (rev 419)
@@ -144,19 +144,6 @@
}
/**
- * Transform the left and right hand sides of this operation.
- *
- * @param transformation the {@link Transformation} to apply
- * @throws TransformationException if the transformation fails
- */
- public void transform(Transformation transformation) throws
- TransformationException {
-
- lhs.transform(transformation);
- rhs.transform(transformation);
- }
-
- /**
* METHOD TO DO
*
* @param m PARAMETER TO DO
Modified: branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelResource.java
===================================================================
--- branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelResource.java 2007-09-11 05:51:26 UTC (rev 418)
+++ branches/mgr-69/src/jar/query/java/org/mulgara/query/ModelResource.java 2007-09-11 06:00:44 UTC (rev 419)
@@ -150,23 +150,6 @@
}
//
- // Methods implementing Transformable
- //
-
- /**
- * Transforms the constraints to/from global or local nodes.
- *
- * @param transformation The {@link Transformation} object to apply.
- * @throws TransformationException If there was an error transforming.
- */
- public void transform(Transformation transformation)
- throws TransformationException {
-
- // because ModelResource currently wraps a URI rather than a Value,
- // no transformation is required
- }
-
- //
// Methods extending Object
//
Deleted: branches/mgr-69/src/jar/query/java/org/mulgara/query/Transformable.java
===================================================================
--- branches/mgr-69/src/jar/query/java/org/mulgara/query/Transformable.java 2007-09-11 05:51:26 UTC (rev 418)
+++ branches/mgr-69/src/jar/query/java/org/mulgara/query/Transformable.java 2007-09-11 06:00:44 UTC (rev 419)
@@ -1,68 +0,0 @@
-/*
- * The contents of this file are subject to the Mozilla Public License
- * Version 1.1 (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.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- * the License for the specific language governing rights and limitations
- * under the License.
- *
- * The Original Code is the Kowari Metadata Store.
- *
- * The Initial Developer of the Original Code is Plugged In Software Pty
- * Ltd (http://www.pisoftware.com, mailto:info at pisoftware.com). Portions
- * created by Plugged In Software Pty Ltd are Copyright (C) 2001,2002
- * Plugged In Software Pty Ltd. All Rights Reserved.
- *
- * Contributor(s): N/A.
- *
- * [NOTE: The text of this Exhibit A may differ slightly from the text
- * of the notices in the Source Code files of the Original Code. You
- * should use the text of this Exhibit A rather than the text found in the
- * Original Code Source Code for Your Modifications.]
- *
- */
-
-package org.mulgara.query;
-
-
-// Java 2 standard packages
-import java.io.Serializable;
-
-/**
- * An interface marking the capability to globalize and localize data structures
- * built from {@link Value}s. <p>
- *
- * The entire point of localization and globalization is to be able to ship
- * classes to different sites. This is the reason this interface extends {@link
- * Serializable}. </p>
- *
- * @created 2001-08-13
- *
- * @author <a href="http://staff.pisoftware.com/raboczi">Simon Raboczi</a>
- *
- * @version $Revision: 1.8 $
- *
- * @modified $Date: 2005/01/05 04:58:20 $ by $Author: newmana $
- *
- * @maintenanceAuthor $Author: newmana $
- *
- * @copyright ©2001-2003
- * <a href="http://www.pisoftware.com/">Plugged In Software Pty Ltd</a>
- *
- * @licence <a href="{@docRoot}/../../LICENCE">Mozilla Public License v1.1</a>
- */
-public interface Transformable extends Serializable {
-
- /**
- * Transform all the {@link Value}s in this instance.
- *
- * @param transformation a {@link Transformation} from the current type to the
- * desired type
- * @throws TransformationException if the transformation can't be performed
- */
- public void transform(Transformation transformation)
- throws TransformationException;
-}
More information about the Mulgara-svn
mailing list