Skip to content

Commit

Permalink
Made the Axis enumeration serializable and all the components of the …
Browse files Browse the repository at this point in the history
…org.olap4j.mdx package too, thus allowing their use through RPC.

git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@148 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed Mar 5, 2009
1 parent 2f880a9 commit 4485f7c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/org/olap4j/Axis.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/
package org.olap4j;

import java.io.Serializable;
import java.util.Locale;

/**
Expand All @@ -24,7 +25,7 @@
* @version $Id$
* @since Oct 23, 2006
*/
public interface Axis {
public interface Axis extends Serializable {

/**
* @deprecated Will be removed before olap4j 1.0.
Expand Down
3 changes: 2 additions & 1 deletion src/org/olap4j/mdx/IdentifierNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.olap4j.impl.Olap4jUtil;
import org.olap4j.type.Type;

import java.io.Serializable;
import java.util.*;

/**
Expand Down Expand Up @@ -312,7 +313,7 @@ static void quoteMdxIdentifier(
* To parse an identifier into a list of segments, use the method
* {@link IdentifierNode#parseIdentifier(String)}.</p>
*/
public static class Segment {
public static class Segment implements Serializable{
final String name;
final IdentifierNode.Quoting quoting;
private final ParseRegion region;
Expand Down
4 changes: 3 additions & 1 deletion src/org/olap4j/mdx/ParseRegion.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
*/
package org.olap4j.mdx;

import java.io.Serializable;

/**
* Region of parser source code.
*
Expand All @@ -32,7 +34,7 @@
* @version $Id$
* @author jhyde
*/
public class ParseRegion {
public class ParseRegion implements Serializable{
private final int startLine;
private final int startColumn;
private final int endLine;
Expand Down
3 changes: 2 additions & 1 deletion src/org/olap4j/mdx/ParseTreeNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/
package org.olap4j.mdx;

import java.io.Serializable;
import org.olap4j.type.Type;

/**
Expand All @@ -21,7 +22,7 @@
* @version $Id$
* @since Jun 4, 2007
*/
public interface ParseTreeNode {
public interface ParseTreeNode extends Serializable {
/**
* Accepts a visitor to this MDX parse tree node.
*
Expand Down

0 comments on commit 4485f7c

Please sign in to comment.