org.apache.directory.shared.ldap.codec
Class AttributeValueAssertion

java.lang.Object
  extended by org.apache.directory.shared.ldap.codec.AttributeValueAssertion

public class AttributeValueAssertion
extends java.lang.Object

A class to store an attribute value assertion. The grammar is : AttributeValueAssertion ::= SEQUENCE { attributeDesc AttributeDescription, assertionValue AssertionValue } AttributeDescription ::= LDAPString AssertionValue ::= OCTET STRING

Version:
$Rev: 664290 $, $Date: 2008-06-07 08:28:06 +0200 (Sa, 07 Jun 2008) $,
Author:
Apache Directory Project

Constructor Summary
AttributeValueAssertion()
           
 
Method Summary
 Value<?> getAssertionValue()
          Get the assertion value
 java.lang.String getAttributeDesc()
          Get the attribute description
 void setAssertionValue(Value<?> assertionValue)
          Set the assertion value
 void setAttributeDesc(java.lang.String attributeDesc)
          Set the attribute description
 java.lang.String toString()
          Get a String representation of an AttributeValueAssertion
 java.lang.String toString(java.lang.String tabs)
          Get a String representation of an AttributeValueAssertion
 java.lang.String toStringRFC2254(int filterType)
          Get a String representation of an AttributeValueAssertion, as of RFC 2254.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeValueAssertion

public AttributeValueAssertion()
Method Detail

getAssertionValue

public Value<?> getAssertionValue()
Get the assertion value

Returns:
Returns the assertionValue.

setAssertionValue

public void setAssertionValue(Value<?> assertionValue)
Set the assertion value

Parameters:
assertionValue - The assertionValue to set.

getAttributeDesc

public java.lang.String getAttributeDesc()
Get the attribute description

Returns:
Returns the attributeDesc.

setAttributeDesc

public void setAttributeDesc(java.lang.String attributeDesc)
Set the attribute description

Parameters:
attributeDesc - The attributeDesc to set.

toString

public java.lang.String toString(java.lang.String tabs)
Get a String representation of an AttributeValueAssertion

Parameters:
tabs - The spacing to be put before the string
Returns:
An AttributeValueAssertion String

toStringRFC2254

public java.lang.String toStringRFC2254(int filterType)
Get a String representation of an AttributeValueAssertion, as of RFC 2254.

Parameters:
filterType - The filter type
Returns:
An AttributeValueAssertion String

toString

public java.lang.String toString()
Get a String representation of an AttributeValueAssertion

Overrides:
toString in class java.lang.Object
Returns:
An AttributeValueAssertion String


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.