From 0cdc4f67dfc0e2fb8b83d5f0de8188ec3686d04c Mon Sep 17 00:00:00 2001
From: floblanc <floblanc@localhost>
Date: Tue, 10 Nov 2009 13:59:02 +0000
Subject: [PATCH] Fix Issue 4344 CompareOperation API does not support attribute options and Issue CompareOperationBasis does not properly handle get/setAttributeType.
---
opends/src/server/org/opends/server/core/CompareOperationWrapper.java | 22 ++++++++++++++++++++--
1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/CompareOperationWrapper.java b/opends/src/server/org/opends/server/core/CompareOperationWrapper.java
index b1ae975..fc2f142 100644
--- a/opends/src/server/org/opends/server/core/CompareOperationWrapper.java
+++ b/opends/src/server/org/opends/server/core/CompareOperationWrapper.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2008 Sun Microsystems, Inc.
+ * Copyright 2008-2009 Sun Microsystems, Inc.
*/
package org.opends.server.core;
@@ -30,7 +30,7 @@
import org.opends.server.types.AttributeType;
import org.opends.server.types.ByteString;
import org.opends.server.types.DN;
-
+import java.util.Set;
/**
* This abstract class wraps/decorates a given compare operation.
@@ -123,6 +123,24 @@
/**
* {@inheritDoc}
*/
+ public Set<String> getAttributeOptions()
+ {
+ return compare.getAttributeOptions();
+ }
+
+
+ /**
+ * {@inheritDoc}
+ */
+ public void setAttributeOptions(Set<String> attributeOptions)
+ {
+ compare.setAttributeOptions(attributeOptions);
+ }
+
+
+ /**
+ * {@inheritDoc}
+ */
public ByteString getAssertionValue()
{
return compare.getAssertionValue();
--
Gitblit v1.10.0