net.sf.jradius.packet.attribute.value
Class DateValue

java.lang.Object
  extended by net.sf.jradius.packet.attribute.value.AttributeValue
      extended by net.sf.jradius.packet.attribute.value.IntegerValue
          extended by net.sf.jradius.packet.attribute.value.DateValue
All Implemented Interfaces:
java.io.Serializable

public class DateValue
extends IntegerValue

The Date attribute value

Author:
David Bird
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.jradius.packet.attribute.value.IntegerValue
integerValue
 
Constructor Summary
DateValue()
           
DateValue(java.util.Date d)
           
 
Method Summary
 void getBytes(java.io.OutputStream out)
           
 java.io.Serializable getValueObject()
           
 void setDate(java.util.Date newDate)
           
 void setValue(byte[] b)
           
 void setValueObject(java.io.Serializable o)
           
 java.lang.String toString()
           
 java.lang.String toXMLString()
           
 
Methods inherited from class net.sf.jradius.packet.attribute.value.IntegerValue
getLength, getValue, isValid, setLong, setValue, setValue
 
Methods inherited from class net.sf.jradius.packet.attribute.value.AttributeValue
getBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateValue

public DateValue()

DateValue

public DateValue(java.util.Date d)
Method Detail

getBytes

public void getBytes(java.io.OutputStream out)
              throws java.io.IOException
Overrides:
getBytes in class IntegerValue
Throws:
java.io.IOException

setValue

public void setValue(byte[] b)
Overrides:
setValue in class IntegerValue

toString

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

toXMLString

public java.lang.String toXMLString()
Overrides:
toXMLString in class IntegerValue

setDate

public void setDate(java.util.Date newDate)

getValueObject

public java.io.Serializable getValueObject()
Overrides:
getValueObject in class IntegerValue

setValueObject

public void setValueObject(java.io.Serializable o)
Overrides:
setValueObject in class IntegerValue


Copyright © 2006 The JRadius Project, All Rights Reserved.