net.geant.edugain.attributes.namemappers
Class NamespacedAttribute

java.lang.Object
  extended by net.geant.edugain.attributes.namemappers.NamespacedAttribute

 class NamespacedAttribute
extends java.lang.Object

Store namespaced attribute name. Comparison of namespaced attributes is done by case insensitive comparison of name and namespace.

Author:
Adam Lantos

Field Summary
 java.lang.String attributeName
           
 java.lang.String attributeNamespace
           
 
Constructor Summary
NamespacedAttribute(java.lang.String attributeName, java.lang.String attributeNamespace)
          Creates new NameSpacedAttribute instance.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compare this NameSpacedAttribute instance to another.
 java.lang.String getAttributeName()
           
 java.lang.String getAttributeNamespace()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

attributeName

public final java.lang.String attributeName

attributeNamespace

public final java.lang.String attributeNamespace
Constructor Detail

NamespacedAttribute

public NamespacedAttribute(java.lang.String attributeName,
                           java.lang.String attributeNamespace)
Creates new NameSpacedAttribute instance.

Parameters:
attributeName -
attributeNamespace -
Method Detail

equals

public boolean equals(java.lang.Object obj)
Compare this NameSpacedAttribute instance to another.

Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAttributeName

public java.lang.String getAttributeName()

getAttributeNamespace

public java.lang.String getAttributeNamespace()