You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/06/18 14:21:15 UTC
svn commit: r191282 -
/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/ExtensibleMatchFilter.java
Author: elecharny
Date: Sat Jun 18 05:21:15 2005
New Revision: 191282
URL: http://svn.apache.org/viewcvs?rev=191282&view=rev
Log:
Replaced the LdapString by MutableString. This is so stupid. I gonna take time to get rid of MutableString....
Modified:
directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/ExtensibleMatchFilter.java
Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/ExtensibleMatchFilter.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/ExtensibleMatchFilter.java?rev=191282&r1=191281&r2=191282&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/ExtensibleMatchFilter.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/ExtensibleMatchFilter.java Sat Jun 18 05:21:15 2005
@@ -16,8 +16,8 @@
*/
package org.apache.asn1.ldap.pojo.filters;
-import org.apache.asn1.ldap.codec.primitives.LdapString;
import org.apache.asn1.primitives.OctetString;
+import org.apache.asn1.util.MutableString;
/**
@@ -34,10 +34,10 @@
private int expectedMatchingRuleLength;
/** Matching rule */
- private LdapString matchingRule;
+ private MutableString matchingRule;
/** Matching rule type */
- private LdapString type;
+ private MutableString type;
/** Matching rule value */
private OctetString matchValue;
@@ -49,15 +49,18 @@
/**
* Creates a new ExtensibleMatchFilter object.
+ * The dnAttributes flag defaults to false.
*/
public ExtensibleMatchFilter()
{
- dnAttributes = true;
+ dnAttributes = false;
}
//~ Methods ------------------------------------------------------------------------------------
/**
+ * Get the dnAttributes flag
+ *
* @return Returns the dnAttributes.
*/
public boolean isDnAttributes()
@@ -66,6 +69,8 @@
}
/**
+ * Set the dnAttributes flag
+ *
* @param dnAttributes The dnAttributes to set.
*/
public void setDnAttributes( boolean dnAttributes )
@@ -74,22 +79,28 @@
}
/**
+ * Get the matchingRule
+ *
* @return Returns the matchingRule.
*/
- public LdapString getMatchingRule()
+ public MutableString getMatchingRule()
{
return matchingRule;
}
/**
+ * Set the matchingRule
+ *
* @param matchingRule The matchingRule to set.
*/
- public void setMatchingRule( LdapString matchingRule )
+ public void setMatchingRule( MutableString matchingRule )
{
this.matchingRule = matchingRule;
}
/**
+ * Get the matchValue
+ *
* @return Returns the matchValue.
*/
public OctetString getMatchValue()
@@ -98,6 +109,8 @@
}
/**
+ * Set the matchValue
+ *
* @param matchValue The matchValue to set.
*/
public void setMatchValue( OctetString matchValue )
@@ -106,22 +119,28 @@
}
/**
+ * Get the type
+ *
* @return Returns the type.
*/
- public LdapString getType()
+ public MutableString getType()
{
return type;
}
/**
+ * Set the type
+ *
* @param type The type to set.
*/
- public void setType( LdapString type )
+ public void setType( MutableString type )
{
this.type = type;
}
/**
+ * get the expectedMatchingRuleLength
+ *
* @return Returns the expectedMatchingRuleLength.
*/
public int getExpectedMatchingRuleLength()
@@ -130,6 +149,8 @@
}
/**
+ * Set the expectedMatchingRuleLength
+ *
* @param expectedMatchingRuleLength The expectedMatchingRuleLength to set.
*/
public void setExpectedMatchingRuleLength( int expectedMatchingRuleLength )