com.atlassian.crowd.integration.osuser
Class PropertyParser.ValueHolder

java.lang.Object
  extended by com.atlassian.crowd.integration.osuser.PropertyParser.ValueHolder
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
PropertyParser

protected static class PropertyParser.ValueHolder
extends java.lang.Object
implements java.lang.Comparable

This is a holder for a key-pair and the property value.


Constructor Summary
PropertyParser.ValueHolder(PropertyParser.Pair key, java.lang.String value)
          Constructs a new instance of this class with given key pair and the property value.
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object obj)
           
 PropertyParser.Pair getPair()
          Returns the property key pair
 java.lang.String getPropertyName()
          Returns the name of the property (suffix of the key pair)
 java.lang.String getValue()
          Returns the property value
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyParser.ValueHolder

public PropertyParser.ValueHolder(PropertyParser.Pair key,
                                  java.lang.String value)
Constructs a new instance of this class with given key pair and the property value.

Parameters:
key - property key pair
value - property value
Method Detail

getPair

public PropertyParser.Pair getPair()
Returns the property key pair

Returns:
property key pair

getPropertyName

public java.lang.String getPropertyName()
Returns the name of the property (suffix of the key pair)

Returns:
name of the property (suffix of the key pair)

getValue

public java.lang.String getValue()
Returns the property value

Returns:
property value

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

hashCode

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.