net.sf.jdmf.data.input.attribute
Class AttributeValuePair

java.lang.Object
  extended by net.sf.jdmf.data.input.attribute.AttributeValuePair
All Implemented Interfaces:
java.lang.Comparable<AttributeValuePair>

public class AttributeValuePair
extends java.lang.Object
implements java.lang.Comparable<AttributeValuePair>

Represents a pair of two attribute values.

Author:
quorthon

Constructor Summary
AttributeValuePair()
           
AttributeValuePair(java.lang.Comparable firstValue, java.lang.Comparable secondValue)
           
 
Method Summary
 int compareTo(AttributeValuePair valuePair)
           
 java.lang.Comparable getFirstValue()
           
 java.lang.Comparable getSecondValue()
           
 void setFirstValue(java.lang.Comparable firstValue)
           
 void setSecondValue(java.lang.Comparable secondValue)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeValuePair

public AttributeValuePair()

AttributeValuePair

public AttributeValuePair(java.lang.Comparable firstValue,
                          java.lang.Comparable secondValue)
Method Detail

compareTo

public int compareTo(AttributeValuePair valuePair)
Specified by:
compareTo in interface java.lang.Comparable<AttributeValuePair>

toString

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

getFirstValue

public java.lang.Comparable getFirstValue()

setFirstValue

public void setFirstValue(java.lang.Comparable firstValue)

getSecondValue

public java.lang.Comparable getSecondValue()

setSecondValue

public void setSecondValue(java.lang.Comparable secondValue)