org.pf.directory
Class DistinguishedNameElement

java.lang.Object
  extended by org.pf.util.Association
      extended by org.pf.util.NamedValue
          extended by org.pf.util.NamedText
              extended by org.pf.directory.DistinguishedNameElement
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable, java.util.Map.Entry

public class DistinguishedNameElement
extends NamedText

Represents a single element of a Distinguished Name.

Version:
1.0
Author:
M.Duchrow
See Also:
Serialized Form

Constructor Summary
DistinguishedNameElement(java.lang.String key, java.lang.String value)
          Initialize the new instance with default values.
 
Method Summary
 boolean equals(DistinguishedNameElement element)
           
 boolean equalsIgnoreCase(DistinguishedNameElement element)
           
 int hashCode()
           
 java.lang.String toString()
          Returns the toString() value of key and value separated by "->".
 
Methods inherited from class org.pf.util.NamedText
copy, copyNamedText, text, text, value, value
 
Methods inherited from class org.pf.util.NamedValue
compareTo, copyNamedValue, key, key, name, name
 
Methods inherited from class org.pf.util.Association
copyAssociation, equals, getKey, getValue, key, setValue, value
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistinguishedNameElement

public DistinguishedNameElement(java.lang.String key,
                                java.lang.String value)
Initialize the new instance with default values.

Method Detail

toString

public java.lang.String toString()
Description copied from class: Association
Returns the toString() value of key and value separated by "->".

Overrides:
toString in class Association
See Also:
Object.toString()

equalsIgnoreCase

public boolean equalsIgnoreCase(DistinguishedNameElement element)

equals

public boolean equals(DistinguishedNameElement element)

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map.Entry
Overrides:
hashCode in class Association